Table

PurchLineHistory

Purchase lines history

Holds historical versions of purchase order lines. Each row is one version of a line, identified by the lot ID (InventTransId) and a validity period (ValidFrom and ValidTo). It repeats many purchase line fields such as item, quantity, price, delivery dates, dimensions, tax and project data, and it links to the purchase order history through the purchase order number.

Table name
PurchLineHistory
Module
Procurement and sourcing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
RecId
Replacement key
TransIdIdx
Key fields
InventTransId, ValidTo, ValidFrom
Model
Foundation

Fields (147)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventTransIdLot ID that identifies the purchase line; part of the key with the validity dates.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdPurchLine.InventTransIdNone
ValidToDate and time until which this version of the line is valid.UtcDateTime
ValidToDateTime
YesNone
ValidFromDate and time from which this version of the line is valid.UtcDateTime
ValidFromDateTime
YesNone
AccountingDistributionTemplateRecord ID of the accounting distribution template linked to the line.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
ActivityNumberNumber of the activity linked to the line, pointing to an activity record.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberPurchPurchaseOrderConfirmationLineEntity
AddressRefRecIdSystem record ID of the record that the address reference points to; used together with the reference table ID.Int64
AddressRefRecId
NoNone
AddressRefTableIdID of the table that the address reference points to; used together with the reference record ID.Integer
AddressRefTableId
NoNone
AgreementSkipAutoLinkYes/No flag that turns off automatic linking of the line to an agreement.Enum
AgreementSkipAutoLink
NoYes (enum)
NoNone
AssetBookIdFixed asset book linked to the line, pointing to a fixed asset book setup record.String
AssetBookIdPurchSalesInvent
NoAssetBookTable.BookIdPurchPurchaseOrderConfirmationLineEntity
AssetGroupFixed asset group for the asset on the line.String
AssetGroupId
NoAssetGroup.GroupIdPurchPurchaseOrderConfirmationLineEntity
AssetIdNumber of the fixed asset the line relates to.String (20)
AssetIdOpen
NoAssetTable.AssetIdPurchPurchaseOrderConfirmationLineEntity
AssetTransTypePurchType of fixed asset transaction for the line: acquisition, acquisition adjustment or pre-acquisition.Enum
AssetTransTypePurchEDT
AssetTransTypePurch (enum)
NoPurchPurchaseOrderConfirmationLineEntity
BarCodeBar code value for the item on the line.String (80)
PurchBarCode
NoPurchPurchaseOrderConfirmationLineEntity
BarCodeTypeBar code setup used for the bar code, pointing to a barcode setup record.String
BarcodeSetupId
NoBarcodeSetup.barcodeSetupIdPurchPurchaseOrderConfirmationLineEntity
BlockedYes/No flag showing that the line is stopped.Enum
LineStopped
NoYes (enum)
NoPurchPurchaseOrderConfirmationLineEntity
CFOPTable_BRRecord ID of the CFOP code for the line; used for Brazil.Int64
RefRecId
NoCFOPTable_BR.RecIdNone
CompleteYes/No flag that stops the line from being delivered in parts.Enum
LineComplete
NoYes (enum)
NoPurchPurchaseOrderConfirmationLineEntity
ConfirmedDlvReceipt date confirmed for the line.Date
PurchLineConfirmedReceiptDate
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntity
ConfirmedShipDateDate on which the vendor has confirmed it will ship the goods.Date
PurchConfirmedShipDate
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
ConfirmedTaxAmountSales tax amount for the line; currency not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
ConfirmedTaxWriteCodePrint code for the tax on the line.low confidenceString
TaxWriteCode
NoNone
CountyOrigDestCounty of origin or destination for the goods.String (30)
AddressCountyOrigDest
NoNone
CovRefKind of demand the line is planned to cover, such as project transaction, fixed asset transaction, order item or production.Enum
PurchCovRef (enum)
NoNone
CreateFixedAssetYes/No flag showing whether a new fixed asset is to be created from the line.Enum
NoYes (enum)
NoPurchPurchaseOrderConfirmationLineEntity
CurrencyCodeCurrency code of the line, pointing to a currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeNone
CustomerRefCustomer reference text held on the line.String (60)
CustRefLine
NoPurchPurchaseOrderConfirmationLineEntity
CustPurchaseOrderFormNumCustomer requisition number held on the line.String (20)
CustPurchaseOrder
NoPurchPurchaseOrderConfirmationLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionRecord ID of the financial dimension set for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdPurchPurchaseOrderConfirmationLineEntity
DeliveryDateReceipt date requested for the line.Date
PurchLineRequestedReceiptDate
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
DeliveryNameName of the delivery address for the line.String (100)
LogisticsDeliveryName
NoPurchPurchaseOrderConfirmationLineEntity
DeliveryPostalAddressRecord ID of the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DeliveryTypeWhether the line is delivered to stock or as a direct delivery.Enum
TradeLineDlvTypeId
TradeLineDlvType (enum)
NoNone
DepreciationStartDateDate when depreciation starts for the fixed asset on the line.Date
AssetDepreciationStartDate
NoNone
DiscAmountDiscount amount on the line; currency not stated in the metadata.Real
PurchDiscAmount
NoNone
DiscPercentDiscount percentage on the line.Real
PurchDiscPercent
NoNone
EstablishmentRecord ID of the operating unit for the line.Int64
OMOperatingUnitRefRecId
NoNone
ExternalItemIdItem number used by the vendor (external item number).String (20)
PurchExternalItemId
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
FinTagRecord ID of the financial tag on the line.Int64
FinTagRecId
NoFinTag.RecIdNone
GSTHSTTaxType_CAGST/HST tax treatment of the line: none, rebate, tax on acquisition or self-assessment; used for Canada.Enum
GSTHSTTaxType_CA (enum)
NoPurchPurchaseOrderConfirmationLineEntity
InterCompanyInventTransIdLot ID of the matching line in the other company for intercompany orders.String (20)
InventRefTransId
NoNone
InterCompanyOriginShows whether an intercompany order line is the source or derived.Enum
InterCompanyOrigin (enum)
NoNone
IntrastatCommodityRecord ID of the commodity category used for Intrastat reporting.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
InventDimIdInventory dimension number for the line, pointing to an inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventReceivedNowQuantity to receive now, in inventory units.Real
InventQty
NoNone
InventRefIdNumber of the related order or journal (sales order, production order or inventory journal).String (20)
InventRefId
NoInventJournalTable.JournalIdProdTable.ProdIdSalesTable.SalesIdNone
InventRefTransIdLot ID of the related inventory transaction.String (20)
InventRefTransId
NoNone
IsFinalizedYes/No flag showing that the line is finalised.Enum
PurchLineIsFinalized
NoYes (enum)
NoNone
ItemBOMIdBill of materials ID used as a sub-BOM for the item.String (20)
ItemBOMId
NoBOMTable.BOMIdPurchPurchaseOrderConfirmationLineEntity
ItemIdItem number on the line, pointing to an item record.String (20)
ItemIdSmall
NoInventTable.ItemIdVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
ItemRefTypeType of record the line refers to, such as sales order, purchase order, production or transfer order.Enum
InventRefType (enum)
NoNone
ItemRouteIdRoute ID used as a subroute for the item.String (20)
ItemRouteId
NoRouteTable.RouteIdPurchPurchaseOrderConfirmationLineEntity
LedgerDimensionRecord ID of the ledger account and dimension combination for the line.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdPurchPurchaseOrderConfirmationLineEntity
LineAmountNet amount of the line; currency not stated in the metadata.Real
PurchLineAmount
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
LineDeliveryTypeWhether the line is an order line with one delivery, an order line with several deliveries or a delivery line.Enum
LineDeliveryType (enum)
NoNone
LineDiscDiscount value on the line.Real
PurchLineDisc
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
LineHeaderHeading text for the line.String (80)
LineHeader
NoNone
LineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
LinePercentDiscount percentage on the line.Real
PurchLinePercent
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
MatchingAgreementLineRecord ID of the agreement line that the purchase line matches.Int64
RefRecId
NoAgreementLine.RecIdNone
MatchingPolicyMatching rule for the line: three-way, two-way or not required.Enum
PurchMatchingPolicyOption (enum)
NoPurchPurchaseOrderConfirmationLineEntity
MCRDropShipCommentFree-text comment for the direct delivery.String (250)
MCRDropShipComment
NoNone
MCRDropShipmentYes/No flag showing that the line is a direct delivery.Enum
MCRDropShipment
NoYes (enum)
NoNone
MCRDropShipStatusProgress of the direct delivery, from none to purchase order shipped.Enum
MCRDropShipStatus (enum)
NoNone
MultiLnDiscMultiline discount value on the line.Real
PurchMultiLnDisc
NoPurchPurchaseOrderConfirmationLineEntity
MultiLnPercentMultiline discount percentage on the line.Real
PurchMultiLnPercent
NoPurchPurchaseOrderConfirmationLineEntity
NameFree text describing the line or item.String (1000)
ItemFreeTxt
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
OrigCountryRegionIdCountry or region where the goods originate.String
ItemOrigCountryRegionId
NoLogisticsAddressState.CountryRegionIdPurchPurchaseOrderConfirmationLineEntity
OrigStateIdState where the goods originate.String
ItemOrigStateId
NoLogisticsAddressState.StateIdPurchPurchaseOrderConfirmationLineEntity
OverDeliveryPctPercentage by which more than the ordered quantity may be delivered.Real
PurchOverDeliveryPct
NoPurchPurchaseOrderConfirmationLineEntity
PackedExtensionsPacked data that stores extension fields as a single container.Container
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWInventReceivedNowCatch weight quantity to receive now.Real
PdsCWQtyReceiveNow
NoNone
PdsCWQtyCatch weight quantity on the line.Real
PdsCWInventQty
NoPurchPurchaseOrderConfirmationLineEntity
PdsCWRemainInventFinancialCatch weight quantity still to be invoiced.Real
PdsCWInventQty
NoNone
PdsCWRemainInventPhysicalCatch weight quantity still to be delivered.Real
PdsCWInventQty
NoNone
PortPort used for Intrastat reporting, pointing to a port record.String
IntrastatPortId
NoIntrastatPort.PortIdPurchPurchaseOrderConfirmationLineEntity
PriceUnitNumber of units that the unit price applies to.Real
PriceUnit
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
ProcurementCategoryRecord ID of the procurement category for the line.Int64
PurchCategory
NoEcoResCategory.RecIdNone
ProjCategoryIdProject category linked to the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdPurchPurchaseOrderConfirmationLineEntity
ProjIdProject ID linked to the line.String (20)
ProjId
NoProjTable.ProjIdPurchPurchaseOrderConfirmationLineEntity
ProjLinePropertyIdProject line property for the line.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdPurchPurchaseOrderConfirmationLineEntity
ProjSalesCurrencyIdCurrency code for the project sales price.String (3)
CurrencyCode
NoCurrency.CurrencyCodePurchPurchaseOrderConfirmationLineEntity
ProjSalesPriceSales price used for the project.Real
ProjSalesPriceCost
NoPurchPurchaseOrderConfirmationLineEntity
ProjSalesUnitIdUnit of measure for the project sales price.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolPurchPurchaseOrderConfirmationLineEntity
ProjTaxGroupIdSales tax group used for the project.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupPurchPurchaseOrderConfirmationLineEntity
ProjTaxItemGroupIdItem sales tax group used for the project.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupPurchPurchaseOrderConfirmationLineEntity
ProjTransIdProject item transaction ID linked to the line.String (20)
ProjItemTransId
NoProjItemTrans.ProjTransIdNone
ProjWorkerRecord ID of the worker linked to the project line.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone
PurchaseOrderLineCreationMethodHow the line was created: as a normal purchase or as consignment.Enum
PurchPurchaseOrderCreationMethod (enum)
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
PurchaseTypeType of purchase document: journal, purchase order or returned order.Enum
PurchaseType (enum)
NoNone
PurchCommitmentLine_PSNRecord ID of the commitment line linked to the purchase line; used for public sector.Int64
RefRecId
NoPurchCommitmentLine_PSN.RecIdNone
PurchIdPurchase order number the line belongs to, related to the purchase order history.String (20)
PurchIdBase
YesVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
PurchMarkupCharges added to the line.Real
PurchMarkup
NoPurchPurchaseOrderConfirmationLineEntity
PurchPriceUnit price of the item on the line.Real
PurchPrice
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
PurchQtyOrdered quantity on the line, in purchase units.Real
PurchOrderedQty
NoVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
PurchReceivedNowQuantity to receive now, in purchase units.Real
PurchQty
NoNone
PurchReqIdPurchase requisition number the line came from.String (25)
PurchReqId
NoNone
PurchReqLineRefIdUnique reference to the purchase requisition line.Guid
PurchReqLineRefId
NoPurchReqLine.LineRefIdNone
PurchStatusStatus of the line: none, open order, received, invoiced or cancelled.Enum
PurchStatus (enum)
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
PurchUnitUnit of measure used for purchasing the item.String
PurchUnit
NoUnitOfMeasure.SymbolVRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
QtyOrderedOrdered quantity, in inventory units.Real
InventQty
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
RemainInventFinancialQuantity still to be invoiced, in inventory units.Real
InventQty
NoNone
RemainInventPhysicalQuantity still to be delivered, in inventory units.Real
InventQty
NoNone
RemainPurchFinancialQuantity still to be invoiced, in purchase units.Real
PurchQty
NoNone
RemainPurchPhysicalQuantity still to be delivered, in purchase units.Real
PurchQty
NoNone
RentalItemRecord ID of the fleet item linked to the line.Int64
RentalItemRecId
NoRentalItemTable.RecIdNone
ReqAttentionNote giving attention information for the requisition.String (255)
PurchReqAttention
NoNone
ReqPlanIdSchedMaster plan ID, pointing to a master plan setup record.String
ReqPlanIdSched
NoReqPlanSched.ReqPlanIdSchedNone
ReqPOIdNumber of the planned order linked to the line.low confidenceString (20)
ReqPOId
NoNone
RequestedShipDateDate on which the vendor is asked to ship the goods.Date
PurchRequestedShipDate
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
RequesterRecord ID of the worker who requested the purchase.Int64
PurchRequester
NoHcmWorker.RecIdNone
ReturnActionIdReturn action code for a returned line.String
PurchReturnActionId
NoNone
ReturnDispositionCodeIdDisposition code for a returned line.String
ReturnDispositionCodeId
NoReturnDispositionCode.DispositionCodeIdNone
ReturnStatusStatus of a return line, such as expected, registered, quarantine, received, invoiced or cancelled.Enum
ReturnStatusLine (enum)
NoNone
ScrapYes/No flag showing that the item is scrapped.Enum
NoYes (enum)
NoNone
ShipCalendarIdCalendar of the vendor that sets its shipping days.String
PurchVendorShipCalendarId
NoNone
ShipNameName used for the shipping address.String (100)
LogisticsAddressName
NoNone
ShippingDateConfirmedShip date confirmed for the line.Date
SalesShippingDateConfirmed
NoPurchPurchaseOrderConfirmationLineEntity
ShippingDateRequestedShip date requested for the line.Date
SalesShippingDateRequested
NoPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity
ShipPostalAddressRecord ID of the postal address used for shipping.Int64
LogisticsPostalAddressRecId
NoNone
SkipUpdateControls whether intercompany updates are skipped: no, internal, intercompany or both.Enum
InterCompanySkipUpdate (enum)
NoNone
SourceDocumentLineRecord ID of the source document line linked to the purchase line.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
StatProcIdStatistics procedure code for Intrastat reporting.String
IntrastatProcId
NoPurchPurchaseOrderConfirmationLineEntity
StatTriangularDealYes/No flag showing that the line is part of a triangular deal for Intrastat.Enum
IntrastatTriangularDeal
NoYes (enum)
NoPurchPurchaseOrderConfirmationLineEntity
StockedProductYes/No flag showing whether the product is stocked.Enum
TradeStockedProduct
NoYes (enum)
NoNone
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
Tax1099AmountAmount reported for 1099 tax purposes.Real
Tax1099Amount
NoPurchPurchaseOrderConfirmationLineEntity
Tax1099FieldsRecord ID of the 1099 box that the line is reported in.Int64
Tax1099FieldsRecId
NoTax1099Fields.RecIdNone
Tax1099RecIdRecord ID of the 1099 detail record.Int64
Tax1099RecId
NoTax1099BoxDetail.RecIdNone
Tax1099StateState or province used for 1099 reporting.String
Tax1099State
NoPurchPurchaseOrderConfirmationLineEntity
Tax1099StateAmountState amount reported for 1099 tax purposes.Real
Tax1099StateAmount
NoPurchPurchaseOrderConfirmationLineEntity
TaxAutogeneratedYes/No flag showing that the tax was generated automatically.Enum
TaxAutoGenerated
NoYes (enum)
NoNone
TaxGroupSales tax group applied to the line, pointing to a sales tax group record.String
TaxGroup
NoTaxGroupHeading.TaxGroupPurchPurchaseOrderConfirmationLineEntity
TaxItemGroupItem sales tax group applied to the line, pointing to a sales tax item group record.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupPurchPurchaseOrderConfirmationLineEntity
TaxServiceCode_BRService tax code for the line; used for Brazil.String
TaxServiceCodeId_BR
NoNone
TaxWithholdBaseCur_THAdjusted base amount for withholding tax; used for Thailand.Real
TaxWithholdBaseCur
NoNone
TaxWithholdGroup_THWithholding tax group for the line; used for Thailand.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupPurchPurchaseOrderConfirmationLineEntity
TaxWithholdItemGroupHeading_THRecord ID of the item withholding tax group; used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoTaxWithholdItemGroupHeading_TH.RecIdNone
TransactionCodeTransaction code for Intrastat reporting.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodePurchPurchaseOrderConfirmationLineEntity
TransportTransport method code for Intrastat reporting.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodePurchPurchaseOrderConfirmationLineEntity
UnderDeliveryPctPercentage by which less than the ordered quantity may be delivered.Real
PurchUnderDeliveryPct
NoPurchPurchaseOrderConfirmationLineEntity
VendAccountVendor account number for the line, pointing to a vendor record.String (20)
VendAccount
YesVendTable.AccountNumNone
VendGroupVendor group of the vendor on the line.String
VendGroupId
YesVendGroup.VendGroupNone

Indexes (3)

Relations (63)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many PurchLineHistory records → zero or one AccountingDistributionTemplate record

  • AgreementLine → AgreementLine

    Join on MatchingAgreementLine = AgreementLine.RecId

    Many PurchLineHistory records → zero or one AgreementLine record

  • AssetBook → AssetBook

    Join on AssetId = AssetBook.AssetId, AssetBookId = AssetBook.BookId

    Many PurchLineHistory records → zero or one AssetBook record

  • AssetBookTable → AssetBookTable

    Join on AssetBookId = AssetBookTable.BookId

    Many PurchLineHistory records → zero or one AssetBookTable record

  • AssetGroup → AssetGroup

    Join on AssetGroup = AssetGroup.GroupId

    Many PurchLineHistory records → zero or one AssetGroup record

  • AssetTable → AssetTable

    Join on AssetId = AssetTable.AssetId

    Many PurchLineHistory records → zero or one AssetTable record

  • BarcodeSetup → BarcodeSetup

    Join on BarCodeType = BarcodeSetup.barcodeSetupId

    Many PurchLineHistory records → zero or one BarcodeSetup record

  • BOMTable → BOMTable

    Join on ItemBOMId = BOMTable.BOMId

    Many PurchLineHistory records → zero or one BOMTable record

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many PurchLineHistory records → zero or one CFOPTable_BR record

  • Common → Common

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

    Cardinality not set in the metadata.

  • CountyOrigDest → LogisticsAddressCounty

    Join on CountyOrigDest = LogisticsAddressCounty.CountyId

    Many PurchLineHistory records → zero or one LogisticsAddressCounty record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchLineHistory records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PurchLineHistory records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many PurchLineHistory records → zero or one LogisticsPostalAddress record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many PurchLineHistory records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many PurchLineHistory records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many PurchLineHistory records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many PurchLineHistory records → zero or one IntrastatTransportMode record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PurchLineHistory records → zero or one InventDim record

  • InventItemBarcode → InventItemBarcode

    Join on BarCode = InventItemBarcode.itemBarCode

    Many PurchLineHistory records → zero or one InventItemBarcode record

  • InventJournalTableRef → InventJournalTable

    Join on ItemRefType = InventRefType::InventJournal, InventRefId = InventJournalTable.JournalId

    Many PurchLineHistory records → zero or one InventJournalTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PurchLineHistory records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many PurchLineHistory records → zero or one InventTransOrigin record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many PurchLineHistory records → zero or one DimensionAttributeValueCombination record

  • ProcurementCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many PurchLineHistory records → zero or one EcoResCategory record

  • ProdLineRef → ProdTable

    Join on InventRefId = ProdTable.ProdId, ItemRefType = InventRefType::ProdLine

    Many PurchLineHistory records → zero or one ProdTable record

  • ProdTableRef → ProdTable

    Join on ItemRefType = InventRefType::Production, InventRefId = ProdTable.ProdId

    Many PurchLineHistory records → zero or one ProdTable record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many PurchLineHistory records → zero or one ProjCategory record

  • ProjectSalesCurrency → Currency

    Join on ProjSalesCurrencyId = Currency.CurrencyCode

    Many PurchLineHistory records → zero or one Currency record

  • ProjectTaxGroupHeading → TaxGroupHeading

    Join on ProjTaxGroupId = TaxGroupHeading.TaxGroup

    Many PurchLineHistory records → zero or one TaxGroupHeading record

  • ProjectTaxItemGroupHeading → TaxItemGroupHeading

    Join on ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many PurchLineHistory records → zero or one TaxItemGroupHeading record

  • ProjItemTrans → ProjItemTrans

    Join on ProjTransId = ProjItemTrans.ProjTransId

    Many PurchLineHistory records → zero or one ProjItemTrans record

  • ProjLineProperty → ProjLineProperty

    Join on ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many PurchLineHistory records → zero or one ProjLineProperty record

  • ProjSalesUnitId → UnitOfMeasure

    Join on ProjSalesUnitId = UnitOfMeasure.Symbol

    Many PurchLineHistory records → zero or one UnitOfMeasure record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PurchLineHistory records → zero or one ProjTable record

  • ProjWorker → HcmWorker

    Join on ProjWorker = HcmWorker.RecId

    Many PurchLineHistory records → zero or one HcmWorker record

  • PurchCommitmentLine_PSN → PurchCommitmentLine_PSN

    Join on PurchCommitmentLine_PSN = PurchCommitmentLine_PSN.RecId

    Many PurchLineHistory records → zero or one PurchCommitmentLine_PSN record

  • PurchLine → PurchLine

    Join on InventTransId = PurchLine.InventTransId

    Many PurchLineHistory records → zero or one PurchLine record

  • PurchReqLine → PurchReqLine

    Join on PurchReqLineRefId = PurchReqLine.LineRefId

    Zero or one PurchLineHistory record → zero or one PurchReqLine record

  • PurchReturnActionDefaults → ReturnActionDefaults

    Join on ReturnActionId = ReturnActionDefaults.ReturnActionId, ReturnActionDefaults.Module = ModuleInventPurchSales::Purch

    Many PurchLineHistory records → zero or one ReturnActionDefaults record

  • PurchTableHistory → PurchTableHistory

    Join on PurchId = PurchTableHistory.PurchId

    Many PurchLineHistory records → exactly one PurchTableHistory record

  • PurchUnit → UnitOfMeasure

    Join on PurchUnit = UnitOfMeasure.Symbol

    Many PurchLineHistory records → zero or one UnitOfMeasure record

  • ReqPlanSched → ReqPlanSched

    Join on ReqPlanIdSched = ReqPlanSched.ReqPlanIdSched

    Many PurchLineHistory records → zero or one ReqPlanSched record

  • Requester_FK → HcmWorker

    Join on Requester = HcmWorker.RecId

    Many PurchLineHistory records → zero or one HcmWorker record

  • ReturnDispositionCode → ReturnDispositionCode

    Join on ReturnDispositionCodeId = ReturnDispositionCode.DispositionCodeId

    Many PurchLineHistory records → zero or one ReturnDispositionCode record

  • RouteTable → RouteTable

    Join on ItemRouteId = RouteTable.RouteId

    Many PurchLineHistory records → zero or one RouteTable record

  • SalesTableRef → SalesTable

    Join on ItemRefType = InventRefType::Sales, InventRefId = SalesTable.SalesId

    Many PurchLineHistory records → zero or one SalesTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many PurchLineHistory records → zero or one smmActivities record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many PurchLineHistory records → zero or one SourceDocumentLine record

  • State → LogisticsAddressState

    Join on Tax1099State = LogisticsAddressState.StateId

    Many PurchLineHistory records → zero or one LogisticsAddressState record

  • Tax1099BoxDetail → Tax1099BoxDetail

    Join on Tax1099RecId = Tax1099BoxDetail.RecId

    Zero or one PurchLineHistory record → zero or one Tax1099BoxDetail record

  • Tax1099Fields → Tax1099Fields

    Join on Tax1099Fields = Tax1099Fields.RecId

    Many PurchLineHistory records → zero or one Tax1099Fields record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PurchLineHistory records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many PurchLineHistory records → zero or one TaxItemGroupHeading record

  • TaxWithholdGroupHeading → TaxWithholdGroupHeading

    Join on TaxWithholdGroup_TH = TaxWithholdGroupHeading.TaxWithholdGroup

    Many PurchLineHistory records → zero or one TaxWithholdGroupHeading record

  • TaxWithholdItemGroupHeading_TH → TaxWithholdItemGroupHeading_TH

    Join on TaxWithholdItemGroupHeading_TH = TaxWithholdItemGroupHeading_TH.RecId

    Many PurchLineHistory records → zero or one TaxWithholdItemGroupHeading_TH record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many PurchLineHistory records → exactly one VendGroup record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many PurchLineHistory records → exactly one VendTable record

  • OrigCountryRegion → LogisticsAddressCountryRegionNameView

    Join on OrigCountryRegionId = LogisticsAddressCountryRegionNameView.CountryRegionId

    Many PurchLineHistory records → zero or one LogisticsAddressCountryRegionNameView record

  • OrigState → LogisticsAddressState

    Join on OrigCountryRegionId = LogisticsAddressState.CountryRegionId, OrigStateId = LogisticsAddressState.StateId

    Many PurchLineHistory records → zero or one LogisticsAddressState record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many PurchLineHistory records → zero or one EcoResCategory record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many PurchLineHistory records → zero or one FinTag record

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many PurchLineHistory records → zero or one RentalItemTable record

Get this data out

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

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

Email sales@drdynamics.co.uk