Table
InventItemGTIN
Item - GTIN
Stores Global Trade Item Numbers (GTIN) for items. Each row is identified by the item, the inventory dimension and the unit. It also holds the GTIN code type.
- Table name
InventItemGTIN- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
ItemIdx- Replacement key
ItemIdx- Key fields
itemId, inventDimId, UnitId- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
itemIdThe item the GTIN belongs to. | String (20)ItemId | Yes | InventTable.ItemId | None |
inventDimIdThe inventory dimension number the GTIN applies to. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
UnitIdThe unit the GTIN is set for. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
descriptionA short text description of the GTIN entry. | String (60)Description | No | None | |
GlobalTradeItemNumberThe GTIN value, up to 14 characters. | String (14)GlobalTradeItemNumber | Yes | None | |
GTINSetupThe GTIN code type: EAN/UCC-8, UCC-12, EAN/UCC-13 or EAN/UCC-14. | EnumGTINSetup (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
ItemIdxPrimary indexReplacement keyUnique, alternate key.
GlobalTradeItemNumberIdxUnique, alternate key.
Relations (3)
Each relation joins InventItemGTIN to another table on the fields shown.
InventDim→InventDimJoin on
inventDimId = InventDim.inventDimIdMany InventItemGTIN records → exactly one InventDim record
InventTable→InventTableJoin on
itemId = InventTable.ItemIdMany InventItemGTIN records → exactly one InventTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany InventItemGTIN records → exactly one UnitOfMeasure record
Get this data out
No public entity reads from InventItemGTIN. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventItemGTIN in a report, an integration or a migration? Talk to Dr Dynamics.