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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchIdID of the purchase order. It forms part of the key.String (20)
PurchIdBase
YesPurchTable.PurchIdVRMPurchaseOrderConfirmationHeaderEntity
ValidToDate and time until which this version of the order header is valid.UtcDateTime
ValidToDateTime
YesNone
ValidFromDate and time from which this version of the order header is valid.UtcDateTime
ValidFromDateTime
YesNone
AccountingDateDate used for accounting for the order.Date
AccountingDate
NoPurchPurchaseOrderConfirmationHeaderEntity
AccountingDistributionTemplateLink to the accounting distribution template used on the order.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
AddressRefRecIdSystem record ID of the record that the address belongs to. It works together with the reference table ID.Int64
AddressRefRecId
NoNone
AddressRefTableIdID of the table that holds the record the address refers to.Integer
AddressRefTableId
NoNone
AutoSummaryModuleTypeSetting for summary update parameters, with the values Vendor or Purchase order.Enum
ModuleVendPurch (enum)
NoNone
BankCentralBankPurposeCodeCode that states the payment purpose for the central bank.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeNone
BankCentralBankPurposeTextFree text that describes the payment purpose.String (210)
BankCentralBankPurposeText
NoNone
BankDocumentTypeType of bank document linked to the order, such as letter of credit, import collection or letter of guarantee.Enum
BankDocumentFacilityNature
BankDocumentType (enum)
NoPurchPurchaseOrderConfirmationHeaderEntity
CashDiscCode of the cash discount used on the order.String
VendCashDiscCode
NoCashDisc.CashDiscCodePurchPurchaseOrderConfirmationHeaderEntity
CashDiscPercentDiscount percentage that goes with the cash discount.Real
DiscPct
NoPurchPurchaseOrderConfirmationHeaderEntity
ConfirmedDlvEarliestEarliest receipt date that the vendor has confirmed.Date
PurchTableConfirmedReceiptEarliestDate
NoNone
ConfirmedShipDateShip date that has been confirmed.Date
PurchConfirmedShipDate
NoNone
ConfirmingPOLink to the confirming purchase order record.Int64
ConfirmingPORefRecId
NoConfirmingPO.RecIdNone
ConsTarget_JPYes or No flag that marks the target of consolidation. Used for Japan.Enum
VendConsTarget_JP
NoYes (enum)
NoNone
ContactPersonIdID of the contact person for the order.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdPurchPurchaseOrderConfirmationHeaderEntity
CountyOrigDestCounty of origin or destination for the goods.String (30)
AddressCountyOrigDest
NoNone
CovStatusNumber that shows the cash flow forecast status of the order.Integer
CovStatus
NoNone
CurrencyCodeCurrency code of the order.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodePurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
CXMLOrderEnableYes or No flag for sending the order as cXML.Enum
CXMLOrderEnable
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionLink to the set of default financial dimension values for the order.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DeliveryDateReceipt date requested for the order.Date
PurchTableRequestedReceiptDate
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
DeliveryNameName of the delivery address.String (100)
LogisticsDeliveryName
NoPurchPurchaseOrderConfirmationHeaderEntity
DeliveryPostalAddressLink to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DeliveryTypeKind of delivery location, either None or Company.Enum
PurchDlvAddrType
PurchDlvAddr (enum)
NoNone
DiscPercentDiscount percentage set for the whole order header.Real
PurchEndDiscPct
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
DlvModeCode of the mode of delivery.String
VendDlvModeId
NoDlvMode.CodePurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
DlvTermCode of the terms of delivery.String
VendDlvTermId
NoDlvTerm.CodePurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
DocumentStateApproval status of the order, such as Draft, In review, Approved or Confirmed.Enum
VersioningDocumentState (enum)
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
DocumentStatusType of the latest document produced for the order, such as Purchase order, Confirmation or Invoice.Enum
DocumentStatus (enum)
NoNone
EmailEmail address stored on the order.String (80)
Email
NoPurchPurchaseOrderConfirmationHeaderEntity
EndDiscCode of the total discount group.String
VendEndDiscCode
NoPurchPurchaseOrderConfirmationHeaderEntity
EnterpriseNumberEnterprise number used for tax purposes.String (50)
TaxEnterpriseNumber
NoNone
EstablishmentLink to the operating unit.Int64
OMOperatingUnitRefRecId
NoNone
FinalizeClosingDateAccounting date used when the order is finalised.Date
PurchFinalizeClosingDate
NoNone
FinTagLink to the financial tag.Int64
FinTagRecId
NoFinTag.RecIdNone
FixedDueDateFixed due date for payment of the order.Date
PurchFixedDueDate
NoPurchPurchaseOrderConfirmationHeaderEntity
FixedExchRateExchange rate fixed for the order.Real
PurchFixedExchRate
NoNone
FreightSlipTypeType of call tag, either None or UPS.Enum
VendFreightSlipType
FreightSlipType (enum)
NoNone
FreightZoneUPS shipping zone.String
VendFreightZoneId
NoNone
InclTaxYes or No flag that shows whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoPurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntity
InterCompanyAllowIndirectCreationYes or No flag for allowing indirect creation of the intercompany order.Enum
InterCompanyAllowIndirectCreation
NoYes (enum)
NoNone
InterCompanyCompanyIdCompany (legal entity) on the other side of an intercompany order.String
InterCompanyCompanyId
NoNone
InterCompanyCustPurchOrderFormNumCustomer requisition number on an intercompany order.String (20)
CustPurchaseOrder
NoNone
InterCompanyDirectDeliveryYes or No flag for direct delivery on an intercompany order.Enum
InterCompanyDirectDelivery
NoYes (enum)
NoNone
InterCompanyOrderYes or No flag that shows whether this is an intercompany order.Enum
InterCompanyVendor
NoYes (enum)
NoNone
InterCompanyOriginShows whether the intercompany order is the source or derived from another order.Enum
InterCompanyOrigin (enum)
NoNone
InterCompanyOriginalCustAccountAccount of the original customer on an intercompany order.String (20)
InterCompanyOriginalCustAccount
NoNone
InterCompanyOriginalSalesIdID of the original sales order on an intercompany order.String (20)
InterCompanyOriginalSalesId
NoNone
InterCompanySalesIdID of the linked intercompany sales order.String (20)
InterCompanySalesId
NoNone
IntrastatAddValue_LVAdditional value for Intrastat reporting. Used for Latvia.Real
LvIntrastatAddValue
NoNone
InventLocationIdWarehouse linked to the order.String
PurchInventLocationId
NoInventLocation.InventLocationIdPurchPurchaseOrderConfirmationHeaderEntity
InventSiteIdSite linked to the order.String
InventSiteId
NoInventSite.SiteIdPurchPurchaseOrderConfirmationHeaderEntity
InvoiceAccountVendor account that the invoice is received from.String (20)
VendInvoiceAccount
YesVendTable.AccountNumPurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConfirmationHeaderEntityand 1 more
InvoiceAutoNumbering_LTYes or No flag for automatic invoice numbering. Used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoNone
InvoiceRegister_LTYes or No flag for automatic invoice numbering. Used for Lithuania.Enum
LtInvoiceAutoNumbering
NoYes (enum)
NoNone
IsEncumbranceRequiredShows whether an encumbrance is required, with the values Unknown, No or Yes. No label is given.low confidenceEnum
UnknownNoYes (enum)
NoNone
ItemBuyerGroupIdBuyer group linked to the order.String
ItemBuyerGroupId
NoInventBuyerGroup.GroupPurchPurchaseOrderConfirmationHeaderEntity
LanguageIdLanguage code used for the order.String (7)
VendLanguageId
YesLanguageTable.LanguageIdPurchPurchaseOrderConfirmationHeaderEntity
LineDiscLine discount group code that applies to the order lines, linked to the price groups.String
VendLineDiscCode
NoPurchPurchaseOrderConfirmationHeaderEntity
ListcodeCode that classes the order for trade reporting, such as EU trade or Production on toll. The label is only a placeholder.low confidenceEnum
Listcode (enum)
NoPurchPurchaseOrderConfirmationHeaderEntity
MarkupGroupCode of the charges group.String
VendMarkupGroupId
NoPurchPurchaseOrderConfirmationHeaderEntity
MatchingAgreementLink to the agreement that the order is matched to.Int64
RefRecId
NoAgreementHeader.RecIdNone
MultiLineDiscMultiline discount group code, linked to the price groups.String
VendMultiLineDiscCode
NoPurchPurchaseOrderConfirmationHeaderEntity
NumberSequenceGroupNumber sequence group used for the order.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdPurchPurchaseOrderConfirmationHeaderEntity
OneTimeVendorYes or No flag that marks a one-time supplier.Enum
OneTimeSupplier
NoYes (enum)
NoPurchPurchaseOrderConfirmationHeaderEntity
OrderAccountAccount of the vendor that the order is placed with.String (20)
VendAccount
YesVendTable.AccountNumPurchPurchaseOrderConfirmationHeaderEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConfirmationHeaderEntityand 1 more
OverrideSalesTaxYes or No flag for overriding the sales tax set by tax calculation.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PackedExtensionsContainer that stores packed extension data.Container
SysExtensionSerializerPackedContainer
NoNone
PackingSlipAutoNumbering_LTYes or No flag for automatic packing slip numbering. Used for Lithuania.Enum
LtPackingSlipAutoNumbering
NoYes (enum)
NoNone
PackingSlipRegister_LTYes or No flag 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
PaymentCode of the payment terms.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
PaymentSchedName of the payment schedule.String (30)
PaymSchedId
NoPaymSched.NamePurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
PaymModeCode of the vendor method of payment.String
VendPaymMode
NoVendPaymModeTable.PaymModePurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
PaymSpecPayment specification linked to the method of payment.String
VendPaymSpec
NoVendPaymModeSpec.SpecificationPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
PortPort code used for Intrastat reporting.String
IntrastatPortId
NoIntrastatPort.PortIdPurchPurchaseOrderConfirmationHeaderEntity
PostingProfileVendor posting profile used for the order.String
VendPostingProfile
NoVendLedger.PostingProfilePurchPurchaseOrderConfirmationHeaderEntity
PriceGroupIdPrice group code for the order.String
VendPriceGroup
NoPurchPurchaseOrderConfirmationHeaderEntity
ProjIdID of the project linked to the order.String (20)
ProjId
NoProjTable.ProjIdPurchPurchaseOrderConfirmationHeaderEntity
PurchaseOrderHeaderCreationMethodHow the order was created: Purchase or Consignment.Enum
PurchPurchaseOrderCreationMethod (enum)
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
PurchaseTypeType of order: Journal, Purchase order or Returned order.Enum
PurchaseType (enum)
NoNone
PurchNameName of the purchase order.String (60)
PurchName
NoPurchPurchaseOrderConfirmationHeaderEntity
PurchOrderFormNumCustomer requisition number.String (20)
CustPurchaseOrder
NoNone
PurchPoolIdPurchase pool that the order belongs to.String
PurchPoolId
NoPurchPool.PurchPoolIdPurchPurchaseOrderConfirmationHeaderEntity
PurchStatusStatus of the order: None, Open order, Received, Invoiced or Canceled.Enum
PurchStatus (enum)
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConsignmentInventoryHeaderEntity
ReasonTableRefLink to a reason reference record.Int64
RefRecId
NoReasonTableRef.RecIdNone
ReceiptDateConfirmedReceipt date that the vendor has confirmed.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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RentalDocumentTableLink to the rental document that the order relates to.Int64
RentalDocumentTableRecId
NoRentalDocumentTable.RecIdNone
RentalLoadLink to the load that the order was created from.Int64
RentalLoadRecId
NoRentalLoad.RecIdNone
ReportingCurrencyFixedExchRateExchange rate used for the reporting currency.Real
ReportingCurrencyExchRate
NoNone
ReqAttentionAttention information for the order.String (255)
PurchReqAttention
NoPurchPurchaseOrderConfirmationHeaderEntity
RequestedShipDateShip date that has been requested.Date
PurchRequestedShipDate
NoNone
RequesterWorker who requested the order.Int64
PurchRequester
NoHcmWorker.RecIdNone
ReturnItemNumReturn merchandise authorisation (RMA) number.String
PurchReturnItemNum
NoNone
ReturnReasonCodeIdCode of the reason for the return.String
ReturnReasonCodeId
NoReturnReasonCode.ReasonCodeIdNone
ReturnReplacementCreatedYes or No flag for an up-front replacement.Enum
ReturnReplacementCreated
NoYes (enum)
NoNone
SettleVoucherSettlement type: None, Open transactions or Designated transactions.Enum
PurchSettlementType
SettlementType (enum)
NoPurchPurchaseOrderConfirmationHeaderEntity
ShipCalendarIdID of the calendar that shows the days the vendor can ship.String
PurchVendorShipCalendarId
NoNone
ShipNameName linked to the shipping address.String (100)
LogisticsAddressName
NoNone
ShippingDateConfirmedShip date that the vendor has confirmed.Date
SalesShippingDateConfirmed
NoNone
ShippingDateRequestedShip date that was requested.Date
SalesShippingDateRequested
NoNone
ShipPostalAddressLink to the postal address for shipping.Int64
LogisticsPostalAddressRecId
NoNone
SkipUpdateControls which intercompany updates are skipped: No, Internal, Intercompany or Both.Enum
InterCompanySkipUpdate (enum)
NoNone
SourceDocumentHeaderLink to the source document header record.Int64
RefRecId
NoSourceDocumentHeader.RecIdNone
SourceDocumentLineLink to the source document line record.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
StatProcIdStatistics procedure code for Intrastat reporting.String
IntrastatProcId
NoPurchPurchaseOrderConfirmationHeaderEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMRebateReferenceRebate reference for the order.String (60)
TAMRebateReference
NoNone
TaxGroupSales tax group code.String
TaxGroup
NoTaxGroupHeading.TaxGroupPurchPurchaseOrderConfirmationHeaderEntity
TaxPeriodPaymentCode_PLVAT report date code. Used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodeNone
TradeEndCustomerAccountAccount of the end customer. It applies to intercompany purchase orders only.String (20)
TradeEndCustomerAccount
NoNone
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodePurchPurchaseOrderConfirmationHeaderEntity
TransportTransport method code for Intrastat reporting.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodePurchPurchaseOrderConfirmationHeaderEntity
TransportationDocumentLink to the transportation details record.Int64
TransportationDocumentRecId
NoTransportationDocument.RecIdNone
UnitedVATInvoice_LTYes or No flag for a united VAT invoice. Used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoNone
URLInternet address stored on the order.String (255)
URL
NoPurchPurchaseOrderConfirmationHeaderEntity
VATNumTax exempt number on the order.String (20)
VATNumJournal
NoPurchPurchaseOrderConfirmationHeaderEntity
VATNumRecIdSystem record ID of the tax number record.Int64
RefRecId
NoNone
VATNumTableTypeShows the source of the tax exempt number: None, TaxRegistration or TaxVATNumTable.Enum
TaxExemptNumberSourceType (enum)
NoNone
VendGroupVendor group code.String
VendGroupId
YesVendGroup.VendGroupNone
VendInvoiceDeclaration_ISLink to the vendor invoice declaration. Used for Iceland.Int64
InvoiceDeclarationId_IS
NoVendInvoiceDeclaration_IS.RecIdNone
VendorRefReference given by the vendor.String (60)
VendRef
NoPurchPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderConfirmationHeaderEntity
WorkerPurchPlacerWorker who placed the order.Int64
PurchPlacer
NoHcmWorker.RecIdNone

Indexes (5)

Relations (53)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many PurchTableHistory records → zero or one AccountingDistributionTemplate record

  • Agreement → AgreementHeader

    Join on MatchingAgreement = AgreementHeader.RecId

    Many PurchTableHistory records → zero or one AgreementHeader record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many PurchTableHistory records → zero or one BankCentralBankPurpose record

  • CashDisc → CashDisc

    Join on CashDisc = CashDisc.CashDiscCode

    Many PurchTableHistory 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 PurchTableHistory record → exactly one ConfirmingPO record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many PurchTableHistory records → zero or one ContactPerson record

  • CountyOrigDest → LogisticsAddressCounty

    Join on CountyOrigDest = LogisticsAddressCounty.CountyId

    Many PurchTableHistory records → zero or one LogisticsAddressCounty record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchTableHistory records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PurchTableHistory records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many PurchTableHistory records → zero or one LogisticsPostalAddress record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many PurchTableHistory records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many PurchTableHistory records → zero or one DlvTerm record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many PurchTableHistory records → zero or one FinTag record

  • InterCompanyDataArea → DataArea

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

    Many PurchTableHistory records → zero or one DataArea record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many PurchTableHistory records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many PurchTableHistory records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many PurchTableHistory records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many PurchTableHistory records → zero or one IntrastatTransportMode record

  • InventBuyerGroup → InventBuyerGroup

    Join on ItemBuyerGroupId = InventBuyerGroup.Group

    Many PurchTableHistory records → zero or one InventBuyerGroup record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many PurchTableHistory records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many PurchTableHistory records → zero or one InventSite record

  • InvoiceDeclarationId_FK → VendInvoiceDeclaration_IS

    Join on VendInvoiceDeclaration_IS = VendInvoiceDeclaration_IS.RecId

    Many PurchTableHistory records → zero or one VendInvoiceDeclaration_IS record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchTableHistory records → exactly one VendTable record

  • LanguageTable → LanguageTable

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

    Many PurchTableHistory records → exactly one LanguageTable record

  • MarkupGroup → MarkupGroup

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

    Many PurchTableHistory records → zero or one MarkupGroup record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many PurchTableHistory records → zero or one NumberSequenceGroup record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchTableHistory records → exactly one VendTable record

  • PaymSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many PurchTableHistory records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many PurchTableHistory records → zero or one PaymTerm record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many PurchTableHistory records → zero or one PlTaxDueTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PurchTableHistory records → zero or one ProjTable record

  • PurchPool → PurchPool

    Join on PurchPoolId = PurchPool.PurchPoolId

    Many PurchTableHistory records → zero or one PurchPool record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many PurchTableHistory records → exactly one PurchTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Many PurchTableHistory records → zero or one ReasonTableRef record

  • Requester_FK → HcmWorker

    Join on Requester = HcmWorker.RecId

    Many PurchTableHistory records → zero or one HcmWorker record

  • ReturnReasonCode → ReturnReasonCode

    Join on ReturnReasonCodeId = ReturnReasonCode.ReasonCodeId

    Many PurchTableHistory records → zero or one ReturnReasonCode record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many PurchTableHistory records → zero or one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many PurchTableHistory records → zero or one SourceDocumentLine record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PurchTableHistory records → zero or one TaxGroupHeading record

  • TransportationDocument → TransportationDocument

    Join on TransportationDocument = TransportationDocument.RecId

    Zero or one PurchTableHistory record → zero or one TransportationDocument record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many PurchTableHistory records → exactly one VendGroup record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    Many PurchTableHistory records → zero or one VendLedger record

  • VendLineDiscountGroup → PriceDiscGroup

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

    Many PurchTableHistory records → zero or one PriceDiscGroup record

  • VendMarkupGroup → MarkupGroup

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

    Many PurchTableHistory records → zero or one MarkupGroup record

  • VendMultiLineDiscountGroup → PriceDiscGroup

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

    Many PurchTableHistory records → zero or one PriceDiscGroup record

  • VendPaymModeSpec → VendPaymModeSpec

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

    Many PurchTableHistory records → zero or one VendPaymModeSpec record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many PurchTableHistory records → zero or one VendPaymModeTable record

  • VendPriceGroup → PriceDiscGroup

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

    Many PurchTableHistory records → zero or one PriceDiscGroup record

  • VendTotalDiscountGroup → PriceDiscGroup

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

    Many PurchTableHistory records → zero or one PriceDiscGroup record

  • WorkerPurchPlacer_FK → HcmWorker

    Join on WorkerPurchPlacer = HcmWorker.RecId

    Many PurchTableHistory records → zero or one HcmWorker record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many PurchTableHistory records → zero or one RentalDocumentTable record

  • RentalLoad → RentalLoad

    Join on RentalLoad = RentalLoad.RecId

    Many 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.

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

Email sales@drdynamics.co.uk