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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventTransIdLot ID that identifies the purchase line; part of the key with the validity dates. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransIdPurchLine.InventTransId | None |
ValidToDate and time until which this version of the line is valid. | UtcDateTimeValidToDateTime | Yes | None | |
ValidFromDate and time from which this version of the line is valid. | UtcDateTimeValidFromDateTime | Yes | None | |
AccountingDistributionTemplateRecord ID of the accounting distribution template linked to the line. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
ActivityNumberNumber of the activity linked to the line, pointing to an activity record. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | PurchPurchaseOrderConfirmationLineEntity |
AddressRefRecIdSystem record ID of the record that the address reference points to; used together with the reference table ID. | Int64AddressRefRecId | No | None | |
AddressRefTableIdID of the table that the address reference points to; used together with the reference record ID. | IntegerAddressRefTableId | No | None | |
AgreementSkipAutoLinkYes/No flag that turns off automatic linking of the line to an agreement. | EnumAgreementSkipAutoLinkNoYes (enum) | No | None | |
AssetBookIdFixed asset book linked to the line, pointing to a fixed asset book setup record. | StringAssetBookIdPurchSalesInvent | No | AssetBookTable.BookId | PurchPurchaseOrderConfirmationLineEntity |
AssetGroupFixed asset group for the asset on the line. | StringAssetGroupId | No | AssetGroup.GroupId | PurchPurchaseOrderConfirmationLineEntity |
AssetIdNumber of the fixed asset the line relates to. | String (20)AssetIdOpen | No | AssetTable.AssetId | PurchPurchaseOrderConfirmationLineEntity |
AssetTransTypePurchType of fixed asset transaction for the line: acquisition, acquisition adjustment or pre-acquisition. | EnumAssetTransTypePurchEDTAssetTransTypePurch (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
BarCodeBar code value for the item on the line. | String (80)PurchBarCode | No | PurchPurchaseOrderConfirmationLineEntity | |
BarCodeTypeBar code setup used for the bar code, pointing to a barcode setup record. | StringBarcodeSetupId | No | BarcodeSetup.barcodeSetupId | PurchPurchaseOrderConfirmationLineEntity |
BlockedYes/No flag showing that the line is stopped. | EnumLineStoppedNoYes (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
CFOPTable_BRRecord ID of the CFOP code for the line; used for Brazil. | Int64RefRecId | No | CFOPTable_BR.RecId | None |
CompleteYes/No flag that stops the line from being delivered in parts. | EnumLineCompleteNoYes (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
ConfirmedDlvReceipt date confirmed for the line. | DatePurchLineConfirmedReceiptDate | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntity | |
ConfirmedShipDateDate on which the vendor has confirmed it will ship the goods. | DatePurchConfirmedShipDate | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
ConfirmedTaxAmountSales tax amount for the line; currency not stated in the metadata.low confidence | RealTaxAmountCur | No | None | |
ConfirmedTaxWriteCodePrint code for the tax on the line.low confidence | StringTaxWriteCode | No | None | |
CountyOrigDestCounty of origin or destination for the goods. | String (30)AddressCountyOrigDest | No | None | |
CovRefKind of demand the line is planned to cover, such as project transaction, fixed asset transaction, order item or production. | EnumPurchCovRef (enum) | No | None | |
CreateFixedAssetYes/No flag showing whether a new fixed asset is to be created from the line. | EnumNoYes (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
CurrencyCodeCurrency code of the line, pointing to a currency record. | String (3)VendCurrencyCode | Yes | Currency.CurrencyCode | None |
CustomerRefCustomer reference text held on the line. | String (60)CustRefLine | No | PurchPurchaseOrderConfirmationLineEntity | |
CustPurchaseOrderFormNumCustomer requisition number held on the line. | String (20)CustPurchaseOrder | No | PurchPurchaseOrderConfirmationLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionRecord ID of the financial dimension set for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | PurchPurchaseOrderConfirmationLineEntity |
DeliveryDateReceipt date requested for the line. | DatePurchLineRequestedReceiptDate | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
DeliveryNameName of the delivery address for the line. | String (100)LogisticsDeliveryName | No | PurchPurchaseOrderConfirmationLineEntity | |
DeliveryPostalAddressRecord ID of the postal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DeliveryTypeWhether the line is delivered to stock or as a direct delivery. | EnumTradeLineDlvTypeIdTradeLineDlvType (enum) | No | None | |
DepreciationStartDateDate when depreciation starts for the fixed asset on the line. | DateAssetDepreciationStartDate | No | None | |
DiscAmountDiscount amount on the line; currency not stated in the metadata. | RealPurchDiscAmount | No | None | |
DiscPercentDiscount percentage on the line. | RealPurchDiscPercent | No | None | |
EstablishmentRecord ID of the operating unit for the line. | Int64OMOperatingUnitRefRecId | No | None | |
ExternalItemIdItem number used by the vendor (external item number). | String (20)PurchExternalItemId | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
FinTagRecord ID of the financial tag on the line. | Int64FinTagRecId | No | FinTag.RecId | None |
GSTHSTTaxType_CAGST/HST tax treatment of the line: none, rebate, tax on acquisition or self-assessment; used for Canada. | EnumGSTHSTTaxType_CA (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
InterCompanyInventTransIdLot ID of the matching line in the other company for intercompany orders. | String (20)InventRefTransId | No | None | |
InterCompanyOriginShows whether an intercompany order line is the source or derived. | EnumInterCompanyOrigin (enum) | No | None | |
IntrastatCommodityRecord ID of the commodity category used for Intrastat reporting. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | None |
InventDimIdInventory dimension number for the line, pointing to an inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventReceivedNowQuantity to receive now, in inventory units. | RealInventQty | No | None | |
InventRefIdNumber of the related order or journal (sales order, production order or inventory journal). | String (20)InventRefId | No | InventJournalTable.JournalIdProdTable.ProdIdSalesTable.SalesId | None |
InventRefTransIdLot ID of the related inventory transaction. | String (20)InventRefTransId | No | None | |
IsFinalizedYes/No flag showing that the line is finalised. | EnumPurchLineIsFinalizedNoYes (enum) | No | None | |
ItemBOMIdBill of materials ID used as a sub-BOM for the item. | String (20)ItemBOMId | No | BOMTable.BOMId | PurchPurchaseOrderConfirmationLineEntity |
ItemIdItem number on the line, pointing to an item record. | String (20)ItemIdSmall | No | InventTable.ItemId | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity |
ItemRefTypeType of record the line refers to, such as sales order, purchase order, production or transfer order. | EnumInventRefType (enum) | No | None | |
ItemRouteIdRoute ID used as a subroute for the item. | String (20)ItemRouteId | No | RouteTable.RouteId | PurchPurchaseOrderConfirmationLineEntity |
LedgerDimensionRecord ID of the ledger account and dimension combination for the line. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | PurchPurchaseOrderConfirmationLineEntity |
LineAmountNet amount of the line; currency not stated in the metadata. | RealPurchLineAmount | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
LineDeliveryTypeWhether the line is an order line with one delivery, an order line with several deliveries or a delivery line. | EnumLineDeliveryType (enum) | No | None | |
LineDiscDiscount value on the line. | RealPurchLineDisc | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
LineHeaderHeading text for the line. | String (80)LineHeader | No | None | |
LineNumberNumber of the line within the purchase order. | Int64TradeLineNumber | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
LinePercentDiscount percentage on the line. | RealPurchLinePercent | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
MatchingAgreementLineRecord ID of the agreement line that the purchase line matches. | Int64RefRecId | No | AgreementLine.RecId | None |
MatchingPolicyMatching rule for the line: three-way, two-way or not required. | EnumPurchMatchingPolicyOption (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
MCRDropShipCommentFree-text comment for the direct delivery. | String (250)MCRDropShipComment | No | None | |
MCRDropShipmentYes/No flag showing that the line is a direct delivery. | EnumMCRDropShipmentNoYes (enum) | No | None | |
MCRDropShipStatusProgress of the direct delivery, from none to purchase order shipped. | EnumMCRDropShipStatus (enum) | No | None | |
MultiLnDiscMultiline discount value on the line. | RealPurchMultiLnDisc | No | PurchPurchaseOrderConfirmationLineEntity | |
MultiLnPercentMultiline discount percentage on the line. | RealPurchMultiLnPercent | No | PurchPurchaseOrderConfirmationLineEntity | |
NameFree text describing the line or item. | String (1000)ItemFreeTxt | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
OrigCountryRegionIdCountry or region where the goods originate. | StringItemOrigCountryRegionId | No | LogisticsAddressState.CountryRegionId | PurchPurchaseOrderConfirmationLineEntity |
OrigStateIdState where the goods originate. | StringItemOrigStateId | No | LogisticsAddressState.StateId | PurchPurchaseOrderConfirmationLineEntity |
OverDeliveryPctPercentage by which more than the ordered quantity may be delivered. | RealPurchOverDeliveryPct | No | PurchPurchaseOrderConfirmationLineEntity | |
PackedExtensionsPacked data that stores extension fields as a single container. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWInventReceivedNowCatch weight quantity to receive now. | RealPdsCWQtyReceiveNow | No | None | |
PdsCWQtyCatch weight quantity on the line. | RealPdsCWInventQty | No | PurchPurchaseOrderConfirmationLineEntity | |
PdsCWRemainInventFinancialCatch weight quantity still to be invoiced. | RealPdsCWInventQty | No | None | |
PdsCWRemainInventPhysicalCatch weight quantity still to be delivered. | RealPdsCWInventQty | No | None | |
PortPort used for Intrastat reporting, pointing to a port record. | StringIntrastatPortId | No | IntrastatPort.PortId | PurchPurchaseOrderConfirmationLineEntity |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
ProcurementCategoryRecord ID of the procurement category for the line. | Int64PurchCategory | No | EcoResCategory.RecId | None |
ProjCategoryIdProject category linked to the line. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | PurchPurchaseOrderConfirmationLineEntity |
ProjIdProject ID linked to the line. | String (20)ProjId | No | ProjTable.ProjId | PurchPurchaseOrderConfirmationLineEntity |
ProjLinePropertyIdProject line property for the line. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | PurchPurchaseOrderConfirmationLineEntity |
ProjSalesCurrencyIdCurrency code for the project sales price. | String (3)CurrencyCode | No | Currency.CurrencyCode | PurchPurchaseOrderConfirmationLineEntity |
ProjSalesPriceSales price used for the project. | RealProjSalesPriceCost | No | PurchPurchaseOrderConfirmationLineEntity | |
ProjSalesUnitIdUnit of measure for the project sales price. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | PurchPurchaseOrderConfirmationLineEntity |
ProjTaxGroupIdSales tax group used for the project. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | PurchPurchaseOrderConfirmationLineEntity |
ProjTaxItemGroupIdItem sales tax group used for the project. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | PurchPurchaseOrderConfirmationLineEntity |
ProjTransIdProject item transaction ID linked to the line. | String (20)ProjItemTransId | No | ProjItemTrans.ProjTransId | None |
ProjWorkerRecord ID of the worker linked to the project line. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
PurchaseOrderLineCreationMethodHow the line was created: as a normal purchase or as consignment. | EnumPurchPurchaseOrderCreationMethod (enum) | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
PurchaseTypeType of purchase document: journal, purchase order or returned order. | EnumPurchaseType (enum) | No | None | |
PurchCommitmentLine_PSNRecord ID of the commitment line linked to the purchase line; used for public sector. | Int64RefRecId | No | PurchCommitmentLine_PSN.RecId | None |
PurchIdPurchase order number the line belongs to, related to the purchase order history. | String (20)PurchIdBase | Yes | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
PurchMarkupCharges added to the line. | RealPurchMarkup | No | PurchPurchaseOrderConfirmationLineEntity | |
PurchPriceUnit price of the item on the line. | RealPurchPrice | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
PurchQtyOrdered quantity on the line, in purchase units. | RealPurchOrderedQty | No | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
PurchReceivedNowQuantity to receive now, in purchase units. | RealPurchQty | No | None | |
PurchReqIdPurchase requisition number the line came from. | String (25)PurchReqId | No | None | |
PurchReqLineRefIdUnique reference to the purchase requisition line. | GuidPurchReqLineRefId | No | PurchReqLine.LineRefId | None |
PurchStatusStatus of the line: none, open order, received, invoiced or cancelled. | EnumPurchStatus (enum) | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
PurchUnitUnit of measure used for purchasing the item. | StringPurchUnit | No | UnitOfMeasure.Symbol | VRMPurchaseOrderConfirmationArchivedLineEntityPurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity |
QtyOrderedOrdered quantity, in inventory units. | RealInventQty | 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 | |
RemainInventFinancialQuantity still to be invoiced, in inventory units. | RealInventQty | No | None | |
RemainInventPhysicalQuantity still to be delivered, in inventory units. | RealInventQty | No | None | |
RemainPurchFinancialQuantity still to be invoiced, in purchase units. | RealPurchQty | No | None | |
RemainPurchPhysicalQuantity still to be delivered, in purchase units. | RealPurchQty | No | None | |
RentalItemRecord ID of the fleet item linked to the line. | Int64RentalItemRecId | No | RentalItemTable.RecId | None |
ReqAttentionNote giving attention information for the requisition. | String (255)PurchReqAttention | No | None | |
ReqPlanIdSchedMaster plan ID, pointing to a master plan setup record. | StringReqPlanIdSched | No | ReqPlanSched.ReqPlanIdSched | None |
ReqPOIdNumber of the planned order linked to the line.low confidence | String (20)ReqPOId | No | None | |
RequestedShipDateDate on which the vendor is asked to ship the goods. | DatePurchRequestedShipDate | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
RequesterRecord ID of the worker who requested the purchase. | Int64PurchRequester | No | HcmWorker.RecId | None |
ReturnActionIdReturn action code for a returned line. | StringPurchReturnActionId | No | None | |
ReturnDispositionCodeIdDisposition code for a returned line. | StringReturnDispositionCodeId | No | ReturnDispositionCode.DispositionCodeId | None |
ReturnStatusStatus of a return line, such as expected, registered, quarantine, received, invoiced or cancelled. | EnumReturnStatusLine (enum) | No | None | |
ScrapYes/No flag showing that the item is scrapped. | EnumNoYes (enum) | No | None | |
ShipCalendarIdCalendar of the vendor that sets its shipping days. | StringPurchVendorShipCalendarId | No | None | |
ShipNameName used for the shipping address. | String (100)LogisticsAddressName | No | None | |
ShippingDateConfirmedShip date confirmed for the line. | DateSalesShippingDateConfirmed | No | PurchPurchaseOrderConfirmationLineEntity | |
ShippingDateRequestedShip date requested for the line. | DateSalesShippingDateRequested | No | PurchPurchaseOrderConfirmationLineEntityVRMPurchaseOrderConsignmentInventoryLineEntity | |
ShipPostalAddressRecord ID of the postal address used for shipping. | Int64LogisticsPostalAddressRecId | No | None | |
SkipUpdateControls whether intercompany updates are skipped: no, internal, intercompany or both. | EnumInterCompanySkipUpdate (enum) | No | None | |
SourceDocumentLineRecord ID of the source document line linked to the purchase line. | Int64RefRecId | No | SourceDocumentLine.RecId | None |
StatProcIdStatistics procedure code for Intrastat reporting. | StringIntrastatProcId | No | PurchPurchaseOrderConfirmationLineEntity | |
StatTriangularDealYes/No flag showing that the line is part of a triangular deal for Intrastat. | EnumIntrastatTriangularDealNoYes (enum) | No | PurchPurchaseOrderConfirmationLineEntity | |
StockedProductYes/No flag showing whether the product is stocked. | EnumTradeStockedProductNoYes (enum) | No | None | |
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 | |
Tax1099AmountAmount reported for 1099 tax purposes. | RealTax1099Amount | No | PurchPurchaseOrderConfirmationLineEntity | |
Tax1099FieldsRecord ID of the 1099 box that the line is reported in. | Int64Tax1099FieldsRecId | No | Tax1099Fields.RecId | None |
Tax1099RecIdRecord ID of the 1099 detail record. | Int64Tax1099RecId | No | Tax1099BoxDetail.RecId | None |
Tax1099StateState or province used for 1099 reporting. | StringTax1099State | No | PurchPurchaseOrderConfirmationLineEntity | |
Tax1099StateAmountState amount reported for 1099 tax purposes. | RealTax1099StateAmount | No | PurchPurchaseOrderConfirmationLineEntity | |
TaxAutogeneratedYes/No flag showing that the tax was generated automatically. | EnumTaxAutoGeneratedNoYes (enum) | No | None | |
TaxGroupSales tax group applied to the line, pointing to a sales tax group record. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | PurchPurchaseOrderConfirmationLineEntity |
TaxItemGroupItem sales tax group applied to the line, pointing to a sales tax item group record. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | PurchPurchaseOrderConfirmationLineEntity |
TaxServiceCode_BRService tax code for the line; used for Brazil. | StringTaxServiceCodeId_BR | No | None | |
TaxWithholdBaseCur_THAdjusted base amount for withholding tax; used for Thailand. | RealTaxWithholdBaseCur | No | None | |
TaxWithholdGroup_THWithholding tax group for the line; used for Thailand. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | PurchPurchaseOrderConfirmationLineEntity |
TaxWithholdItemGroupHeading_THRecord ID of the item withholding tax group; used for Thailand. | Int64TaxWithholdItemGroupId_TH | No | TaxWithholdItemGroupHeading_TH.RecId | None |
TransactionCodeTransaction code for Intrastat reporting. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | PurchPurchaseOrderConfirmationLineEntity |
TransportTransport method code for Intrastat reporting. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | PurchPurchaseOrderConfirmationLineEntity |
UnderDeliveryPctPercentage by which less than the ordered quantity may be delivered. | RealPurchUnderDeliveryPct | No | PurchPurchaseOrderConfirmationLineEntity | |
VendAccountVendor account number for the line, pointing to a vendor record. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
VendGroupVendor group of the vendor on the line. | StringVendGroupId | Yes | VendGroup.VendGroup | None |
Indexes (3)
TransIdIdxReplacement keyInventTransId,ValidTo,ValidFromUnique, alternate key.
Tax1099FieldsIdxNot unique.
PurchIdIdxNot unique.
Relations (63)
Each relation joins PurchLineHistory to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany PurchLineHistory records → zero or one AccountingDistributionTemplate record
AgreementLine→AgreementLineJoin on
MatchingAgreementLine = AgreementLine.RecIdMany PurchLineHistory records → zero or one AgreementLine record
AssetBook→AssetBookJoin on
AssetId = AssetBook.AssetId,AssetBookId = AssetBook.BookIdMany PurchLineHistory records → zero or one AssetBook record
AssetBookTable→AssetBookTableJoin on
AssetBookId = AssetBookTable.BookIdMany PurchLineHistory records → zero or one AssetBookTable record
AssetGroup→AssetGroupJoin on
AssetGroup = AssetGroup.GroupIdMany PurchLineHistory records → zero or one AssetGroup record
AssetTable→AssetTableJoin on
AssetId = AssetTable.AssetIdMany PurchLineHistory records → zero or one AssetTable record
BarcodeSetup→BarcodeSetupJoin on
BarCodeType = BarcodeSetup.barcodeSetupIdMany PurchLineHistory records → zero or one BarcodeSetup record
BOMTable→BOMTableJoin on
ItemBOMId = BOMTable.BOMIdMany PurchLineHistory records → zero or one BOMTable record
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany PurchLineHistory records → zero or one CFOPTable_BR record
Common→CommonJoin on
AddressRefRecId = Common.RecId,AddressRefTableId = Common.TableIdCardinality not set in the metadata.
CountyOrigDest→LogisticsAddressCountyJoin on
CountyOrigDest = LogisticsAddressCounty.CountyIdMany PurchLineHistory records → zero or one LogisticsAddressCounty record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchLineHistory records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PurchLineHistory records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany PurchLineHistory records → zero or one LogisticsPostalAddress record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany PurchLineHistory records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany PurchLineHistory records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany PurchLineHistory records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany PurchLineHistory records → zero or one IntrastatTransportMode record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany PurchLineHistory records → zero or one InventDim record
InventItemBarcode→InventItemBarcodeJoin on
BarCode = InventItemBarcode.itemBarCodeMany PurchLineHistory records → zero or one InventItemBarcode record
InventJournalTableRef→InventJournalTableJoin on
ItemRefType = InventRefType::InventJournal,InventRefId = InventJournalTable.JournalIdMany PurchLineHistory records → zero or one InventJournalTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PurchLineHistory records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany PurchLineHistory records → zero or one InventTransOrigin record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany PurchLineHistory records → zero or one DimensionAttributeValueCombination record
ProcurementCategory→EcoResCategoryJoin on
ProcurementCategory = EcoResCategory.RecIdMany PurchLineHistory records → zero or one EcoResCategory record
ProdLineRef→ProdTableJoin on
InventRefId = ProdTable.ProdId,ItemRefType = InventRefType::ProdLineMany PurchLineHistory records → zero or one ProdTable record
ProdTableRef→ProdTableJoin on
ItemRefType = InventRefType::Production,InventRefId = ProdTable.ProdIdMany PurchLineHistory records → zero or one ProdTable record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany PurchLineHistory records → zero or one ProjCategory record
ProjectSalesCurrency→CurrencyJoin on
ProjSalesCurrencyId = Currency.CurrencyCodeMany PurchLineHistory records → zero or one Currency record
ProjectTaxGroupHeading→TaxGroupHeadingJoin on
ProjTaxGroupId = TaxGroupHeading.TaxGroupMany PurchLineHistory records → zero or one TaxGroupHeading record
ProjectTaxItemGroupHeading→TaxItemGroupHeadingJoin on
ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany PurchLineHistory records → zero or one TaxItemGroupHeading record
ProjItemTrans→ProjItemTransJoin on
ProjTransId = ProjItemTrans.ProjTransIdMany PurchLineHistory records → zero or one ProjItemTrans record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany PurchLineHistory records → zero or one ProjLineProperty record
ProjSalesUnitId→UnitOfMeasureJoin on
ProjSalesUnitId = UnitOfMeasure.SymbolMany PurchLineHistory records → zero or one UnitOfMeasure record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany PurchLineHistory records → zero or one ProjTable record
ProjWorker→HcmWorkerJoin on
ProjWorker = HcmWorker.RecIdMany PurchLineHistory records → zero or one HcmWorker record
PurchCommitmentLine_PSN→PurchCommitmentLine_PSNJoin on
PurchCommitmentLine_PSN = PurchCommitmentLine_PSN.RecIdMany PurchLineHistory records → zero or one PurchCommitmentLine_PSN record
PurchLine→PurchLineJoin on
InventTransId = PurchLine.InventTransIdMany PurchLineHistory records → zero or one PurchLine record
PurchReqLine→PurchReqLineJoin on
PurchReqLineRefId = PurchReqLine.LineRefIdZero or one PurchLineHistory record → zero or one PurchReqLine record
PurchReturnActionDefaults→ReturnActionDefaultsJoin on
ReturnActionId = ReturnActionDefaults.ReturnActionId,ReturnActionDefaults.Module = ModuleInventPurchSales::PurchMany PurchLineHistory records → zero or one ReturnActionDefaults record
PurchTableHistory→PurchTableHistoryJoin on
PurchId = PurchTableHistory.PurchIdMany PurchLineHistory records → exactly one PurchTableHistory record
PurchUnit→UnitOfMeasureJoin on
PurchUnit = UnitOfMeasure.SymbolMany PurchLineHistory records → zero or one UnitOfMeasure record
ReqPlanSched→ReqPlanSchedJoin on
ReqPlanIdSched = ReqPlanSched.ReqPlanIdSchedMany PurchLineHistory records → zero or one ReqPlanSched record
Requester_FK→HcmWorkerJoin on
Requester = HcmWorker.RecIdMany PurchLineHistory records → zero or one HcmWorker record
ReturnDispositionCode→ReturnDispositionCodeJoin on
ReturnDispositionCodeId = ReturnDispositionCode.DispositionCodeIdMany PurchLineHistory records → zero or one ReturnDispositionCode record
RouteTable→RouteTableJoin on
ItemRouteId = RouteTable.RouteIdMany PurchLineHistory records → zero or one RouteTable record
SalesTableRef→SalesTableJoin on
ItemRefType = InventRefType::Sales,InventRefId = SalesTable.SalesIdMany PurchLineHistory records → zero or one SalesTable record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany PurchLineHistory records → zero or one smmActivities record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany PurchLineHistory records → zero or one SourceDocumentLine record
State→LogisticsAddressStateJoin on
Tax1099State = LogisticsAddressState.StateIdMany PurchLineHistory records → zero or one LogisticsAddressState record
Tax1099BoxDetail→Tax1099BoxDetailJoin on
Tax1099RecId = Tax1099BoxDetail.RecIdZero or one PurchLineHistory record → zero or one Tax1099BoxDetail record
Tax1099Fields→Tax1099FieldsJoin on
Tax1099Fields = Tax1099Fields.RecIdMany PurchLineHistory records → zero or one Tax1099Fields record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany PurchLineHistory records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany PurchLineHistory records → zero or one TaxItemGroupHeading record
TaxWithholdGroupHeading→TaxWithholdGroupHeadingJoin on
TaxWithholdGroup_TH = TaxWithholdGroupHeading.TaxWithholdGroupMany PurchLineHistory records → zero or one TaxWithholdGroupHeading record
TaxWithholdItemGroupHeading_TH→TaxWithholdItemGroupHeading_THJoin on
TaxWithholdItemGroupHeading_TH = TaxWithholdItemGroupHeading_TH.RecIdMany PurchLineHistory records → zero or one TaxWithholdItemGroupHeading_TH record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupMany PurchLineHistory records → exactly one VendGroup record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany PurchLineHistory records → exactly one VendTable record
OrigCountryRegion→LogisticsAddressCountryRegionNameViewJoin on
OrigCountryRegionId = LogisticsAddressCountryRegionNameView.CountryRegionIdMany PurchLineHistory records → zero or one LogisticsAddressCountryRegionNameView record
OrigState→LogisticsAddressStateJoin on
OrigCountryRegionId = LogisticsAddressState.CountryRegionId,OrigStateId = LogisticsAddressState.StateIdMany PurchLineHistory records → zero or one LogisticsAddressState record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany PurchLineHistory records → zero or one EcoResCategory record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany PurchLineHistory records → zero or one FinTag record
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany 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.
VRMPurchaseOrderConfirmationArchivedLineEntity· 12 fields from this tablePurchPurchaseOrderConfirmationLineEntity· 66 fields from this tableVRMPurchaseOrderConsignmentInventoryLineEntity· 18 fields from this table
Need help with PurchLineHistory in a report, an integration or a migration? Talk to Dr Dynamics.