Table

ConsignmentDraftReplenishmentOrderJournalLine

Replenishment order lines - update table

Temporary line for a draft consignment product receipt. It is keyed by parameter ID and line number. It links to the draft header, the consignment replenishment order and its line, the item and the inventory dimensions. It holds quantities to receive, remaining quantities and vendor batch details.

Table name
ConsignmentDraftReplenishmentOrderJournalLine
Module
Procurement and sourcing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
ConsignmentInbound
Primary index
ParmIdLineNumberIdx
Replacement key
ParmIdLineNumberIdx
Key fields
ParmId, ReplenishmentOrderLineNumber
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdParameter ID linking the line to its draft journal header.String (20)
ParmId
YesConsignmentDraftReplenishmentOrderJournalHeader.ParmIdNone
ReplenishmentOrderLineNumberLine number of the replenishment order line.Int64
TradeLineNumber
YesNone
ClosedYes/No choice to close the line for further receipt.Enum
ConsignmentProductReceiptClosed
NoYes (enum)
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
DocumentStatusType of document the record relates to, such as purchase order, packing slip or invoice.Enum
DocumentStatus (enum)
NoNone
InventDimIdPoints to the inventory dimension combination for the line.String (20)
InventDimId
YesInventDim.inventDimIdNone
InventTransIdLot ID that ties the line to its inventory transactions.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdNone
ItemIdItem number, linked to the item record.String (20)
ItemIdSmall
YesInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCountryOfOrigin1First country or region of origin for the goods.String
PdsCountryOfOrigin1
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsCountryOfOrigin2Second country or region of origin for the goods.String
PdsCountryOfOrigin2
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PdsUseVendBatchDateYes/No choice to use the vendor batch date as the manufacturing date.Enum
PdsUseVendBatchDate
NoYes (enum)
NoNone
PdsUseVendBatchExpYes/No choice to use the vendor expiry date as the expiration date.Enum
PdsUseVendBatchExp
NoYes (enum)
NoNone
PdsVendBatchDateBatch date given by the vendor.Date
PdsVendBatchDate
NoNone
PdsVendBatchIdBatch number given by the vendor.String (20)
PdsVendBatchId
NoNone
PdsVendExpiryDateExpiry date given by the vendor.Date
PdsVendExpiryDate
NoNone
ReceiveInventoryQuantityNowQuantity to receive now, in inventory units.Real
ConsignmentInventoryQuantityReceiveNow
NoNone
ReceiveReplenishmentQuantityNowQuantity to receive now, in the replenishment unit.Real
ConsignmentReplenishmentQuantityReceiveNow
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
RemainingInventoryQuantityAfterInventory quantity that would remain to be delivered after this update.Real
ConsignmentRemainingInventoryPhysicalQuantity
NoNone
RemainingReplenishmentQuantityAfterReplenishment quantity that would remain to be delivered after this update.Real
ConsignmentRemainingReplenishmentPhysicalQuantity
NoNone
ReplenishmentOrderLinePoints to the consignment replenishment order line by system record ID.Int64
ConsignmentReplenishmentOrderLineRecId
YesConsignmentReplenishmentOrderLine.RecIdNone
ReplenishmentOrderNumberNumber of the consignment replenishment order.String (20)
ConsignmentReplenishmentOrderNumber
YesConsignmentReplenishmentOrderHeader.ReplenishmentOrderNumberNone
ReplenishmentQuantityQuantity on the replenishment order line.Real
ConsignmentReplenishmentQuantity
NoNone
ReplenishmentUnitIdUnit of measure used for the replenishment quantity.String
UnitOfMeasureSymbol
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (8)

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

  • ConsignmentDraftReplenishmentOrderJournalHeader → ConsignmentDraftReplenishmentOrderJournalHeader

    Join on ParmId = ConsignmentDraftReplenishmentOrderJournalHeader.ParmId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → exactly one ConsignmentDraftReplenishmentOrderJournalHeader record

  • ConsignmentReplenishmentOrderHeader → ConsignmentReplenishmentOrderHeader

    Join on ReplenishmentOrderNumber = ConsignmentReplenishmentOrderHeader.ReplenishmentOrderNumber

    Many ConsignmentDraftReplenishmentOrderJournalLine records → exactly one ConsignmentReplenishmentOrderHeader record

  • ConsignmentReplenishmentOrderLine → ConsignmentReplenishmentOrderLine

    Join on ReplenishmentOrderLine = ConsignmentReplenishmentOrderLine.RecId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → exactly one ConsignmentReplenishmentOrderLine record

  • Item → InventTable

    Join on ItemId = InventTable.ItemId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → exactly one InventTable record

  • InventoryDimension → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → exactly one InventDim record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → zero or one InventTransOrigin record

  • PdsCountryOfOrigin1 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin1 = LogisticsAddressCountryRegion.CountryRegionId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → zero or one LogisticsAddressCountryRegion record

  • PdsCountryOfOrigin2 → LogisticsAddressCountryRegion

    Join on PdsCountryOfOrigin2 = LogisticsAddressCountryRegion.CountryRegionId

    Many ConsignmentDraftReplenishmentOrderJournalLine records → zero or one LogisticsAddressCountryRegion record

Get this data out

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

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

Email sales@drdynamics.co.uk