Table

RetailImportTable

Imported files

Records of files imported from vendors, keyed by imported file ID and vendor account. Each record has the file name, file type, the import journal and purchase order created from it, and the status in each.

Table name
RetailImportTable
Module
Commerce
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
ImportedFileIdx
Replacement key
ImportedFileIdx
Key fields
importedFileId, VendAccount
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
importedFileIdUnique ID of the imported file.String
RetailImportedFileId
YesNone
VendAccountVendor account the file came from. Points to a vendor.String (20)
VendAccount
YesVendTable.AccountNumNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FilenameName of the imported file.String (259)
Filename
NoNone
fileTypeType of file: product import, purchase order, or both.Enum
RetailFileType
RetailFileTypeBase (enum)
NoNone
JournalIdImport journal linked to the file. Points to an import journal.String (20)
RetailImportJournalId
NoRetailImportJournalTable.journalIdNone
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
PurchIdPurchase order linked to the file. Points to a purchase order.String (20)
PurchId
NoPurchTable.PurchIdNone
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
statusInItemImportJournalStatus of the file in the product import journal: in journal, deleted or posted.Enum
RetailStatusInItemImportJournal
RetailStatusInItemImportJournalBase (enum)
NoNone
statusInPurchaseOrderStatus of the file in the purchase order: in order, deleted or posted.Enum
RetailStatusInPurchaseOrder
RetailStatusInPurchaseOrderBase (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many RetailImportTable records → exactly one PurchTable record

  • RetailImportJournalTable → RetailImportJournalTable

    Join on JournalId = RetailImportJournalTable.journalId

    Many RetailImportTable records → exactly one RetailImportJournalTable record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many RetailImportTable records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk