Table

PurchCostTransTmp Temporary

Purchase cost transactions

Purpose not clear from the metadata.

Table name
PurchCostTransTmp
Module
Cross-module and platform
Table group
Miscellaneous
Table type
InMemory
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CalcTypeNo descriptionEnum
ItemCalcType (enum)
NoNone
CostAmountNo descriptionReal
AmountMST
NoNone
CostGroupIdNo descriptionString
CostGroupId
NoBOMCostGroup.CostGroupIdNone
CostMarkupNo descriptionReal
BOMCalcCostMarkup
NoNone
DateNo descriptionDate
TransDate
NoNone
InventDimIdNo descriptionString (20)
InventDimId
NoInventDim.inventDimIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchIdNo descriptionString (20)
PurchId
NoPurchTable.PurchIdNone
QtyNo descriptionReal
ProductQuantity
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
ResourceNo descriptionString (30)
BOMCalcResource
NoInventTable.ItemIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendInvoiceTransNo descriptionInt64
RefRecId
NoNone
VendPackingSlipTransNo descriptionInt64
RefRecId
NoNone

Relations (4)

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

  • BOMCostGroup → BOMCostGroup

    Join on CostGroupId = BOMCostGroup.CostGroupId

    Many PurchCostTransTmp records → zero or one BOMCostGroup record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PurchCostTransTmp records → zero or one InventDim record

  • InventTable → InventTable

    Join on CalcType = ItemCalcType::Purchase, Resource = InventTable.ItemId

    Many PurchCostTransTmp records → zero or one InventTable record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many PurchCostTransTmp records → zero or one PurchTable record

Get this data out

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

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

Email sales@drdynamics.co.uk