Table
RetailImportTrans
Imported transactions
Lines of imported vendor files, keyed by imported file ID, line number and vendor account. Each line holds product details such as colour, size, style, prices, quantity and season. It also holds the status in the product import journal and in the purchase order.
- Table name
RetailImportTrans- Module
Commerce- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
ImportedFileLineIdx- Replacement key
ImportedFileLineIdx- Key fields
importedFileId, lineNum, VendAccount- Model
Foundation
Fields (44)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
importedFileIdID of the imported file the line belongs to. | StringRetailImportedFileId | Yes | None | |
lineNumLine number within the imported file. | RealRetailLineNumEx1 | No | None | |
VendAccountVendor account. Points to a vendor. | String (20)VendAccount | No | 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 | |
fabricCompositionText describing what the fabric is made of. | String (60)RetailFabricComposition | No | None | |
InventColorIdColour of the product. Points to a colour record. | StringRetailColorId | No | EcoResColor.Name | None |
InventColorNameName of the colour. | String (60)Name | No | None | |
InventColorTxtFree text about the colour. | String (-1)InventColorTxt | No | None | |
InventSizeIdSize of the product. Points to a size record. | StringRetailSizeId | No | EcoResSize.Name | None |
InventSizeNameName of the size. | String (60)Name | No | None | |
InventSizeTxtFree text about the size. | String (-1)InventSizeTxt | No | None | |
inventStyleIdStyle of the product. Points to a style record. | StringRetailStyleId | No | EcoResStyle.Name | None |
InventStyleNameName of the style. | String (60)Name | No | None | |
inventStyleTxtFree text about the style. | String (-1)RetailInventStyleTxt | No | None | |
ItemBarCodeBar code of the product. Relates to an item bar code record. | String (80)ItemBarCode | No | None | |
ItemNameName of the product. | String (60)ItemName | No | None | |
JournalIdImport journal linked to the line. Points to an import journal. | String (20)RetailImportJournalId | No | RetailImportJournalTable.journalId | None |
level1NameName at level 1. | String (30)RetailLevelName | No | None | |
level2NameName at level 2. | String (30)RetailLevelName | No | None | |
level3NameName at level 3. | String (30)RetailLevelName | No | None | |
level4NameName at level 4. | String (30)RetailLevelName | 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 | |
PurchIdPurchase order linked to the line. Points to a purchase order. | String (20)PurchId | No | PurchTable.PurchId | None |
PurchPricePurchase price of the product. | RealPurchPrice | No | None | |
purchQtyQuantity to purchase. | RealPurchQty | No | None | |
PurchUnitUnit used when buying the product. | StringPurchUnit | 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 | |
SalesUnitUnit used when selling the product. | StringSalesUnit | No | None | |
seasonCodeSeason of the product. Points to a season record. | StringRetailSeasonCode | No | RetailSeasonTable.seasonCode | None |
statusInItemImportJournalStatus of the line in the product import journal: in journal, deleted or posted. | EnumRetailStatusInItemImportJournalRetailStatusInItemImportJournalBase (enum) | No | None | |
statusInPurchaseOrderStatus of the line in the purchase order: in order, deleted or posted. | EnumRetailStatusInPurchaseOrderRetailStatusInPurchaseOrderBase (enum) | No | None | |
suggestedRetailPriceSuggested retail price of the product. | RealRetailSuggestedRetailPrice | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
unitPriceDateDate linked to the unit price. The exact meaning is not stated.low confidence | DateRetailUnitPriceDate | No | None | |
vendorHirarchyLevel1Vendor hierarchy level 1. | StringRetailVendorHirarchyLevel | No | None | |
vendorHirarchyLevel2Vendor hierarchy level 2. | StringRetailVendorHirarchyLevel | No | None | |
vendorHirarchyLevel3Vendor hierarchy level 3. | StringRetailVendorHirarchyLevel | No | None | |
vendorHirarchyLevel4Vendor hierarchy level 4. | StringRetailVendorHirarchyLevel | No | None | |
VendorItemIdVendor's product number. Points to an item record. | String (20)ItemId | No | InventTable.ItemId | None |
Indexes (1)
ImportedFileLineIdxPrimary indexReplacement keyimportedFileId,lineNum,VendAccountUnique, alternate key.
Relations (10)
Each relation joins RetailImportTrans to another table on the fields shown.
EcoResColor→EcoResColorJoin on
InventColorId = EcoResColor.NameMany RetailImportTrans records → zero or one EcoResColor record
EcoResSize→EcoResSizeJoin on
InventSizeId = EcoResSize.NameMany RetailImportTrans records → zero or one EcoResSize record
EcoResStyle→EcoResStyleJoin on
inventStyleId = EcoResStyle.NameMany RetailImportTrans records → zero or one EcoResStyle record
InventItemBarcode→InventItemBarcodeJoin on
ItemBarCode = InventItemBarcode.itemBarCodeMany RetailImportTrans records → zero or one InventItemBarcode record
InventTable→InventTableJoin on
VendorItemId = InventTable.ItemIdMany RetailImportTrans records → exactly one InventTable record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany RetailImportTrans records → exactly one PurchTable record
RetailImportJournalTable→RetailImportJournalTableJoin on
JournalId = RetailImportJournalTable.journalIdMany RetailImportTrans records → exactly one RetailImportJournalTable record
RetailImportTable→RetailImportTableJoin on
importedFileId = RetailImportTable.importedFileIdMany RetailImportTrans records → zero or one RetailImportTable record
RetailSeasonTable→RetailSeasonTableJoin on
seasonCode = RetailSeasonTable.seasonCodeMany RetailImportTrans records → exactly one RetailSeasonTable record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany RetailImportTrans records → exactly one VendTable record
Get this data out
No public entity reads from RetailImportTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailImportTrans in a report, an integration or a migration? Talk to Dr Dynamics.