Table

PurchPurchaseOrderTmp

Show purchase order

Temporary working table with the data for a purchase order printout. It has no key. Each row combines purchase order line details (item, quantity, price, discount, delivery dates) with sales tax amounts and notes. It links to a purchase order confirmation journal and to the purchase order line.

Table name
PurchPurchaseOrderTmp
Module
Procurement and sourcing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementReferenceNotesFree-text note about the agreement reference.String (-1)
Notes
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCodeCurrency code of the purchase order, pointing to a currency record.String (3)
VendCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryDateDate on which the line is requested to be received.Date
PurchLineRequestedReceiptDate
NoNone
DiscAmountDiscount amount for the line.Real
PurchDiscAmount
NoNone
DiscPercentDiscount given as a percentage.Real
PurchDiscPercent
NoNone
ExternalItemNumItem number used by the vendor or another outside party.String (20)
ExternalItemId
NoNone
InventDimQtyPrintFree text shown with the quantity on the printout.low confidenceString (-1)
FreeTxt
NoNone
InventDimStrText that lists the inventory dimension values of the line.String (255)
InventDimPrint
NoNone
IsUpdatedYes/No flag that shows whether the row is marked as updated.low confidenceEnum
IsUpdated
NoYes (enum)
NoNone
ItemIdItem number, pointing to the item record.String (20)
ItemId
NoInventTable.ItemIdNone
JournalRecIdSystem record ID of the related purchase order confirmation journal.Int64
RefRecId
NoVendPurchOrderJour.RecIdNone
LineAmountLine amount in the transaction currency.Real
AmountCur
NoNone
MCRDropShipCommentComment about drop shipment for the line.String (250)
MCRDropShipComment
NoNone
NameFree text description of the item on the line.String (1000)
ItemFreeTxt
NoNone
NotesTransNote text for the line.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
pdsCWQtyQuantity in the catch weight unit.Real
PdsCWInventQty
NoNone
pdsCWUnitIdCatch weight unit, pointing to a unit of measure.String
PdsCWUnitId
NoUnitOfMeasure.SymbolNone
PrintCodePrint code linked to sales tax.low confidenceString
TaxWriteCode
NoNone
PurchaseLineLineNumberLine number of the purchase order line.Int64
TradeLineNumber
NoNone
PurchLineInventTransIdLot ID that links the row to a purchase order line.String (20)
TradeInventTransId
NoPurchLine.InventTransIdNone
PurchOrderTransOrTaxTransYes/No flag with no label; its purpose is not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
PurchPricePurchase price of the item.Real
PurchPrice
NoNone
PurchUnitTxtPurchase unit shown as text, pointing to a unit of measure.String
UnitOfMeasureReportingText
NoUnitOfMeasure.SymbolNone
QtyOrdered quantity.Real
PurchOrderedQty
NoNone
QuoteNumberReference number of the quotation.String (20)
PurchQuoteNumber
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
RequestedShipDateDate on which the line is requested to be shipped.Date
PurchRequestedShipDate
NoNone
RFQIdIdentifier of the request for quotation.String (20)
PurchRFQIdBase
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount in the transaction currency.Real
TaxAmountCur
NoNone
TaxAmountMSTSales tax amount in the accounting currency.Real
TaxAmount
NoNone
TaxBaseAmountAmount the sales tax is based on, in the transaction currency.Real
TaxBaseCur
NoNone
TaxBaseAmountMSTAmount the sales tax is based on, in the accounting currency.Real
TaxBase
NoNone
TaxBaseQtyQuantity the sales tax is based on.Real
TaxQty
NoNone
TaxCodeSales tax code, pointing to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodeNone
TaxExemptDescriptionShort description for a tax exemption.String (60)
Description
NoNone
TaxWriteCodePrint code linked to sales tax.low confidenceString
TaxWriteCode
NoNone

Indexes (2)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchPurchaseOrderTmp records → zero or one Currency record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PurchPurchaseOrderTmp records → zero or one InventTable record

  • pdsCWUnitOfMeasure → UnitOfMeasure

    Join on pdsCWUnitId = UnitOfMeasure.Symbol

    Many PurchPurchaseOrderTmp records → zero or one UnitOfMeasure record

  • PurchUnitOfMeasure → UnitOfMeasure

    Join on PurchUnitTxt = UnitOfMeasure.Symbol

    Many PurchPurchaseOrderTmp records → zero or one UnitOfMeasure record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many PurchPurchaseOrderTmp records → zero or one TaxTable record

  • VendPurchOrderJour → VendPurchOrderJour

    Join on JournalRecId = VendPurchOrderJour.RecId

    Many PurchPurchaseOrderTmp records → zero or one VendPurchOrderJour record

  • PurchLine → PurchLine

    Join on PurchLineInventTransId = PurchLine.InventTransId

    Many PurchPurchaseOrderTmp records → zero or one PurchLine record

Get this data out

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

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

Email sales@drdynamics.co.uk