Table

PurchTable

Purchase orders

Holds purchase order headers. Each record is one order, identified by the purchase order number (PurchId). It links to the vendor, currency, delivery and payment terms, dimensions, addresses and the source sales order for intercompany orders. It also carries country-specific and trade fields for several countries.

Table name
PurchTable
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
PurchIdx
Replacement key
PurchIdx
Key fields
PurchId
Model
Foundation

Fields (177)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchIdPurchase order number. It identifies the order.String (20)
PurchIdBase
YesPurchPurchaseOrderHeaderV2EntityProjSubContractPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderEntityand 16 more
AccountingDateAccounting date set on the order.Date
AccountingDate
NoPurchPurchaseOrderHeaderV2EntityProjSubContractPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderEntityand 3 more
AccountingDistributionTemplatePoints to the accounting distribution template used on the order.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
AddressRefRecIdSystem record ID of the record that an address reference points to.Int64
AddressRefRecId
NoPurchTableBiEntityPurchTableCDREntity
AddressRefTableIdID of the table that the address reference belongs to.Integer
AddressRefTableId
NoPurchTableBiEntityPurchTableCDREntity
AutoSummaryModuleTypeShows whether the summary update parameters apply to the vendor or to the purchase order.Enum
ModuleVendPurch (enum)
NoPurchTableBiEntityPurchTableCDREntity
AvailSalesDateRetail sales date held on the order.low confidenceDate
RetailSalesDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
AwaitingWorkflowTotalsCalculationYes or No value showing whether the order is waiting for its totals to be calculated.Enum
NoYesId
NoYes (enum)
NoNone
BankCentralBankPurposeCodeCentral bank payment purpose code, linked to the payment purpose codes table.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodePurchTableBiEntityPurchTableCDREntity
BankCentralBankPurposeTextFree text that describes the central bank purpose.String (210)
BankCentralBankPurposeText
NoPurchTableBiEntityPurchTableCDREntity
BankDocumentTypeType of bank document tied to the order, such as letter of credit, import collection or letter of guarantee.Enum
BankDocumentFacilityNature
BankDocumentType (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
BillToAddressPoints to the location used as the bill-to address.Int64
BillToAddress
NoLogisticsLocation.RecIdPurchTableBiEntityPurchTableCDREntity
CashDiscCash discount code that applies to the order.String
VendCashDiscCode
NoCashDisc.CashDiscCodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
CashDiscPercentCash discount as a percentage.Real
DiscPct
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ChangeRequestRequiredYes or No value showing whether change management is active for the order.Enum
VersioningChangeRequestRequired
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ConfirmedDlvReceipt date that the vendor has confirmed.Date
PurchTableConfirmedReceiptDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ConfirmedDlvEarliestEarliest receipt date that the vendor has confirmed.Date
PurchTableConfirmedReceiptEarliestDate
NoPurchTableBiEntityPurchTableCDREntity
ConfirmedShipDateShip date that the vendor has confirmed.Date
PurchConfirmedShipDate
NoPurchPurchaseOrderHeaderV2Entity
ConfirmingPOPoints to the confirming purchase order record.Int64
ConfirmingPORefRecId
NoConfirmingPO.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ConsTarget_JPYes or No value for the consolidation target, used for Japan.Enum
VendConsTarget_JP
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ContactPersonIdID of the contact person for the order, linked to the contacts table.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ContractNum_SAContract number, used for Saudi Arabia.String (60)
VendContractNumZakat_SA
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
CountyOrigDestCounty of origin or destination, linked to the counties table.String (30)
AddressCountyOrigDest
NoPurchTableBiEntityPurchTableCDREntity
CovStatusStatus number used for the cash flow forecast.Integer
CovStatus
NoPurchTableBiEntityPurchTableCDREntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoPurchTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoPurchTableBiEntityPurchTableCDREntityPurchTableCDREntityand 1 more
CrossDockingDateRetail cross docking date for the order.Date
RetailCrossDockingDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
CurrencyCodeCurrency code of the order.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchApprovalHeaderEntityand 5 more
CXMLOrderEnableYes or No value for sending the purchase order by cXML.Enum
CXMLOrderEnable
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoPurchApprovalHeaderEntityPurchTableBiEntityPurchTableCDREntity
DefaultDimensionPoints to the set of financial dimension values set as default for the order.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity
DeliveryDateReceipt date requested for the order.Date
PurchTableRequestedReceiptDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderAIEntityand 3 more
DeliveryNameName of the delivery location.String (100)
LogisticsDeliveryName
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
DeliveryPostalAddressPoints to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdPurchTableBiEntityPurchTableCDREntity
DeliveryTypeDelivery location type, either none or company.Enum
PurchDlvAddrType
PurchDlvAddr (enum)
NoPurchTableBiEntityPurchTableCDREntity
DiscPercentDiscount percentage for the whole order.Real
PurchEndDiscPct
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
DlvModeCode for the mode of delivery.String
VendDlvModeId
NoDlvMode.CodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
DlvTermCode for the terms of delivery.String
VendDlvTermId
NoDlvTerm.CodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
DocumentStateApproval state of the order, from draft through review to approved, finalized or confirmed.Enum
VersioningDocumentState (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderAIEntityand 3 more
DocumentStatusLatest document type linked to the order, such as purchase order, confirmation, packing slip or invoice.Enum
DocumentStatus (enum)
NoPurchPurchaseOrderHeaderAIEntityPurchTableBiEntityPurchTableCDREntity
EmailEmail address stored on the order.String (80)
EmailBase
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
EndDiscTotal discount group for the vendor, linked to a price group.String
VendEndDiscCode
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
EnterpriseNumberEnterprise number used for tax purposes.String (50)
TaxEnterpriseNumber
NoPurchPurchaseOrderHeaderAIEntityPurchTableBiEntityPurchTableCDREntity
EstablishmentOperating unit linked to the order.Int64
OMOperatingUnitRefRecId
NoNone
ExchangeRateDateAccounting date used for the exchange rate.Date
AccountingDate
NoPurchTableBiEntityPurchTableCDREntity
EXIMPorts_INPoints to an export-import port record, used for India.Int64
EXIMPortRecId_IN
NoEximPorts_IN.RecIdPurchTableBiEntityPurchTableCDREntity
FinalizeClosingDateAccounting date used when the order is finalized.Date
PurchFinalizeClosingDate
NoPurchTableBiEntityPurchTableCDREntity
FinTagPoints to a financial tag.Int64
FinTagRecId
NoFinTag.RecIdNone
FixedDueDateFixed due date set for payment.Date
PurchFixedDueDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
FixedExchRateFixed exchange rate entered for the order.Real
PurchFixedExchRate
NoPurchTableBiEntityPurchTableCDREntity
FreightSlipTypeCall tag type, either none or UPS.Enum
VendFreightSlipType
FreightSlipType (enum)
NoPurchTableBiEntityPurchTableCDREntity
FreightZoneUPS zone for freight.String
VendFreightZoneId
NoPurchTableBiEntityPurchTableCDREntity
FSHAutoCreatedYes or No value showing whether the order was created automatically.Enum
RetailAutoCreatedPurch
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
InclTaxYes or No value showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
IntentLetterId_ITIntent letter number, used for Italy.String
VendIntentLetterId_IT
NoIntentLetter_IT.IntentLetterIdPurchTableBiEntityPurchTableCDREntity
InterCompanyAllowIndirectCreationYes or No value for allowing indirect creation of the intercompany order.Enum
InterCompanyAllowIndirectCreation
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyCompanyIdCompany that holds the related intercompany sales order.String
InterCompanyCompanyId
NoSalesTable.dataAreaIdPurchTableBiEntityPurchTableCDREntity
InterCompanyCustPurchOrderFormNumCustomer requisition number on the intercompany order.String (20)
CustPurchaseOrder
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyDirectDeliveryYes or No value for direct delivery on an intercompany order.Enum
InterCompanyDirectDelivery
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyOrderYes or No value showing whether this is an intercompany order.Enum
InterCompanyVendor
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyOriginShows whether the intercompany order is a source order or derived from another.Enum
InterCompanyOrigin (enum)
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyOriginalCustAccountAccount of the original customer on an intercompany order.String (20)
InterCompanyOriginalCustAccount
NoPurchTableBiEntityPurchTableCDREntity
InterCompanyOriginalSalesIdNumber of the original sales order on an intercompany order.String (20)
InterCompanyOriginalSalesId
NoPurchTableBiEntityPurchTableCDREntity
InterCompanySalesIdNumber of the related intercompany sales order.String (20)
InterCompanySalesId
NoSalesTable.SalesIdPurchTableBiEntityPurchTableCDREntity
IntrastatAddValue_LVIntrastat additional value, used for Latvia.Real
LvIntrastatAddValue
NoPurchTableBiEntityPurchTableCDREntity
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoPurchTableBiEntityPurchTableCDREntity
InventLocationIdWarehouse that the order is for.String
PurchInventLocationId
NoInventLocation.InventLocationIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
InventSiteIdSite that the order is for.String
InventSiteId
NoInventSite.SiteIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
InvoiceAccountVendor account to which the invoice is addressed.String (20)
VendInvoiceAccount
YesVendTable.AccountNumPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderAIEntityand 3 more
InvoiceAutoNumbering_LTYes or No value for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
InvoiceRegister_LTYes or No value for automatic invoice numbering, used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoNone
IsEncumbranceRequiredShows whether an encumbrance is required, with values Unknown, No or Yes.Enum
UnknownNoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
IsIntegrationIntegration type of the order: none, Dataverse, Dynamics 365 Sales or data entity.Enum
TradeIntegrationType (enum)
NoNone
IsModifiedYes or No value showing whether the order has been modified.Enum
VersioningIsModified
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
ItemBuyerGroupIdBuyer group assigned to the order.String
ItemBuyerGroupId
NoInventBuyerGroup.GroupPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ITMAgentAccount of the agent, linked to the vendors table.String (20)
ITMAgent
NoVendTable.AccountNumPurchTableCDREntity
ITMContractNumberContract number for the order.String (30)
ITMContractNumber
NoPurchTableCDREntity
ITMDataEventTypePurpose not clear from the metadata.low confidenceEnum
DataEventType (enum)
NoPurchTableCDREntity
ITMDateShip date of the shipment.Date
ITMDate
NoPurchTableCDREntity
ITMExFactoryDateDate the goods leave the factory.Date
ITMExFactoryDate
NoPurchTableCDREntity
ITMFreightResponsibilityShows who pays the freight difference: factory, buyer or none.Enum
ITMFreightResponsibility (enum)
NoPurchTableCDREntity
ITMFromPortPort the shipment leaves from.String (20)
ITMFromPort
NoITMPortTable.ShipPortIdPurchTableCDREntity
ITMImportCostingVendorYes or No value for an import costing vendor.Enum
ITMImportCostingVendor
NoYes (enum)
NoPurchTableCDREntity
ITMIntoStoreDateDate the goods are due into the store.Date
ITMIntoStoreDate
NoPurchTableCDREntity
ITMMeasurementMeasured quantity of the shipment, used with the measurement unit.Real
ITMMeasurement
NoPurchTableCDREntity
ITMMeasurementUnitUnit of the shipment measurement, such as lbs, CBM, skids, kgs or CBF.Enum
ITMMeasurementUnit (enum)
NoPurchTableCDREntity
ITMmentConfirmationDate on which the vendor confirmed.Date
ITMmentConfirmation
NoPurchTableCDREntity
ITMOverUnderYes or No value for over or under delivery on the order.Enum
NoYes (enum)
NoPurchTableCDREntity
ITMStatusIdVoyage status of the shipment.String (20)
ITMStatusId
NoPurchTableCDREntity
ITMVendAccountAccount of the shipping company, linked to the vendors table.String (20)
ITMVendAccount
NoVendTable.AccountNumPurchTableCDREntity
LanguageIdLanguage code for the order.String (7)
VendLanguageId
YesLanguageTable.LanguageIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
LineDiscLine discount group applied to the vendor, linked to a price group.String
VendLineDiscCode
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ListCodeList code for EU trade reporting, such as triangular trade or production on toll.Enum
ListcodeId
Listcode (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
LocalDeliveryDateRetail local delivery date.Date
RetailLocalDeliveryDate
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ManualEntryChangepolicyPoints to a price discount change policy for manual entries. The label is only 'Dummy'.low confidenceInt64
PriceDiscPolicyManual
NoPriceDiscChangePolicy.RecIdPurchTableBiEntityPurchTableCDREntity
MarkupGroupCharges group applied to the order.String
VendMarkupGroupId
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
MatchingAgreementPoints to the agreement header linked to the order.Int64
AgreementHeaderRecId
NoAgreementHeader.RecIdPurchTableBiEntityPurchTableCDREntity
MCRDropShipmentYes or No value showing whether the order is a direct delivery.Enum
MCRDropShipment
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
MultiLineDiscMultiline discount group, linked to a price group.String
VendMultiLineDiscCode
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
NumberSequenceGroupNumber sequence group used for the order.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
OneTimeSupplierYes or No value showing whether the supplier is a one-time supplier.Enum
OneTimeSupplier
NoYes (enum)
NoPurchPurchaseOrderHeaderAIEntityPurchTableBiEntityPurchTableCDREntity
OneTimeVendorYes or No value showing whether the vendor is a one-time supplier.Enum
OneTimeSupplier
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderAIEntityand 2 more
OrderAccountAccount number of the vendor the order is placed with.String (20)
VendAccount
YesVendTable.AccountNumPurchPurchaseOrderHeaderV2EntityProjSubContractPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderEntityand 6 more
OverrideSalesTaxYes or No value for overriding sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchTableBiEntityPurchTableCDREntity
PackedExtensionsContainer that stores extension data for the record in packed form.Container
SysExtensionSerializerPackedContainer
NoNone
PackingSlipAutoNumbering_LTYes or No value for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes (enum)
NoNone
PackingSlipRegister_LTYes or No value for automatic packing slip numbering, used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTerms of payment for the order.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
PaymentSchedPayment schedule that applies to the order.String (30)
PaymSchedId
NoPaymSched.NamePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PaymModeMethod of payment for the vendor.String
VendPaymMode
NoVendPaymModeTable.PaymModePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
PaymSpecPayment specification linked to the method of payment.String
VendPaymSpec
NoVendPaymModeSpec.SpecificationPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PortIntrastat port linked to the order.String
IntrastatPortId
NoIntrastatPort.PortIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PostingProfileVendor posting profile for the order.String
VendPostingProfile
NoVendLedger.PostingProfilePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PriceGroupIdPrice group of the vendor.String
VendPriceGroup
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ProjIdProject that the order is linked to.String (20)
ProjId
NoProjTable.ProjIdPurchPurchaseOrderHeaderV2EntityProjSubContractPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderEntityand 2 more
ProjSubContractNumberProject subcontract number.String (20)
ProjSubConIdBase
NoProjSubContractPurchaseOrderHeaderEntity
PurchaseOrderHeaderCreationMethodHow the order was created: purchase or consignment.Enum
PurchPurchaseOrderCreationMethod (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PurchaseTypeType of order: journal, purchase order or returned order.Enum
PurchaseType (enum)
NoPurchPurchaseOrderHeaderAIEntityPurchTableBiEntityPurchTableCDREntity
PurchNameName of the vendor.String (60)
PurchName
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchApprovalHeaderEntityand 4 more
PurchOrderFormNumCustomer requisition number on the order.String (20)
CustPurchaseOrder
NoPurchTableBiEntityPurchTableCDREntity
PurchPoolIdPurchase pool the order belongs to.String
PurchPoolId
NoPurchPool.PurchPoolIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
PurchStatusOrder status: open, received, invoiced or cancelled.Enum
PurchStatus (enum)
NoPurchPurchaseOrderHeaderV2EntityProjSubContractPurchaseOrderHeaderEntityPurchPurchaseOrderHeaderEntityand 6 more
ReasonTableRefPoints to a reason reference record.Int64
RefRecId
NoReasonTableRef.RecIdPurchTableBiEntityPurchTableCDREntity
ReceiptDateConfirmedConfirmed receipt date, stored in sales date format.Date
SalesReceiptDateConfirmed
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
NoPurchTableBiEntityPurchTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoPurchTableBiEntity
RentalDocumentTablePoints to the rental document linked to the order.Int64
RentalDocumentTableRecId
NoRentalDocumentTable.RecIdNone
RentalLoadPoints to the load record from which the order came.Int64
RentalLoadRecId
NoRentalLoad.RecIdNone
ReplenishmentLocationWarehouse used as the replenishment location.String
InventLocationId
NoInventLocation.InventLocationIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ReportingCurrencyFixedExchRateExchange rate used for the reporting currency.Real
ReportingCurrencyExchRate
NoPurchTableBiEntityPurchTableCDREntity
ReqAttentionAttention note for the order, up to 255 characters.String (255)
PurchReqAttention
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
RequestedShipDateShip date requested from the vendor.Date
PurchRequestedShipDate
NoPurchPurchaseOrderHeaderV2Entity
RequesterWorker who requested the purchase.Int64
PurchRequester
NoHcmWorker.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
RetailDriverDetailsDriver details for the retail delivery.String (60)
RetailDriverDetails
NoPurchTableBiEntityPurchTableCDREntity
RetailRetailStatusTypeRetail status of the order, such as sent, part receipt or closed.Enum
RetailRetailStatusType
RetailRetailStatusTypeBase (enum)
NoPurchTableBiEntityPurchTableCDREntity
ReturnItemNumReturn merchandise authorisation (RMA) number for a return.String
PurchReturnItemNum
NoPurchTableBiEntityPurchTableCDREntity
ReturnReasonCodeIdCode for the reason the goods are returned.String
ReturnReasonCodeId
NoReturnReasonCode.ReasonCodeIdPurchTableBiEntityPurchTableCDREntity
ReturnReplacementCreatedYes or No value for an up-front replacement on a return.Enum
ReturnReplacementCreated
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
ServiceAddressAddress where a service is provided.String (250)
Addressing
NoPurchTableBiEntityPurchTableCDREntity
ServiceCategoryRetail service category linked to the order.String
RetailServiceCategoryId
NoRetailServiceCategory.ServiceCategoryPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ServiceDateDate of the service.Date
ServiceDate
NoPurchTableBiEntityPurchTableCDREntity
ServiceNameService name, stored in a field that uses the tax number data type.low confidenceString (20)
VATNum
NoPurchTableBiEntityPurchTableCDREntity
SettleVoucherSettlement type: none, open transactions or designated transactions.Enum
PurchSettlementType
SettlementType (enum)
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
ShipCalendarIdShip calendar of the vendor.String
PurchVendorShipCalendarId
NoPurchPurchaseOrderHeaderV2Entity
ShipNameName used for the ship address.String (100)
LogisticsAddressName
NoPurchPurchaseOrderHeaderV2Entity
ShippingDateConfirmedShip date that the vendor has confirmed.Date
SalesShippingDateConfirmed
NoNone
ShippingDateRequestedShip date requested for the order.Date
SalesShippingDateRequested
NoNone
ShipPostalAddressPoints to the postal address used for shipping.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdPurchPurchaseOrderHeaderV2Entity
SkipCreateMarkupYes or No value for skipping the creation of charges.Enum
MarkupSkipCreateMarkup
NoYes (enum)
NoNone
SkipShipReceiptDateCalculationYes or No value for skipping the ship and receipt date calculation.Enum
PurchSkipShipReceiptDateCalculation
NoYes (enum)
NoNone
SkipUpdateControls whether the intercompany update is skipped: no, internal, intercompany or both.Enum
InterCompanySkipUpdate (enum)
NoNone
SkipVersioningYes or No value for skipping versioning of the order.Enum
PurchSkipVersioning
NoYes (enum)
NoNone
SourceDocumentHeaderPoints to the source document header record.Int64
RefRecId
NoSourceDocumentHeader.RecIdPurchTableBiEntityPurchTableCDREntity
SourceDocumentLinePoints to the source document line record.Int64
RefRecId
NoSourceDocumentLine.RecIdPurchTableBiEntityPurchTableCDREntity
StatProcIdIntrastat statistics procedure code.String
IntrastatProcId
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SystemEntryChangePolicyPoints to a price discount change policy for system entries. The label is only 'Dummy'.low confidenceInt64
PriceDiscPolicySystem
NoPriceDiscChangePolicy.RecIdPurchTableBiEntityPurchTableCDREntity
SystemEntrySourceRecords the source of price and discount values, such as copied or transferred fields. The label is only 'Dummy'.low confidenceEnum
PriceDiscSystemSource (enum)
NoPurchTableBiEntityPurchTableCDREntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMRebateReferenceRebate reference for the order.String (60)
TAMRebateReference
NoPurchTableCDREntity
TAMVendRebateGroupIdVendor rebate group for the order.String (20)
TAMVendRebateGroupId
NoTAMVendRebateGroup.VendRebateGroupIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
TaxGroupSales tax group for the order.String
TaxGroup
NoTaxGroupHeading.TaxGroupPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
TaxPeriodPaymentCode_PLVAT report date code, used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodePurchTableBiEntityPurchTableCDREntity
TradeEndCustomerAccountAccount of the end customer for an intercompany purchase order.String (20)
TradeEndCustomerAccount
NoPurchPurchaseOrderHeaderV2EntityPurchTableBiEntityPurchTableCDREntity
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
TransportIntrastat transport method code.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodePurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
TransportationDocumentPoints to the transportation details record.Int64
TransportationDocumentRecId
NoTransportationDocument.RecIdPurchTableBiEntityPurchTableCDREntity
UnitedVATInvoice_LTYes or No value for a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoPurchTableBiEntityPurchTableCDREntity
URLInternet address stored on the order.String (255)
URLBase
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
VATNumTax exempt number.String (20)
VATNumJournal
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
VATNumRecIdSystem record ID of the tax exempt number record.Int64
RefRecId
NoPurchTableBiEntityPurchTableCDREntity
VATNumTableTypeShows where the tax exempt number comes from: none, tax registration or VAT number table.Enum
TaxExemptNumberSourceType (enum)
NoPurchTableBiEntityPurchTableCDREntity
VendGroupVendor group of the vendor.String
VendGroupId
YesVendGroup.VendGroupPurchTableBiEntityPurchTableCDREntity
VendInvoiceDeclaration_ISPoints to a vendor invoice declaration, used for Iceland.Int64
InvoiceDeclarationId_IS
NoVendInvoiceDeclaration_IS.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more
VendorRefVendor's own reference for the order. The label reads 'Customer reference'.String (60)
VendRef
NoPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 2 more
WorkerPurchPlacerWorker who placed the order.Int64
PurchPlacer
NoHcmWorker.RecIdPurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntityPurchTableBiEntityand 1 more

Indexes (19)

Relations (71)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many PurchTable records → zero or one AccountingDistributionTemplate record

  • Agreement → AgreementHeader

    Join on MatchingAgreement = AgreementHeader.RecId

    Many PurchTable records → zero or one AgreementHeader record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many PurchTable records → zero or one BankCentralBankPurpose record

  • CashDisc → CashDisc

    Join on CashDisc = CashDisc.CashDiscCode

    Many PurchTable records → zero or one CashDisc record

  • Common → Common

    Join on AddressRefRecId = Common.RecId, AddressRefTableId = Common.TableId

    Cardinality not set in the metadata.

  • ConfirmingPO → ConfirmingPO

    Join on ConfirmingPO = ConfirmingPO.RecId

    Zero or one PurchTable record → exactly one ConfirmingPO record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many PurchTable records → zero or one ContactPerson record

  • CountyOrigDest → LogisticsAddressCounty

    Join on CountyOrigDest = LogisticsAddressCounty.CountyId

    Many PurchTable records → zero or one LogisticsAddressCounty record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchTable records → exactly one Currency record

  • DataArea → DataArea

    Join on InterCompanyCompanyId = DataArea.id, DataArea.isVirtual = null

    Many PurchTable records → zero or one DataArea record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PurchTable records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many PurchTable records → zero or one LogisticsPostalAddress record

  • ShipPostalAddress → LogisticsPostalAddress

    Join on ShipPostalAddress = LogisticsPostalAddress.RecId

    Many PurchTable records → zero or one LogisticsPostalAddress record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many PurchTable records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many PurchTable records → zero or one DlvTerm record

  • InterCompany → DataArea

    Join on InterCompanyCompanyId = DataArea.id, DataArea.isVirtual = null

    Many PurchTable records → zero or one DataArea record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many PurchTable records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many PurchTable records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many PurchTable records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many PurchTable records → zero or one IntrastatTransportMode record

  • InventBuyerGroup → InventBuyerGroup

    Join on ItemBuyerGroupId = InventBuyerGroup.Group

    Many PurchTable records → zero or one InventBuyerGroup record

  • InventBuyerGroupView → InventBuyerGroupView

    Join on ItemBuyerGroupId = InventBuyerGroupView.GroupId

    Many PurchTable records → zero or one InventBuyerGroupView record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many PurchTable records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many PurchTable records → zero or one InventSite record

  • InvoiceDeclarationId_FK → VendInvoiceDeclaration_IS

    Join on VendInvoiceDeclaration_IS = VendInvoiceDeclaration_IS.RecId

    Many PurchTable records → zero or one VendInvoiceDeclaration_IS record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchTable records → exactly one VendTable record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many PurchTable records → exactly one LanguageTable record

  • MarkupGroup → MarkupGroup

    Join on MarkupGroup = MarkupGroup.GroupId, MarkupGroup.Module = MarkupModuleType::Vend

    Many PurchTable records → zero or one MarkupGroup record

  • MCRHoldCodeTrans → MCRHoldCodeTrans

    Join on PurchId = MCRHoldCodeTrans.InventRefId

    Many PurchTable records → exactly one MCRHoldCodeTrans record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many PurchTable records → zero or one NumberSequenceGroup record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchTable records → exactly one VendTable record

  • PaymSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many PurchTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many PurchTable records → zero or one PaymTerm record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many PurchTable records → zero or one PlTaxDueTable record

  • PriceDiscChangePolicyRecId1 → PriceDiscChangePolicy

    Join on SystemEntryChangePolicy = PriceDiscChangePolicy.RecId

    Many PurchTable records → zero or one PriceDiscChangePolicy record

  • PriceDiscChangePolicyRecId2 → PriceDiscChangePolicy

    Join on ManualEntryChangepolicy = PriceDiscChangePolicy.RecId

    Many PurchTable records → zero or one PriceDiscChangePolicy record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PurchTable records → zero or one ProjTable record

  • PurchPool → PurchPool

    Join on PurchPoolId = PurchPool.PurchPoolId

    Many PurchTable records → zero or one PurchPool record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Many PurchTable records → zero or one ReasonTableRef record

  • ReplenishmentLocation → InventLocation

    Join on ReplenishmentLocation = InventLocation.InventLocationId

    Many PurchTable records → zero or one InventLocation record

  • Requester_FK → HcmWorker

    Join on Requester = HcmWorker.RecId

    Many PurchTable records → zero or one HcmWorker record

  • RetailServiceCategory → RetailServiceCategory

    Join on ServiceCategory = RetailServiceCategory.ServiceCategory

    Many PurchTable records → zero or one RetailServiceCategory record

  • ReturnReasonCode → ReturnReasonCode

    Join on ReturnReasonCodeId = ReturnReasonCode.ReasonCodeId

    Many PurchTable records → zero or one ReturnReasonCode record

  • SalesTableInterCompany → SalesTable

    Join on InterCompanyOrder = NoYes::Yes, InterCompanyCompanyId = SalesTable.dataAreaId, InterCompanySalesId = SalesTable.SalesId

    Many PurchTable records → zero or one SalesTable record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many PurchTable records → zero or one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many PurchTable records → zero or one SourceDocumentLine record

  • TAMVendRebateGroup → TAMVendRebateGroup

    Join on TAMVendRebateGroupId = TAMVendRebateGroup.VendRebateGroupId

    Many PurchTable records → zero or one TAMVendRebateGroup record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PurchTable records → zero or one TaxGroupHeading record

  • TransportationDocument → TransportationDocument

    Join on TransportationDocument = TransportationDocument.RecId

    Zero or one PurchTable record → zero or one TransportationDocument record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many PurchTable records → exactly one VendGroup record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    Many PurchTable records → zero or one VendLedger record

  • VendLineDiscountGroup → PriceDiscGroup

    Join on LineDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend

    Many PurchTable records → zero or one PriceDiscGroup record

  • VendMarkupGroup → MarkupGroup

    Join on MarkupGroup = MarkupGroup.GroupId, MarkupGroup.Module = MarkupModuleType::Vend

    Many PurchTable records → zero or one MarkupGroup record

  • VendMultiLineDiscountGroup → PriceDiscGroup

    Join on MultiLineDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend

    Many PurchTable records → zero or one PriceDiscGroup record

  • VendPaymModeSpec → VendPaymModeSpec

    Join on PaymMode = VendPaymModeSpec.PaymMode, PaymSpec = VendPaymModeSpec.Specification

    Many PurchTable records → zero or one VendPaymModeSpec record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many PurchTable records → zero or one VendPaymModeTable record

  • VendPriceGroup → PriceDiscGroup

    Join on PriceGroupId = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend

    Many PurchTable records → zero or one PriceDiscGroup record

  • VendTotalDiscountGroup → PriceDiscGroup

    Join on EndDisc = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend

    Many PurchTable records → zero or one PriceDiscGroup record

  • WorkerPurchPlacer_FK → HcmWorker

    Join on WorkerPurchPlacer = HcmWorker.RecId

    Many PurchTable records → zero or one HcmWorker record

  • LogisticsPostalAddressBaseEntity → LogisticsPostalAddressBaseEntity

    Join on DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecId

    Many PurchTable records → zero or one LogisticsPostalAddressBaseEntity record

  • BillToAddress → LogisticsLocation

    Join on BillToAddress = LogisticsLocation.RecId

    One or more PurchTable records → exactly one LogisticsLocation record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many PurchTable records → zero or one FinTag record

  • IntentLetter_IT → IntentLetter_IT

    Join on InvoiceAccount = IntentLetter_IT.VendAccount, IntentLetterId_IT = IntentLetter_IT.IntentLetterId

    Many PurchTable records → zero or one IntentLetter_IT record

  • EximPorts_IN → EximPorts_IN

    Join on EximPorts_IN = EximPorts_IN.RecId

    Many PurchTable records → zero or one EximPorts_IN record

  • ITMVendTable_OrderAccount → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchTable records → exactly one VendTable record

  • ITMVendTable_ITMVendAccount → VendTable

    Join on ITMVendAccount = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::ShipVend

    Many PurchTable records → exactly one VendTable record

  • ITMVendTable_ITMAgent → VendTable

    Join on ITMAgent = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::Agent

    Many PurchTable records → exactly one VendTable record

  • ITMStatusTable → ITMStatusTable

    Join on ITMStatusId = ITMStatusTable.ShipStatusId, ITMStatusTable.ShipCostArea = ITMCostArea::PurchOrder

    Many PurchTable records → zero or one ITMStatusTable record

  • ITMPortTable → ITMPortTable

    Join on ITMFromPort = ITMPortTable.ShipPortId

    Many PurchTable records → exactly one ITMPortTable record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many PurchTable records → zero or one RentalDocumentTable record

  • RentalLoad → RentalLoad

    Join on RentalLoad = RentalLoad.RecId

    Many PurchTable records → zero or one RentalLoad record

Get this data out

Tables are not exposed directly. These public entities read from PurchTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk