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 descriptionType / EDT / enumMandatoryReferencesIn public entities
itemIdThe item the GTIN belongs to.String (20)
ItemId
YesInventTable.ItemIdNone
inventDimIdThe inventory dimension number the GTIN applies to.String (20)
InventDimId
YesInventDim.inventDimIdNone
UnitIdThe unit the GTIN is set for.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
descriptionA short text description of the GTIN entry.String (60)
Description
NoNone
GlobalTradeItemNumberThe GTIN value, up to 14 characters.String (14)
GlobalTradeItemNumber
YesNone
GTINSetupThe GTIN code type: EAN/UCC-8, UCC-12, EAN/UCC-13 or EAN/UCC-14.Enum
GTINSetup (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

Each relation joins InventItemGTIN to another table on the fields shown.

  • InventDim → InventDim

    Join on inventDimId = InventDim.inventDimId

    Many InventItemGTIN records → exactly one InventDim record

  • InventTable → InventTable

    Join on itemId = InventTable.ItemId

    Many InventItemGTIN records → exactly one InventTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many 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.

Email sales@drdynamics.co.uk