MGCLatticeItemModelGroupAssignmentEntity
The MGCLatticeItemModelGroupAssignmentEntity exposes the assignment of an item to an inventory model group from the global InventModelGroupItem table. It is a writable reference/config entity keyed by item and item legal entity. Because InventModelGroupItem is a cross-company (SaveDataPerCompany=No) table, the company context is derived from the table's own ItemDataAreaId field rather than an implicit DataAreaId system field.
- Public collection name:
LatticeItemModelGroupAssignments
- Primary key:
ItemNumber, ItemDataAreaId
Fields
| Name | Type | Mandatory | Description |
|---|
ItemNumber | ItemId | Yes | |
ItemDataAreaId | DataAreaId | Yes | |
ModelGroupId | InventModelGroupId | No | |
ModelGroupDataAreaId | DataAreaId | No | |
Mappings
| Entity field | Data source | Field |
|---|
ItemNumber | InventModelGroupItem | ItemId |
ItemDataAreaId | InventModelGroupItem | ItemDataAreaId |
ModelGroupId | InventModelGroupItem | ModelGroupId |
ModelGroupDataAreaId | InventModelGroupItem | ModelGroupDataAreaId |