Retrieves an item model group for an item.
Syntax
client server public static InventModelGroup modelGroupByItemIdLegalEntity(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.
Return Value
Type: InventModelGroup Table
An item model group.
Exceptions
| Exception | Condition |
|---|---|
| Error | The specified item has no item model group assigned to it. |