Table

ProdWIPHistoricalCostTable_RU

History of production orders costing

Holds the history of costing entries for production orders, used for Russia. Each record belongs to a production order and has a date and voucher. It shows whether the entry came from the production or from a by-product. It links to the production order, the item and the by-product transaction.

Table name
ProdWIPHistoricalCostTable_RU
Module
Production
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Prod
Primary index
ProdIdDateVoucherIdx
Replacement key
None
Key fields
ProdId, TransDate, Voucher, RecId
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProdIdProduction order the entry belongs to.String (20)
ProdId
YesProdTable.ProdIdNone
TransDateDate of the transaction.Date
TransDate
YesNone
VoucherVoucher number of the entry.String (20)
Voucher
YesNone
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
CanBeCancelledYes/No flag showing whether the entry may be cancelled.Enum
NoYesId
NoYes (enum)
NoNone
CancelledYes/No flag showing whether the entry has been cancelled.Enum
Cancelled
NoYes (enum)
NoNone
CostAmountCost amount of the entry; currency not stated in the metadata.Real
CostAmount
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
DateFinancialFinancial date of the entry.Date
DateFinancial
NoNone
DifferenceAmountDifference amount linked to the entry; currency not stated in the metadata.low confidenceReal
Amount
NoNone
EndJobYes/No flag for the end-job setting on the production order entry.low confidenceEnum
ProdEndJob
NoYes (enum)
NoNone
ItemIdItem number, pointing to the item record.String (20)
ItemId
NoInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedFromInventClosingYes/No flag showing whether the entry comes from inventory closing.Enum
NoYesId
NoYes (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReleaseRefRecIdPoints to the by-product transaction record linked to this entry.Int64
RefRecId
NoProdReleaseTrans_RU.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VoucherFinancialFinancial voucher number of the entry.String (20)
Voucher
NoNone
WIPHistoricalTransTypeSource of the costing entry: Production or By-product.Enum
ProdWIPHistoricalTransType_RU (enum)
NoNone

Indexes (1)

Relations (3)

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

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many ProdWIPHistoricalCostTable_RU records → exactly one InventTable record

  • ProdReleaseTrans → ProdReleaseTrans_RU

    Join on ReleaseRefRecId = ProdReleaseTrans_RU.RecId

    Many ProdWIPHistoricalCostTable_RU records → zero or one ProdReleaseTrans_RU record

  • ProdTable → ProdTable

    Join on ProdId = ProdTable.ProdId

    One or more ProdWIPHistoricalCostTable_RU records → exactly one ProdTable record

Get this data out

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

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

Email sales@drdynamics.co.uk