Table

RetailImportJournalTrans

Imported transactions

Lines of an import journal, keyed by journal ID and line number. Each line holds imported product data, such as names, colour, size, style, prices, season and vendor hierarchy. It also has status and flags for new products, variants and bar codes.

Table name
RetailImportJournalTrans
Module
Commerce
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
JournalIdx
Replacement key
JournalIdx
Key fields
JournalId, lineNum
Model
Foundation

Fields (50)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdImport journal the line belongs to.String (20)
RetailImportJournalId
NoRetailImportJournalTable.journalIdNone
lineNumLine number within the journal.Real
RetailLineNumEx1
NoNone
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
errorYes/no flag showing that the line has an error.Enum
RetailLineError
NoYes (enum)
NoNone
fabricCompositionText describing what the fabric is made of.String (60)
RetailFabricComposition
NoNone
importedFileIdID of the imported file the line came from.String
RetailImportedFileId
NoNone
InventColorIdColour code of the product.String
EcoResItemColorName
NoNone
InventColorNameName of the colour.String (60)
Name
NoNone
InventColorTxtFree text about the colour.String (-1)
InventColorTxt
NoNone
InventSizeIdSize code of the product.String
EcoResItemSizeName
NoNone
InventSizeNameName of the size.String (60)
Name
NoNone
InventSizeTxtFree text about the size.String (-1)
InventSizeTxt
NoNone
inventStyleIdStyle code of the product.String
EcoResItemStyleName
NoNone
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
ItemIdItem number. Points to an item record.String (20)
ItemId
NoInventTable.ItemIdNone
ItemNameName of the product.String (60)
ItemName
NoNone
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
newBarcodeYes/no flag for a new bar code.Enum
RetailNewBarcode
NoYes (enum)
NoNone
newItemNumberYes/no flag for a new product number.Enum
RetailNewItemNumber
NoYes (enum)
NoNone
newVariantYes/no flag for a new variant.Enum
RetailNewVariant
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
priceCalculationTypeWay the price is worked out, such as price point lookup, price factor or manual.Enum
RetailPriceCalculationType
RetailPriceCalculationTypeBase (enum)
NoNone
PriceChangeWhich prices change: none, both, purchase or sales.Enum
RetailPriceChangeEx1
RetailPriceChangeBase (enum)
NoNone
PurchPricePurchase price of the product.Real
PurchPrice
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
SalesPriceSales price of the product.Real
SalesPrice
NoNone
SalesUnitUnit used when selling the product.String
SalesUnit
NoNone
seasonCodeSeason of the product. Points to a season record.String
RetailSeasonCode
NoRetailSeasonTable.seasonCodeNone
StatusLine status: none, to post or posted.Enum
RetailJournalTransStatusBase (enum)
NoNone
suggestedRetailPriceSuggested retail price of the product.Real
RetailSuggestedRetailPrice
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
unitPriceDateDate the unit price applies from or was set. The exact meaning is not stated.low confidenceDate
RetailUnitPriceDate
NoNone
VendAccountVendor account. Points to a vendor.String (20)
VendAccount
NoVendTable.AccountNumNone
VendAccount1Vendor account. Points to a vendor.String (20)
VendAccount
NoVendTable.AccountNumNone
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 (8)

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

  • InventItemBarcode → InventItemBarcode

    Join on ItemBarCode = InventItemBarcode.itemBarCode

    Many RetailImportJournalTrans records → zero or one InventItemBarcode record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many RetailImportJournalTrans records → exactly one InventTable record

  • InventTable1 → InventTable

    Join on VendorItemId = InventTable.ItemId

    Many RetailImportJournalTrans records → exactly one InventTable record

  • RetailImportJournalTable → RetailImportJournalTable

    Join on JournalId = RetailImportJournalTable.journalId

    Many RetailImportJournalTrans records → exactly one RetailImportJournalTable record

  • RetailImportTable → RetailImportTable

    Join on importedFileId = RetailImportTable.importedFileId

    Many RetailImportJournalTrans records → zero or one RetailImportTable record

  • RetailSeasonTable → RetailSeasonTable

    Join on seasonCode = RetailSeasonTable.seasonCode

    Many RetailImportJournalTrans records → exactly one RetailSeasonTable record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many RetailImportJournalTrans records → exactly one VendTable record

  • VendTable1 → VendTable

    Join on VendAccount1 = VendTable.AccountNum

    Many RetailImportJournalTrans records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk