Table
PurchTableHistory
Purchase order history
Holds earlier versions of purchase order header data. Each row covers one purchase order for a period set by its valid-from and valid-to date and times. The key is the purchase order ID plus those two date and time values. It links to vendors, currencies, delivery terms, payment settings and other header-level records.
- Table name
PurchTableHistory- Module
Procurement and sourcing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
PurchIdx- Key fields
PurchId, ValidTo, ValidFrom- Model
Foundation
Fields (130)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchIdID of the purchase order. It forms part of the key. | String (20)PurchIdBase | Yes | PurchTable.PurchId | VRMPurchaseOrderConfirmationHeaderEntity |
ValidToDate and time until which this version of the order header is valid. | UtcDateTimeValidToDateTime | Yes | None | |
ValidFromDate and time from which this version of the order header is valid. | UtcDateTimeValidFromDateTime | Yes | None | |
AccountingDateDate used for accounting for the order. | DateAccountingDate | No | PurchPurchaseOrderConfirmationHeaderEntity | |
AccountingDistributionTemplateLink to the accounting distribution template used on the order. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
AddressRefRecIdSystem record ID of the record that the address belongs to. It works together with the reference table ID. | Int64AddressRefRecId | No | None | |
AddressRefTableIdID of the table that holds the record the address refers to. | IntegerAddressRefTableId | No | None | |
AutoSummaryModuleTypeSetting for summary update parameters, with the values Vendor or Purchase order. | EnumModuleVendPurch (enum) | No | None | |
BankCentralBankPurposeCodeCode that states the payment purpose for the central bank. | StringBankCentralBankPurposeCode | No | BankCentralBankPurpose.Code | None |
BankCentralBankPurposeTextFree text that describes the payment purpose. | String (210)BankCentralBankPurposeText | No | None | |
BankDocumentTypeType of bank document linked to the order, such as letter of credit, import collection or letter of guarantee. | EnumBankDocumentFacilityNatureBankDocumentType (enum) | No | PurchPurchaseOrderConfirmationHeaderEntity | |
CashDiscCode of the cash discount used on the order. | StringVendCashDiscCode | No | CashDisc.CashDiscCode | PurchPurchaseOrderConfirmationHeaderEntity |
CashDiscPercentDiscount percentage that goes with the cash discount. | RealDiscPct | No | PurchPurchaseOrderConfirmationHeaderEntity | |
ConfirmedDlvEarliestEarliest receipt date that the vendor has confirmed. | DatePurchTableConfirmedReceiptEarliestDate | No | None | |
ConfirmedShipDateShip date that has been confirmed. | DatePurchConfirmedShipDate | No | None | |
ConfirmingPOLink to the confirming purchase order record. | Int64ConfirmingPORefRecId | No | ConfirmingPO.RecId | None |
ConsTarget_JPYes or No flag that marks the target of consolidation. Used for Japan. | EnumVendConsTarget_JPNoYes (enum) | No | None | |
ContactPersonIdID of the contact person for the order. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | PurchPurchaseOrderConfirmationHeaderEntity |
CountyOrigDestCounty of origin or destination for the goods. | String (30)AddressCountyOrigDest | No | None | |
CovStatusNumber that shows the cash flow forecast status of the order. | IntegerCovStatus | No | None | |
CurrencyCodeCurrency code of the order. | String (3)VendCurrencyCode | Yes | Currency.CurrencyCode | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
CXMLOrderEnableYes or No flag for sending the order as cXML. | EnumCXMLOrderEnableNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionLink to the set of default financial dimension values for the order. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DeliveryDateReceipt date requested for the order. | DatePurchTableRequestedReceiptDate | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity | |
DeliveryNameName of the delivery address. | String (100)LogisticsDeliveryName | No | PurchPurchaseOrderConfirmationHeaderEntity | |
DeliveryPostalAddressLink to the postal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DeliveryTypeKind of delivery location, either None or Company. | EnumPurchDlvAddrTypePurchDlvAddr (enum) | No | None | |
DiscPercentDiscount percentage set for the whole order header. | RealPurchEndDiscPct | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity | |
DlvModeCode of the mode of delivery. | StringVendDlvModeId | No | DlvMode.Code | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
DlvTermCode of the terms of delivery. | StringVendDlvTermId | No | DlvTerm.Code | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
DocumentStateApproval status of the order, such as Draft, In review, Approved or Confirmed. | EnumVersioningDocumentState (enum) | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity | |
DocumentStatusType of the latest document produced for the order, such as Purchase order, Confirmation or Invoice. | EnumDocumentStatus (enum) | No | None | |
EmailEmail address stored on the order. | String (80)Email | No | PurchPurchaseOrderConfirmationHeaderEntity | |
EndDiscCode of the total discount group. | StringVendEndDiscCode | No | PurchPurchaseOrderConfirmationHeaderEntity | |
EnterpriseNumberEnterprise number used for tax purposes. | String (50)TaxEnterpriseNumber | No | None | |
EstablishmentLink to the operating unit. | Int64OMOperatingUnitRefRecId | No | None | |
FinalizeClosingDateAccounting date used when the order is finalised. | DatePurchFinalizeClosingDate | No | None | |
FinTagLink to the financial tag. | Int64FinTagRecId | No | FinTag.RecId | None |
FixedDueDateFixed due date for payment of the order. | DatePurchFixedDueDate | No | PurchPurchaseOrderConfirmationHeaderEntity | |
FixedExchRateExchange rate fixed for the order. | RealPurchFixedExchRate | No | None | |
FreightSlipTypeType of call tag, either None or UPS. | EnumVendFreightSlipTypeFreightSlipType (enum) | No | None | |
FreightZoneUPS shipping zone. | StringVendFreightZoneId | No | None | |
InclTaxYes or No flag that shows whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | PurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntity | |
InterCompanyAllowIndirectCreationYes or No flag for allowing indirect creation of the intercompany order. | EnumInterCompanyAllowIndirectCreationNoYes (enum) | No | None | |
InterCompanyCompanyIdCompany (legal entity) on the other side of an intercompany order. | StringInterCompanyCompanyId | No | None | |
InterCompanyCustPurchOrderFormNumCustomer requisition number on an intercompany order. | String (20)CustPurchaseOrder | No | None | |
InterCompanyDirectDeliveryYes or No flag for direct delivery on an intercompany order. | EnumInterCompanyDirectDeliveryNoYes (enum) | No | None | |
InterCompanyOrderYes or No flag that shows whether this is an intercompany order. | EnumInterCompanyVendorNoYes (enum) | No | None | |
InterCompanyOriginShows whether the intercompany order is the source or derived from another order. | EnumInterCompanyOrigin (enum) | No | None | |
InterCompanyOriginalCustAccountAccount of the original customer on an intercompany order. | String (20)InterCompanyOriginalCustAccount | No | None | |
InterCompanyOriginalSalesIdID of the original sales order on an intercompany order. | String (20)InterCompanyOriginalSalesId | No | None | |
InterCompanySalesIdID of the linked intercompany sales order. | String (20)InterCompanySalesId | No | None | |
IntrastatAddValue_LVAdditional value for Intrastat reporting. Used for Latvia. | RealLvIntrastatAddValue | No | None | |
InventLocationIdWarehouse linked to the order. | StringPurchInventLocationId | No | InventLocation.InventLocationId | PurchPurchaseOrderConfirmationHeaderEntity |
InventSiteIdSite linked to the order. | StringInventSiteId | No | InventSite.SiteId | PurchPurchaseOrderConfirmationHeaderEntity |
InvoiceAccountVendor account that the invoice is received from. | String (20)VendInvoiceAccount | Yes | VendTable.AccountNum | PurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConfirmationHeaderEntityand 1 more |
InvoiceAutoNumbering_LTYes or No flag for automatic invoice numbering. Used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | None | |
InvoiceRegister_LTYes or No flag for automatic invoice numbering. Used for Lithuania. | EnumLtInvoiceAutoNumberingNoYes (enum) | No | None | |
IsEncumbranceRequiredShows whether an encumbrance is required, with the values Unknown, No or Yes. No label is given.low confidence | EnumUnknownNoYes (enum) | No | None | |
ItemBuyerGroupIdBuyer group linked to the order. | StringItemBuyerGroupId | No | InventBuyerGroup.Group | PurchPurchaseOrderConfirmationHeaderEntity |
LanguageIdLanguage code used for the order. | String (7)VendLanguageId | Yes | LanguageTable.LanguageId | PurchPurchaseOrderConfirmationHeaderEntity |
LineDiscLine discount group code that applies to the order lines, linked to the price groups. | StringVendLineDiscCode | No | PurchPurchaseOrderConfirmationHeaderEntity | |
ListcodeCode that classes the order for trade reporting, such as EU trade or Production on toll. The label is only a placeholder.low confidence | EnumListcode (enum) | No | PurchPurchaseOrderConfirmationHeaderEntity | |
MarkupGroupCode of the charges group. | StringVendMarkupGroupId | No | PurchPurchaseOrderConfirmationHeaderEntity | |
MatchingAgreementLink to the agreement that the order is matched to. | Int64RefRecId | No | AgreementHeader.RecId | None |
MultiLineDiscMultiline discount group code, linked to the price groups. | StringVendMultiLineDiscCode | No | PurchPurchaseOrderConfirmationHeaderEntity | |
NumberSequenceGroupNumber sequence group used for the order. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | PurchPurchaseOrderConfirmationHeaderEntity |
OneTimeVendorYes or No flag that marks a one-time supplier. | EnumOneTimeSupplierNoYes (enum) | No | PurchPurchaseOrderConfirmationHeaderEntity | |
OrderAccountAccount of the vendor that the order is placed with. | String (20)VendAccount | Yes | VendTable.AccountNum | PurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConfirmationHeaderEntityand 1 more |
OverrideSalesTaxYes or No flag for overriding the sales tax set by tax calculation. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | None | |
PackedExtensionsContainer that stores packed extension data. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingSlipAutoNumbering_LTYes or No flag for automatic packing slip numbering. Used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | None | |
PackingSlipRegister_LTYes or No flag for automatic packing slip numbering. Used for Lithuania. | EnumLtPackingSlipAutoNumberingNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCode of the payment terms. | String (100)VendPaymTermId | No | PaymTerm.PaymTermId | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
PaymentSchedName of the payment schedule. | String (30)PaymSchedId | No | PaymSched.Name | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
PaymModeCode of the vendor method of payment. | StringVendPaymMode | No | VendPaymModeTable.PaymMode | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
PaymSpecPayment specification linked to the method of payment. | StringVendPaymSpec | No | VendPaymModeSpec.Specification | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity |
PortPort code used for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | PurchPurchaseOrderConfirmationHeaderEntity |
PostingProfileVendor posting profile used for the order. | StringVendPostingProfile | No | VendLedger.PostingProfile | PurchPurchaseOrderConfirmationHeaderEntity |
PriceGroupIdPrice group code for the order. | StringVendPriceGroup | No | PurchPurchaseOrderConfirmationHeaderEntity | |
ProjIdID of the project linked to the order. | String (20)ProjId | No | ProjTable.ProjId | PurchPurchaseOrderConfirmationHeaderEntity |
PurchaseOrderHeaderCreationMethodHow the order was created: Purchase or Consignment. | EnumPurchPurchaseOrderCreationMethod (enum) | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity | |
PurchaseTypeType of order: Journal, Purchase order or Returned order. | EnumPurchaseType (enum) | No | None | |
PurchNameName of the purchase order. | String (60)PurchName | No | PurchPurchaseOrderConfirmationHeaderEntity | |
PurchOrderFormNumCustomer requisition number. | String (20)CustPurchaseOrder | No | None | |
PurchPoolIdPurchase pool that the order belongs to. | StringPurchPoolId | No | PurchPool.PurchPoolId | PurchPurchaseOrderConfirmationHeaderEntity |
PurchStatusStatus of the order: None, Open order, Received, Invoiced or Canceled. | EnumPurchStatus (enum) | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity | |
ReasonTableRefLink to a reason reference record. | Int64RefRecId | No | ReasonTableRef.RecId | None |
ReceiptDateConfirmedReceipt date that the vendor has confirmed. | DateSalesReceiptDateConfirmed | 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 | |
RentalDocumentTableLink to the rental document that the order relates to. | Int64RentalDocumentTableRecId | No | RentalDocumentTable.RecId | None |
RentalLoadLink to the load that the order was created from. | Int64RentalLoadRecId | No | RentalLoad.RecId | None |
ReportingCurrencyFixedExchRateExchange rate used for the reporting currency. | RealReportingCurrencyExchRate | No | None | |
ReqAttentionAttention information for the order. | String (255)PurchReqAttention | No | PurchPurchaseOrderConfirmationHeaderEntity | |
RequestedShipDateShip date that has been requested. | DatePurchRequestedShipDate | No | None | |
RequesterWorker who requested the order. | Int64PurchRequester | No | HcmWorker.RecId | None |
ReturnItemNumReturn merchandise authorisation (RMA) number. | StringPurchReturnItemNum | No | None | |
ReturnReasonCodeIdCode of the reason for the return. | StringReturnReasonCodeId | No | ReturnReasonCode.ReasonCodeId | None |
ReturnReplacementCreatedYes or No flag for an up-front replacement. | EnumReturnReplacementCreatedNoYes (enum) | No | None | |
SettleVoucherSettlement type: None, Open transactions or Designated transactions. | EnumPurchSettlementTypeSettlementType (enum) | No | PurchPurchaseOrderConfirmationHeaderEntity | |
ShipCalendarIdID of the calendar that shows the days the vendor can ship. | StringPurchVendorShipCalendarId | No | None | |
ShipNameName linked to the shipping address. | String (100)LogisticsAddressName | No | None | |
ShippingDateConfirmedShip date that the vendor has confirmed. | DateSalesShippingDateConfirmed | No | None | |
ShippingDateRequestedShip date that was requested. | DateSalesShippingDateRequested | No | None | |
ShipPostalAddressLink to the postal address for shipping. | Int64LogisticsPostalAddressRecId | No | None | |
SkipUpdateControls which intercompany updates are skipped: No, Internal, Intercompany or Both. | EnumInterCompanySkipUpdate (enum) | No | None | |
SourceDocumentHeaderLink to the source document header record. | Int64RefRecId | No | SourceDocumentHeader.RecId | None |
SourceDocumentLineLink to the source document line record. | Int64RefRecId | No | SourceDocumentLine.RecId | None |
StatProcIdStatistics procedure code for Intrastat reporting. | StringIntrastatProcId | No | PurchPurchaseOrderConfirmationHeaderEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMRebateReferenceRebate reference for the order. | String (60)TAMRebateReference | No | None | |
TaxGroupSales tax group code. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | PurchPurchaseOrderConfirmationHeaderEntity |
TaxPeriodPaymentCode_PLVAT report date code. Used for Poland. | StringPlTaxPeriodPaymentCode | No | PlTaxDueTable.TaxPeriodPaymentCode | None |
TradeEndCustomerAccountAccount of the end customer. It applies to intercompany purchase orders only. | String (20)TradeEndCustomerAccount | No | None | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | PurchPurchaseOrderConfirmationHeaderEntity |
TransportTransport method code for Intrastat reporting. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | PurchPurchaseOrderConfirmationHeaderEntity |
TransportationDocumentLink to the transportation details record. | Int64TransportationDocumentRecId | No | TransportationDocument.RecId | None |
UnitedVATInvoice_LTYes or No flag for a united VAT invoice. Used for Lithuania. | EnumUnitedVATInvoice_LTNoYes (enum) | No | None | |
URLInternet address stored on the order. | String (255)URL | No | PurchPurchaseOrderConfirmationHeaderEntity | |
VATNumTax exempt number on the order. | String (20)VATNumJournal | No | PurchPurchaseOrderConfirmationHeaderEntity | |
VATNumRecIdSystem record ID of the tax number record. | Int64RefRecId | No | None | |
VATNumTableTypeShows the source of the tax exempt number: None, TaxRegistration or TaxVATNumTable. | EnumTaxExemptNumberSourceType (enum) | No | None | |
VendGroupVendor group code. | StringVendGroupId | Yes | VendGroup.VendGroup | None |
VendInvoiceDeclaration_ISLink to the vendor invoice declaration. Used for Iceland. | Int64InvoiceDeclarationId_IS | No | VendInvoiceDeclaration_IS.RecId | None |
VendorRefReference given by the vendor. | String (60)VendRef | No | PurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntity | |
WorkerPurchPlacerWorker who placed the order. | Int64PurchPlacer | No | HcmWorker.RecId | None |
Indexes (5)
PurchIdxReplacement keyUnique, alternate key.
VendInvoiceDeclaration_ISIdxNot unique.
SourceDocumentHeaderIdxSourceDocumentHeader,Partition,dataAreaIdNot unique.
PlTaxDueTableIdxNot unique.
StatusStateOrderAccIdxOrderAccount,PurchStatus,DocumentStateNot unique.
Relations (53)
Each relation joins PurchTableHistory to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany PurchTableHistory records → zero or one AccountingDistributionTemplate record
Agreement→AgreementHeaderJoin on
MatchingAgreement = AgreementHeader.RecIdMany PurchTableHistory records → zero or one AgreementHeader record
BankCentralBankPurpose→BankCentralBankPurposeJoin on
BankCentralBankPurposeCode = BankCentralBankPurpose.CodeMany PurchTableHistory records → zero or one BankCentralBankPurpose record
CashDisc→CashDiscJoin on
CashDisc = CashDisc.CashDiscCodeMany PurchTableHistory records → zero or one CashDisc record
Common→CommonJoin on
AddressRefRecId = Common.RecId,AddressRefTableId = Common.TableIdCardinality not set in the metadata.
ConfirmingPO→ConfirmingPOJoin on
ConfirmingPO = ConfirmingPO.RecIdZero or one PurchTableHistory record → exactly one ConfirmingPO record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany PurchTableHistory records → zero or one ContactPerson record
CountyOrigDest→LogisticsAddressCountyJoin on
CountyOrigDest = LogisticsAddressCounty.CountyIdMany PurchTableHistory records → zero or one LogisticsAddressCounty record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchTableHistory records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PurchTableHistory records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany PurchTableHistory records → zero or one LogisticsPostalAddress record
DlvMode→DlvModeJoin on
DlvMode = DlvMode.CodeMany PurchTableHistory records → zero or one DlvMode record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany PurchTableHistory records → zero or one DlvTerm record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany PurchTableHistory records → zero or one FinTag record
InterCompanyDataArea→DataAreaJoin on
InterCompanyCompanyId = DataArea.id,DataArea.isVirtual = nullMany PurchTableHistory records → zero or one DataArea record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany PurchTableHistory records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany PurchTableHistory records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany PurchTableHistory records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany PurchTableHistory records → zero or one IntrastatTransportMode record
InventBuyerGroup→InventBuyerGroupJoin on
ItemBuyerGroupId = InventBuyerGroup.GroupMany PurchTableHistory records → zero or one InventBuyerGroup record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany PurchTableHistory records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany PurchTableHistory records → zero or one InventSite record
InvoiceDeclarationId_FK→VendInvoiceDeclaration_ISJoin on
VendInvoiceDeclaration_IS = VendInvoiceDeclaration_IS.RecIdMany PurchTableHistory records → zero or one VendInvoiceDeclaration_IS record
InvoiceVendor→VendTableJoin on
InvoiceAccount = VendTable.AccountNumMany PurchTableHistory records → exactly one VendTable record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many PurchTableHistory records → exactly one LanguageTable record
MarkupGroup→MarkupGroupJoin on
MarkupGroup.Module = MarkupModuleType::Vend,MarkupGroup = MarkupGroup.GroupIdMany PurchTableHistory records → zero or one MarkupGroup record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany PurchTableHistory records → zero or one NumberSequenceGroup record
OrderVendor→VendTableJoin on
OrderAccount = VendTable.AccountNumMany PurchTableHistory records → exactly one VendTable record
PaymSched→PaymSchedJoin on
PaymentSched = PaymSched.NameMany PurchTableHistory records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany PurchTableHistory records → zero or one PaymTerm record
PlTaxDueTable→PlTaxDueTableJoin on
TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCodeMany PurchTableHistory records → zero or one PlTaxDueTable record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany PurchTableHistory records → zero or one ProjTable record
PurchPool→PurchPoolJoin on
PurchPoolId = PurchPool.PurchPoolIdMany PurchTableHistory records → zero or one PurchPool record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany PurchTableHistory records → exactly one PurchTable record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef = ReasonTableRef.RecIdMany PurchTableHistory records → zero or one ReasonTableRef record
Requester_FK→HcmWorkerJoin on
Requester = HcmWorker.RecIdMany PurchTableHistory records → zero or one HcmWorker record
ReturnReasonCode→ReturnReasonCodeJoin on
ReturnReasonCodeId = ReturnReasonCode.ReasonCodeIdMany PurchTableHistory records → zero or one ReturnReasonCode record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany PurchTableHistory records → zero or one SourceDocumentHeader record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany PurchTableHistory records → zero or one SourceDocumentLine record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany PurchTableHistory records → zero or one TaxGroupHeading record
TransportationDocument→TransportationDocumentJoin on
TransportationDocument = TransportationDocument.RecIdZero or one PurchTableHistory record → zero or one TransportationDocument record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupMany PurchTableHistory records → exactly one VendGroup record
VendLedger→VendLedgerJoin on
PostingProfile = VendLedger.PostingProfileMany PurchTableHistory records → zero or one VendLedger record
VendLineDiscountGroup→PriceDiscGroupJoin on
LineDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::VendMany PurchTableHistory records → zero or one PriceDiscGroup record
VendMarkupGroup→MarkupGroupJoin on
MarkupGroup = MarkupGroup.GroupId,MarkupGroup.Module = MarkupModuleType::VendMany PurchTableHistory records → zero or one MarkupGroup record
VendMultiLineDiscountGroup→PriceDiscGroupJoin on
MultiLineDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::VendMany PurchTableHistory records → zero or one PriceDiscGroup record
VendPaymModeSpec→VendPaymModeSpecJoin on
PaymMode = VendPaymModeSpec.PaymMode,PaymSpec = VendPaymModeSpec.SpecificationMany PurchTableHistory records → zero or one VendPaymModeSpec record
VendPaymModeTable→VendPaymModeTableJoin on
PaymMode = VendPaymModeTable.PaymModeMany PurchTableHistory records → zero or one VendPaymModeTable record
VendPriceGroup→PriceDiscGroupJoin on
PriceGroupId = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::VendMany PurchTableHistory records → zero or one PriceDiscGroup record
VendTotalDiscountGroup→PriceDiscGroupJoin on
EndDisc = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::VendMany PurchTableHistory records → zero or one PriceDiscGroup record
WorkerPurchPlacer_FK→HcmWorkerJoin on
WorkerPurchPlacer = HcmWorker.RecIdMany PurchTableHistory records → zero or one HcmWorker record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdMany PurchTableHistory records → zero or one RentalDocumentTable record
RentalLoad→RentalLoadJoin on
RentalLoad = RentalLoad.RecIdMany PurchTableHistory records → zero or one RentalLoad record
Get this data out
Tables are not exposed directly. These public entities read from PurchTableHistory; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseOrderConfirmationHeaderEntity· 49 fields from this tablePurchPurchaseOrderConfirmationLineEntity· 3 fields from this tableVRMPurchaseOrderConfirmationHeaderEntity· 12 fields from this tableVRMPurchaseOrderConsignmentInventoryHeaderEntity· 14 fields from this table
Need help with PurchTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.