InventItemGroupItem::itemGroupId Method
Retrieves an item group ID for an item.
Syntax
client server public static ItemGroupId itemGroupId(ItemId _itemId, DataAreaId _itemDataAreaId)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
An item ID.
- _itemDataAreaId
Type: DataAreaId Extended Data Type
A company ID for an item.
Return Value
Type: ItemGroupId Extended Data Type
An item group ID.
Exceptions
Exception | Condition |
---|---|
Error | The specified item has no item group assigned. |