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