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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementReferenceNotesFree-text note about the agreement reference. | String (-1)Notes | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCodeCurrency code of the purchase order, pointing to a currency record. | String (3)VendCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryDateDate on which the line is requested to be received. | DatePurchLineRequestedReceiptDate | No | None | |
DiscAmountDiscount amount for the line. | RealPurchDiscAmount | No | None | |
DiscPercentDiscount given as a percentage. | RealPurchDiscPercent | No | None | |
ExternalItemNumItem number used by the vendor or another outside party. | String (20)ExternalItemId | No | None | |
InventDimQtyPrintFree text shown with the quantity on the printout.low confidence | String (-1)FreeTxt | No | None | |
InventDimStrText that lists the inventory dimension values of the line. | String (255)InventDimPrint | No | None | |
IsUpdatedYes/No flag that shows whether the row is marked as updated.low confidence | EnumIsUpdatedNoYes (enum) | No | None | |
ItemIdItem number, pointing to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
JournalRecIdSystem record ID of the related purchase order confirmation journal. | Int64RefRecId | No | VendPurchOrderJour.RecId | None |
LineAmountLine amount in the transaction currency. | RealAmountCur | No | None | |
MCRDropShipCommentComment about drop shipment for the line. | String (250)MCRDropShipComment | No | None | |
NameFree text description of the item on the line. | String (1000)ItemFreeTxt | No | None | |
NotesTransNote text for the line. | String (-1)Notes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
pdsCWQtyQuantity in the catch weight unit. | RealPdsCWInventQty | No | None | |
pdsCWUnitIdCatch weight unit, pointing to a unit of measure. | StringPdsCWUnitId | No | UnitOfMeasure.Symbol | None |
PrintCodePrint code linked to sales tax.low confidence | StringTaxWriteCode | No | None | |
PurchaseLineLineNumberLine number of the purchase order line. | Int64TradeLineNumber | No | None | |
PurchLineInventTransIdLot ID that links the row to a purchase order line. | String (20)TradeInventTransId | No | PurchLine.InventTransId | None |
PurchOrderTransOrTaxTransYes/No flag with no label; its purpose is not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
PurchPricePurchase price of the item. | RealPurchPrice | No | None | |
PurchUnitTxtPurchase unit shown as text, pointing to a unit of measure. | StringUnitOfMeasureReportingText | No | UnitOfMeasure.Symbol | None |
QtyOrdered quantity. | RealPurchOrderedQty | No | None | |
QuoteNumberReference number of the quotation. | String (20)PurchQuoteNumber | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RequestedShipDateDate on which the line is requested to be shipped. | DatePurchRequestedShipDate | No | None | |
RFQIdIdentifier of the request for quotation. | String (20)PurchRFQIdBase | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountSales tax amount in the transaction currency. | RealTaxAmountCur | No | None | |
TaxAmountMSTSales tax amount in the accounting currency. | RealTaxAmount | No | None | |
TaxBaseAmountAmount the sales tax is based on, in the transaction currency. | RealTaxBaseCur | No | None | |
TaxBaseAmountMSTAmount the sales tax is based on, in the accounting currency. | RealTaxBase | No | None | |
TaxBaseQtyQuantity the sales tax is based on. | RealTaxQty | No | None | |
TaxCodeSales tax code, pointing to a sales tax code record. | StringTaxCode | No | TaxTable.TaxCode | None |
TaxExemptDescriptionShort description for a tax exemption. | String (60)Description | No | None | |
TaxWriteCodePrint code linked to sales tax.low confidence | StringTaxWriteCode | No | None |
Indexes (2)
JournalRecIdNot unique.
CreatedTransactionIdUnique.
Relations (7)
Each relation joins PurchPurchaseOrderTmp to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchPurchaseOrderTmp records → zero or one Currency record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PurchPurchaseOrderTmp records → zero or one InventTable record
pdsCWUnitOfMeasure→UnitOfMeasureJoin on
pdsCWUnitId = UnitOfMeasure.SymbolMany PurchPurchaseOrderTmp records → zero or one UnitOfMeasure record
PurchUnitOfMeasure→UnitOfMeasureJoin on
PurchUnitTxt = UnitOfMeasure.SymbolMany PurchPurchaseOrderTmp records → zero or one UnitOfMeasure record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany PurchPurchaseOrderTmp records → zero or one TaxTable record
VendPurchOrderJour→VendPurchOrderJourJoin on
JournalRecId = VendPurchOrderJour.RecIdMany PurchPurchaseOrderTmp records → zero or one VendPurchOrderJour record
PurchLine→PurchLineJoin on
PurchLineInventTransId = PurchLine.InventTransIdMany 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.