Table

RetailLastInventTrans

Last inventory transaction

Links an item and an inventory dimension combination to one inventory transaction, named as the last one. It has no defined key. All three fields are system record IDs that point to other tables.

Table name
RetailLastInventTrans
Module
Inventory management
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventDimRecIdSystem record ID of the inventory dimension combination.Int64
RefRecId
NoInventDim.RecIdNone
ItemRecIdSystem record ID of the item.Int64
RefRecId
NoInventTable.RecIdNone
LastInventTransSystem record ID of the inventory transaction recorded as the last one.Int64
RefRecId
NoInventTrans.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • InventDim → InventDim

    Join on InventDimRecId = InventDim.RecId

    Many RetailLastInventTrans records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemRecId = InventTable.RecId

    Many RetailLastInventTrans records → exactly one InventTable record

  • InventTrans → InventTrans

    Join on LastInventTrans = InventTrans.RecId

    Many RetailLastInventTrans records → zero or one InventTrans record

Get this data out

No public entity reads from RetailLastInventTrans. Its data is only reachable through the application, a custom entity or a database export.

Need help with RetailLastInventTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk