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 descriptionType / EDT / enumMandatoryReferencesIn public entities
importedFileIdID of the imported file the line belongs to.String
RetailImportedFileId
YesNone
lineNumLine number within the imported file.Real
RetailLineNumEx1
NoNone
VendAccountVendor account. Points to a vendor.String (20)
VendAccount
NoVendTable.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
fabricCompositionText describing what the fabric is made of.String (60)
RetailFabricComposition
NoNone
InventColorIdColour of the product. Points to a colour record.String
RetailColorId
NoEcoResColor.NameNone
InventColorNameName of the colour.String (60)
Name
NoNone
InventColorTxtFree text about the colour.String (-1)
InventColorTxt
NoNone
InventSizeIdSize of the product. Points to a size record.String
RetailSizeId
NoEcoResSize.NameNone
InventSizeNameName of the size.String (60)
Name
NoNone
InventSizeTxtFree text about the size.String (-1)
InventSizeTxt
NoNone
inventStyleIdStyle of the product. Points to a style record.String
RetailStyleId
NoEcoResStyle.NameNone
InventStyleNameName of the style.String (60)
Name
NoNone
inventStyleTxtFree text about the style.String (-1)
RetailInventStyleTxt
NoNone
ItemBarCodeBar code of the product. Relates to an item bar code record.String (80)
ItemBarCode
NoNone
ItemNameName of the product.String (60)
ItemName
NoNone
JournalIdImport journal linked to the line. Points to an import journal.String (20)
RetailImportJournalId
NoRetailImportJournalTable.journalIdNone
level1NameName at level 1.String (30)
RetailLevelName
NoNone
level2NameName at level 2.String (30)
RetailLevelName
NoNone
level3NameName at level 3.String (30)
RetailLevelName
NoNone
level4NameName at level 4.String (30)
RetailLevelName
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
PurchIdPurchase order linked to the line. Points to a purchase order.String (20)
PurchId
NoPurchTable.PurchIdNone
PurchPricePurchase price of the product.Real
PurchPrice
NoNone
purchQtyQuantity to purchase.Real
PurchQty
NoNone
PurchUnitUnit used when buying the product.String
PurchUnit
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
SalesUnitUnit used when selling the product.String
SalesUnit
NoNone
seasonCodeSeason of the product. Points to a season record.String
RetailSeasonCode
NoRetailSeasonTable.seasonCodeNone
statusInItemImportJournalStatus of the line in the product import journal: in journal, deleted or posted.Enum
RetailStatusInItemImportJournal
RetailStatusInItemImportJournalBase (enum)
NoNone
statusInPurchaseOrderStatus of the line in the purchase order: in order, deleted or posted.Enum
RetailStatusInPurchaseOrder
RetailStatusInPurchaseOrderBase (enum)
NoNone
suggestedRetailPriceSuggested retail price of the product.Real
RetailSuggestedRetailPrice
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
unitPriceDateDate linked to the unit price. The exact meaning is not stated.low confidenceDate
RetailUnitPriceDate
NoNone
vendorHirarchyLevel1Vendor hierarchy level 1.String
RetailVendorHirarchyLevel
NoNone
vendorHirarchyLevel2Vendor hierarchy level 2.String
RetailVendorHirarchyLevel
NoNone
vendorHirarchyLevel3Vendor hierarchy level 3.String
RetailVendorHirarchyLevel
NoNone
vendorHirarchyLevel4Vendor hierarchy level 4.String
RetailVendorHirarchyLevel
NoNone
VendorItemIdVendor's product number. Points to an item record.String (20)
ItemId
NoInventTable.ItemIdNone

Indexes (1)

Relations (10)

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

  • EcoResColor → EcoResColor

    Join on InventColorId = EcoResColor.Name

    Many RetailImportTrans records → zero or one EcoResColor record

  • EcoResSize → EcoResSize

    Join on InventSizeId = EcoResSize.Name

    Many RetailImportTrans records → zero or one EcoResSize record

  • EcoResStyle → EcoResStyle

    Join on inventStyleId = EcoResStyle.Name

    Many RetailImportTrans records → zero or one EcoResStyle record

  • InventItemBarcode → InventItemBarcode

    Join on ItemBarCode = InventItemBarcode.itemBarCode

    Many RetailImportTrans records → zero or one InventItemBarcode record

  • InventTable → InventTable

    Join on VendorItemId = InventTable.ItemId

    Many RetailImportTrans records → exactly one InventTable record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many RetailImportTrans records → exactly one PurchTable record

  • RetailImportJournalTable → RetailImportJournalTable

    Join on JournalId = RetailImportJournalTable.journalId

    Many RetailImportTrans records → exactly one RetailImportJournalTable record

  • RetailImportTable → RetailImportTable

    Join on importedFileId = RetailImportTable.importedFileId

    Many RetailImportTrans records → zero or one RetailImportTable record

  • RetailSeasonTable → RetailSeasonTable

    Join on seasonCode = RetailSeasonTable.seasonCode

    Many RetailImportTrans records → exactly one RetailSeasonTable record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

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

Email sales@drdynamics.co.uk