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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
importedFileIdUnique ID of the imported file. | StringRetailImportedFileId | Yes | None | |
VendAccountVendor account the file came from. Points to a vendor. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FilenameName of the imported file. | String (259)Filename | No | None | |
fileTypeType of file: product import, purchase order, or both. | EnumRetailFileTypeRetailFileTypeBase (enum) | No | None | |
JournalIdImport journal linked to the file. Points to an import journal. | String (20)RetailImportJournalId | No | RetailImportJournalTable.journalId | 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 | |
PurchIdPurchase order linked to the file. Points to a purchase order. | String (20)PurchId | No | PurchTable.PurchId | 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 | |
statusInItemImportJournalStatus of the file in the product import journal: in journal, deleted or posted. | EnumRetailStatusInItemImportJournalRetailStatusInItemImportJournalBase (enum) | No | None | |
statusInPurchaseOrderStatus of the file in the purchase order: in order, deleted or posted. | EnumRetailStatusInPurchaseOrderRetailStatusInPurchaseOrderBase (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ImportedFileIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins RetailImportTable to another table on the fields shown.
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany RetailImportTable records → exactly one PurchTable record
RetailImportJournalTable→RetailImportJournalTableJoin on
JournalId = RetailImportJournalTable.journalIdMany RetailImportTable records → exactly one RetailImportJournalTable record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany 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.