Data entity
PurchPurchaseOrderLineEntity
Purchase order lines, keyed by purchase order number and line number. Each record holds item, quantity, price, discount, net amount, delivery dates, tax groups and line status. It also links to dimensions, delivery address, catch weight and several country-specific tax details.
- Entity name
PurchPurchaseOrderLineEntity- Public entity name
PurchaseOrderLine- OData collection
PurchaseOrderLines- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
PurchaseOrderNumber, LineNumber- Staging table
PurchPurchaseOrderLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseOrderLines- Dataverse virtual table
mserp_purchpurchaseorderlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PurchLine· rootAccountingDistributionTemplate· OuterJoin toPurchLine· read-onlyTax1099Fields· OuterJoin toPurchLine· read-onlyEcoResCategory_IntrastatCommodity(tableEcoResCategory) · OuterJoin toPurchLine· read-onlyPCClass1(tablePCClass) · Derived toEcoResCategory_IntrastatCommodityDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toPurchLine· read-onlyLedgerDimensionDAVC(tableDimensionCombinationEntity) · OuterJoin toPurchLine· read-onlyLogisticsPostalAddressBaseEntity· OuterJoin toPurchLineInventDim· OuterJoin toPurchLine· read-onlyTax1099BoxDetail· OuterJoin toPurchLinePurchLineForeignTradeCategory· OuterJoin toPurchLineNGPCodesTable_FR· OuterJoin toPurchLineForeignTradeCategory· read-onlyWHSPurchLine· OuterJoin toPurchLinePdsCatchWeightItem· OuterJoin toPurchLine· read-onlyEcoResCategory_ProcurementCategory(tableEcoResCategory) · OuterJoin toPurchLine· read-onlyEcoResCategory_ProcurementCategory_PCClass(tablePCClass) · Derived toEcoResCategory_ProcurementCategoryHcmWorker_Requester(tableHcmWorker) · OuterJoin toPurchLine· read-onlyHcmWorker_ProjectWorker(tableHcmWorker) · OuterJoin toPurchLine· read-onlyPurchLine_Intrastat· OuterJoin toPurchLine· read-onlyTaxWithholdItemGroupHeading_TH· OuterJoin toPurchLine· read-onlyCFOPTable_BR· OuterJoin toPurchLine· read-onlyBudgetReservationLine_PSN· OuterJoin toPurchLineBudgetReservationHeader_PSN· OuterJoin toBudgetReservationLine_PSN
Fields (140)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PurchaseOrderLineStatusStatus of the line: None, Open order, Received, Invoiced or Canceled. | Enum
| No | Yes | PurchLine.PurchStatus | |
SalesTaxItemGroupCodeItem sales tax group applied to the line. It points to an item sales tax group record. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | PurchLine.TaxItemGroup |
SalesTaxGroupCodeSales tax group applied to the line. It points to a sales tax group record. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | PurchLine.TaxGroup |
AccountingDistributionTemplatePoints to the accounting distribution template linked to the line. | Int64AccountingDistributionTemplateRecId | No | No (private) | AccountingDistributionTemplate.RecId | PurchLine.AccountingDistributionTemplate |
AccountingDistributionTemplateNameName that identifies the template. | String (40)TemplateName | No | Yes | AccountingDistributionTemplate.Name | |
FixedAssetValueModelIdFixed asset book used for the asset on this line. It points to a fixed asset book record. | StringAssetBookIdPurchSalesInvent | No | Yes | AssetBookTable.BookId | PurchLine.AssetBookId |
FixedAssetGroupIdFixed asset group for the asset bought on this line. It points to a fixed asset group. | StringAssetGroupId | No | Yes | AssetGroup.GroupId | PurchLine.AssetGroup |
FixedAssetNumberNumber of the fixed asset linked to the line. It points to a fixed asset record. | String (20)AssetIdOpen | No | Yes | AssetTable.AssetId | PurchLine.AssetId |
FixedAssetTransactionTypeType of fixed asset transaction for the line. Values are Acquisition, Acquisition adjustment and Pre-Acquisition. | EnumAssetTransTypePurchEDT
| No | Yes | PurchLine.AssetTransTypePurch | |
BarcodeBar code value of the item on the line. | String (80)PurchBarCode | No | Yes | PurchLine.BarCode | |
BarCodeSetupIdBar code setup used for the bar code. It points to a bar code setup record. | StringBarcodeSetupId | No | Yes | BarcodeSetup.barcodeSetupId | PurchLine.BarCodeType |
IsLineStoppedYes/No flag showing whether the line is stopped. | EnumLineStopped
| No | Yes | PurchLine.Blocked | |
IsPartialDeliveryPreventedYes/No flag. When set, the line should be delivered in full, with no partial deliveries. | EnumLineComplete
| No | Yes | PurchLine.Complete | |
ConfirmedDeliveryDateDate on which the vendor confirmed the receipt of the goods. | DatePurchLineConfirmedReceiptDate | No | Yes | PurchLine.ConfirmedDlv | |
IsNewFixedAssetYes/No flag showing whether a new fixed asset is created for the line. | EnumCreateFixedAsset
| No | Yes | PurchLine.CreateFixedAsset | |
CustomerReferenceCustomer reference text for the line. | String (60)CustRefLine | No | Yes | PurchLine.CustomerRef | |
CustomerRequisitionNumberCustomer requisition number linked to the line. | String (20)CustPurchaseOrder | No | Yes | PurchLine.CustPurchaseOrderFormNum | |
DefaultLedgerDimensionFinancial dimension values set for the line. It points to a dimension value set. | Int64InventSiteLinkedDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | PurchLine.DefaultDimension |
RequestedDeliveryDateReceipt date requested for the goods on this line. | DatePurchLineRequestedReceiptDate | No | Yes | PurchLine.DeliveryDate | |
DeliveryAddressNameName of the delivery location or recipient. | String (100)LogisticsDeliveryName | No | Yes | PurchLine.DeliveryName | |
ExternalItemNumberThe item number that the vendor uses for this item. | String (20)PurchExternalItemId | No | Yes | PurchLine.ExternalItemId | |
GSTHSTTaxTypeType of GST/HST treatment for the line, such as rebates, tax on acquisition or self-assessment. Used for Canada. | Enum
| No | Yes | PurchLine.GSTHSTTaxType_CA | |
BOMIdBill of materials used for the item on the line. It points to a bill of materials. | String (20)ItemBOMId | No | Yes | BOMTable.BOMId | PurchLine.ItemBOMId |
ItemNumberNumber of the item being purchased. It points to an item record. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchLine.ItemId |
RouteIdRoute used for the item on the line. It points to a route record. | String (20)ItemRouteId | No | Yes | RouteTable.RouteId | PurchLine.ItemRouteId |
MainAccountIdLedger account and dimension combination for the line. It points to a dimension combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | PurchLine.LedgerDimension |
LineAmountNet amount of the line. | RealPurchLineAmount | No | Yes | PurchLine.LineAmount | |
LineDiscountAmountDiscount value on the line. | RealPurchLineDisc | No | Yes | PurchLine.LineDisc | |
LineNumberNumber of the line within the purchase order. | Int64TradeLineNumber | No | Yes | PurchLine.LineNumber | |
LineDiscountPercentageLine discount, as a percentage. | RealPurchLinePercent | No | Yes | PurchLine.LinePercent | |
VendorInvoiceMatchingPolicyMatching rule for the line: three-way, two-way or not required. | Enum
| No | Yes | PurchLine.MatchingPolicy | |
MultilineDiscountAmountMultiline discount amount on the line. | RealPurchMultiLnDisc | No | Yes | PurchLine.MultiLnDisc | |
MultilineDiscountPercentageMultiline discount on the line, as a percentage. | RealPurchMultiLnPercent | No | Yes | PurchLine.MultiLnPercent | |
LineDescriptionFree text description of the line or item. | String (1000)ItemFreeTxt | No | Yes | PurchLine.Name | |
DIOTOperationTypeType of operation for the vendor transaction, such as sale of goods or rent. Used for Mexico. | Enum
| No | Yes | PurchLine.OperationType_MX | |
AllowedOverdeliveryPercentagePercentage by which more than the ordered quantity may be delivered. | RealPurchOverDeliveryPct | No | Yes | PurchLine.OverDeliveryPct | |
OrderedCatchWeightQuantityOrdered quantity in catch weight units. | RealPdsCWInventQty | No | Yes | PurchLine.PdsCWQty | |
PurchasePriceQuantityNumber of units that the unit price applies to. | RealPriceUnit | No | Yes | PurchLine.PriceUnit | |
ProcurementProductCategoryRecIdProcurement category of the line. It points to a category record. | Int64PurchCategory | No | No (private) | EcoResCategory.RecId | PurchLine.ProcurementCategory |
ProcurementProductCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header. | String (20)PurchIdBase | Yes | Yes | PurchTable.PurchId | PurchLine.PurchId |
FixedPriceChargesCharges added to the line. | RealPurchMarkup | No | Yes | PurchLine.PurchMarkup | |
PurchasePricePrice for one price unit of the item. | RealPurchPrice | No | Yes | PurchLine.PurchPrice | |
OrderedPurchaseQuantityQuantity ordered, in the purchase unit. | RealPurchOrderedQty | No | Yes | PurchLine.PurchQty | |
PurchaseUnitSymbolUnit of measure used for the purchase quantity. | StringPurchUnit | No | Yes | UnitOfMeasure.Symbol | PurchLine.PurchUnit |
ConfirmedShippingDateShip date confirmed for the line. | DateSalesShippingDateConfirmed | No | Yes | PurchLine.ShippingDateConfirmed | |
RequestedShippingDateShip date requested for the line. | DateSalesShippingDateRequested | No | Yes | PurchLine.ShippingDateRequested | |
PurchaseRebateVendorGroupIdVendor rebate item group for the line. It points to an item rebate group. | String (20)TAMItemVendRebateGroupId | No | Yes | TAMItemVendRebateGroup.ItemVendRebateGroupId | PurchLine.TAMItemVendRebateGroupId |
Tax1099AmountAmount reported for 1099 tax purposes. | RealTax1099Amount | No | Yes | PurchLine.Tax1099Amount | |
Tax1099StateIdState or province used for 1099 reporting. | StringTax1099State | No | Yes | PurchLine.Tax1099State | |
Tax1099StateAmountState amount reported for 1099 purposes. | RealTax1099StateAmount | No | Yes | PurchLine.Tax1099StateAmount | |
IntrastatPortIdPort used for Intrastat reporting. It points to a port record. | StringIntrastatPortId | No | Yes | IntrastatPort.PortId | PurchLine.Port |
IntrastatCommodityCommodity code for Intrastat reporting. It points to a category record. | Int64IntrastatCommodityId | No | No (private) | EcoResCategory.RecId | PurchLine.IntrastatCommodity |
IntrastatCommodityCodeCommodity code of the category. | String (20)EcoResCategoryCommodityCode | No | Yes | EcoResCategory.Code | |
IntrastatStatisticsProcedureCodeStatistics procedure code for Intrastat reporting. | StringIntrastatProcId | No | Yes | PurchLine.StatProcId | |
IsIntrastatTriangularDealYes/No flag showing whether the trade is a triangular deal. | EnumIntrastatTriangularDeal
| No | Yes | PurchLine.StatTriangularDeal | |
IntrastatTransactionCodeIntrastat transaction code for the line. | StringIntrastatTransactionCodeId | No | Yes | IntrastatTransactionCode.TransactionCode | PurchLine.TransactionCode |
IntrastatTransportModeCodeTransport method for Intrastat reporting. | StringIntrastatTransport | No | Yes | IntrastatTransportMode.TransPortCode | PurchLine.Transport |
OriginCountryRegionIdCountry or region where the goods come from. | StringItemOrigCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | PurchLine.OrigCountryRegionId |
OriginStateIdState where the goods come from. It is checked together with the country or region. | StringItemOrigStateId | No | Yes | LogisticsAddressState.StateId | PurchLine.OrigStateId |
AllowedUnderdeliveryPercentagePercentage by which less than the ordered quantity may be delivered. | RealPurchUnderDeliveryPct | No | Yes | PurchLine.UnderDeliveryPct | |
RetailProductVariantNumberProduct variant number of the item on the line. | StringRetailVariantId | No | Yes | PurchLine.VariantId | |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
MainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DeliveryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | LogisticsPostalAddress.RecId | |
IsDeliveryAddressOrderSpecificYes/No flag showing whether the line uses a one-time delivery address that applies only to this order. | EnumNoYesId
| No | Yes | computed | |
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
FormattedDelveryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
DeliveryBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
DeliveryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
DeliveryCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
DeliveryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
DeliveryAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
DeliveryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
DeliveryAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
DeliveryAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table. | String (9)LogisticsDunsNumber | No | Yes | DirDunsNumber.DunsNumber | |
IsDeliveryAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
DeliveryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
DeliveryAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
DeliveryAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
DeliveryAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
DeliveryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
DeliveryStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
DeliveryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
DeliveryValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
DeliveryValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
DeliveryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
DeliveryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
ReceivingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ReceivingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
OrderedInventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
Tax1099FieldsPoints to the 1099 box for the line. | Int64Tax1099FieldsRecId | No | No (private) | Tax1099Fields.RecId | PurchLine.Tax1099Fields |
Tax1099TypeType of 1099 form, such as 1099-MISC, 1099-NEC or 1099-INT. | Enum
| No | Yes | Tax1099Fields.Tax1099Type | |
Tax1099BoxIdCode of the 1099 box. | StringTax1099Box | No | Yes | Tax1099Fields.Tax1099Box | |
Tax1099GVendorStateIdState for box G-10a. | StringLogisticsAddressStateId | No | Yes | Tax1099BoxDetail.State | |
Tax1099GVendorStateTaxIdState identification number, for box G-10b. | String (11)Tax1099StateTaxID | No | Yes | Tax1099BoxDetail.Tax1099StateTaxID | |
Tax1099GStateTaxWithheldAmountState income tax withheld, for box G-11. | RealTax1099StateTaxWithheld | No | Yes | Tax1099BoxDetail.Tax1099StateTaxWithheld | |
Tax1099GTaxYearTax year that the 1099 amount covers, for box G-3. | IntegerTax1099TaxYear | No | Yes | Tax1099BoxDetail.Tax1099TaxYear | |
IsTax1099GTradeOrBusinessIncomeYes/No flag for trade or business income, for box G-8. | EnumTax1099TradeOrBusiness
| No | Yes | Tax1099BoxDetail.Tax1099TradeOrBusiness | |
Tax1099SClosingDateClosing date of the sale, for box S-1. | DateTax1099DateOfClosing | No | Yes | Tax1099BoxDetail.Tax1099DateOfClosing | |
Tax1099SAddressOrLegalDescriptionAddress or legal description of the property, for box S-3. | String (39)Tax1099AddressOrLegalDesc | No | Yes | Tax1099BoxDetail.Tax1099AddressorLegalDesc | |
IsTax1099SPropertyOrServicesYes/No flag for whether the transferor received property or services, for box S-4. | EnumTax1099PropertyOrServices
| No | Yes | Tax1099BoxDetail.Tax1099PropertyOrServices | |
Tax1099SBuyerPartOfRealEstateTaxAmountPart of the real estate tax paid by the buyer, for box S-6. | RealTax1099BuyersTax | No | Yes | Tax1099BoxDetail.Tax1099BuyersTax | |
UnitWeightWeight of one unit of the line item. | RealWeight | No | Yes | PurchLineForeignTradeCategory.UnitWeight | |
NGPCodeRecIdNGP code assigned to the line, used for France. It is stored as a record ID. | Int64NGPCodesTableFRId | No | No (private) | NGPCodesTable_FR.RecId | PurchLineForeignTradeCategory.NGPCodesTable_FR |
NGPCodeThe NGP code, a whole number; used for France. | IntegerNGP_FR | No | Yes | NGPCodesTable_FR.NGPCode | |
WillProductReceivingCrossDockProductsYes/No flag showing whether the line is set up for cross docking. | EnumWHSCrossDock
| No | Yes | WHSPurchLine.CrossDock | |
CatchWeightUnitSymbolUnit used for catch weight. Points to UnitOfMeasure. | StringPdsCWUnitId | No | Yes | UnitOfMeasure.Symbol | PdsCatchWeightItem.PdsCWUnitId |
RequesterRecIdWorker who requested the purchase. It points to a worker record. | Int64PurchRequester | No | No (private) | HcmWorker.RecId | PurchLine.Requester |
RequesterPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ProjectIdProject that the line is charged to. It points to a project record. | String (20)ProjId | No | Yes | ProjTable.ProjId | PurchLine.ProjId |
ProjectCategoryIdProject category linked to the line. It points to a project category. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | PurchLine.ProjCategoryId |
ProjectSalesCurrencyCodeCurrency used for the project sales price. It points to a currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PurchLine.ProjSalesCurrencyId |
ProjectTaxGroupCodeSales tax group used for the project. It points to a sales tax group. | StringProjTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | PurchLine.ProjTaxGroupId |
ProjectTaxItemGroupCodeItem sales tax group used for the project. It points to an item sales tax group. | StringProjTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | PurchLine.ProjTaxItemGroupId |
ProjectSalesUnitSymbolUnit of measure used for the project sales price. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | PurchLine.ProjSalesUnitId |
ProjectWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ProjectLinePropertyIdProject line property for the line. It points to a line property record. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | PurchLine.ProjLinePropertyId |
ProjectSalesPriceSales price used for the project. | RealProjSalesPriceCost | No | Yes | PurchLine.ProjSalesPrice | |
IsProjectPayWhenPaidYes/No flag for pay when paid terms on the line. | EnumNoYesId
| No | Yes | PurchLine.IsPwp | |
IntrastatStatisticValueStatistical value for Intrastat reporting. Used for Lithuania. | RealLtIntrastatStatisticValue | No | Yes | PurchLine.StatisticValue_LT | |
IntrastatSpecialMovementCodeTwo-character special movement code for Intrastat, used for the Czech Republic. | String (2)IntrastatSpecMove_CZ | No | Yes | IntrastatSpecMovement_CZ.SpecialMovement_CZ | PurchLine_Intrastat.SpecialMovement_CZ |
WithholdingTaxGroupCodeWithholding tax group for the line. Used for Thailand. | StringTaxWithholdGroup | No | Yes | TaxWithholdGroupHeading.TaxWithholdGroup | PurchLine.TaxWithholdGroup_TH |
ItemWithholdingTaxGroupCodeIdentifier of the item withholding tax group. It is the key of the table. | StringTaxWithholdItemGroup_TH | No | Yes | TaxWithholdItemGroupHeading_TH.TaxWithholdItemGroup | |
PurchaseOrderLineCreationMethodHow the line was created: Purchase or Consignment. | Enum
| No | Yes | PurchLine.PurchaseOrderLineCreationMethod | |
CFOPCodeCFOP code. | String (5)CustVendCFOPId_BR | Yes | Yes | CFOPTable_BR.CFOPId | |
CFOPTableRecIdBrazilian CFOP code for the line. It points to a CFOP record. Used for Brazil. | Int64RefRecId | No | No (private) | CFOPTable_BR.RecId | PurchLine.CFOPTable_BR |
ServiceFiscalInformationCodeService code used for tax. Used for Brazil. | StringTaxServiceCodeId_BR | No | Yes | PurchLine.TaxServiceCode_BR | |
ProjectActivityNumberNumber of the activity that the line is linked to. It points to an activity record. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | PurchLine.ActivityNumber |
BudgetReservationLineRecIdPoints to the budget reservation line for the purchase line. Used for public sector. | Int64BudgetReservationLineRecId_PSN | No | No (private) | BudgetReservationLine_PSN.RecId | PurchLine.BudgetReservationLine_PSN |
BudgetReservationLineNumberNumber of the line within the reservation. | IntegerBudgetReservationLineNumber_PSN | No | Yes | BudgetReservationLine_PSN.LineNumber | |
BudgetReservationDocumentNumberUnique number of the reservation document. It is the key of the table. | String (20)BudgetReservationDocumentNumber_PSN | No | Yes | BudgetReservationHeader_PSN.DocumentNumber | |
PurchaseRequisitionIdNumber of the purchase requisition that the line came from. | String (25)PurchReqId | No | No (private) | PurchReqTable.PurchReqId | PurchLine.PurchReqId |
Foreign keys (50)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
SalesTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many PurchLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many PurchLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
AccountingDistributionTemplate→AccountingDistributionTemplate.RecId(key of AccountingDistributionTemplate)Many PurchLine records → zero or one AccountingDistributionTemplate record
AccountingDistributionTemplate details: see FinancialDimensionDefaultTemplateEntity, HcmPositionDefaultDimensionDualWriteEntity, HcmPositionDefaultDimensionEntity
FixedAssetValueModelId→AssetBookTable.BookId(key of AssetBookTable)Many PurchLine records → zero or one AssetBookTable record
AssetBookTable details: see AssetValueModelSetupEntity, AssetBookTableBiEntity, AssetBookTableCDREntity
FixedAssetGroupId→AssetGroup.GroupId(key of AssetGroup)Many PurchLine records → zero or one AssetGroup record
AssetGroup details: see AssetGroupEntity, AssetGroupBiEntity, DimAttributeAssetGroupEntity
FixedAssetNumber→AssetTable.AssetId(key of AssetTable)Many PurchLine records → zero or one AssetTable record
AssetTable details: see AssetFixedAssetV2Entity, AssetFixedAssetEntity, EntAssetMaintenanceAssetV3Entity
BarCodeSetupId→BarcodeSetup.barcodeSetupId(key of BarcodeSetup)Many PurchLine records → zero or one BarcodeSetup record
BarcodeSetup details: see BarcodeSetupEntity, BarcodeSetupBiEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many PurchLine records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
BOMId→BOMTable.BOMId(key of BOMTable)Many PurchLine records → zero or one BOMTable record
BOMTable details: see BOMBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderV3Entity
ItemNumber→InventTable.ItemId(key of InventTable)Many PurchLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
RouteId→RouteTable.RouteId(key of RouteTable)Many PurchLine records → zero or one RouteTable record
RouteTable details: see RouteHeaderEntity, EngChgReceivedProductReleaseLineEntity, EngChgSentProductReleaseLineEntity
MainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PurchLine records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
ProcurementProductCategoryRecId→EcoResCategory.RecId(key of EcoResCategory)Many PurchLine records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
PurchaseOrderNumber→PurchTable.PurchId(key of PurchTable)Many PurchLine records → exactly one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
PurchaseUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PurchLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
PurchaseRebateVendorGroupId→TAMItemVendRebateGroup.ItemVendRebateGroupId(key of TAMItemVendRebateGroup)Many PurchLine records → zero or one TAMItemVendRebateGroup record
Not exposed by a public entity.
IntrastatPortId→IntrastatPort.PortId(key of IntrastatPort)Many PurchLine records → zero or one IntrastatPort record
IntrastatPort details: see IntrastatPortEntity
IntrastatCommodity→EcoResCategory.RecId(key of EcoResCategory)Many PurchLine records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
IntrastatTransactionCode→IntrastatTransactionCode.TransactionCode(key of IntrastatTransactionCode)Many PurchLine records → zero or one IntrastatTransactionCode record
IntrastatTransactionCode details: see IntrastatTransactionCodeEntity
IntrastatTransportModeCode→IntrastatTransportMode.TransPortCode(key of IntrastatTransportMode)Many PurchLine records → zero or one IntrastatTransportMode record
IntrastatTransportMode details: see IntrastatTransportMethodEntity
OriginCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PurchLine records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
OriginStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
OriginStateId=LogisticsAddressState.StateId,OriginCountryRegionId=LogisticsAddressState.CountryRegionIdMany PurchLine records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
DeliveryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
DeliveryAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
DeliveryAddressCountyId=LogisticsAddressCounty.CountyId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
DeliveryAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
DeliveryAddressStateId=LogisticsAddressState.StateId,DeliveryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
ReceivingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ReceivingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
OrderedInventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
Tax1099Fields→Tax1099Fields.RecId(key of Tax1099Fields)Many PurchLine records → zero or one Tax1099Fields record
Tax1099Fields details: see Tax1099FieldsEntity, PurchPurchaseOrderConfirmationLineEntity, PurchPurchaseOrderLineV2Entity
NGPCodeRecId→NGPCodesTable_FR.RecId(key of NGPCodesTable_FR)Many PurchLineForeignTradeCategory records → zero or one NGPCodesTable_FR record
NGPCodesTable_FR details: see IntrastatEntity, IntrastatEntityV2, NGPCodeEntity
CatchWeightUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PdsCatchWeightItem records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
RequesterRecId→HcmWorker.RecId(key of HcmWorker)Many PurchLine records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many PurchLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many PurchLine records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectSalesCurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjectTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many PurchLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
ProjectTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many PurchLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ProjectSalesUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PurchLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ProjectLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many PurchLine records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
IntrastatSpecialMovementCode→IntrastatSpecMovement_CZ.SpecialMovement_CZ(key of IntrastatSpecMovement_CZ)Many PurchLine_Intrastat records → zero or one IntrastatSpecMovement_CZ record
IntrastatSpecMovement_CZ details: see IntrastatSpecialMovementEntity
WithholdingTaxGroupCode→TaxWithholdGroupHeading.TaxWithholdGroup(key of TaxWithholdGroupHeading)Many PurchLine records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeading details: see TaxWithholdingGroupEntity
CFOPTableRecId→CFOPTable_BR.RecId(key of CFOPTable_BR)Many PurchLine records → zero or one CFOPTable_BR record
CFOPTable_BR details: see CFOPCodesEntity, ProjectParameterEntity, InventTransferLineFiscalInfoEntity
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many PurchLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
BudgetReservationLineRecId→BudgetReservationLine_PSN.RecId(key of BudgetReservationLine_PSN)Many PurchLine records → zero or one BudgetReservationLine_PSN record
BudgetReservationLine_PSN details: see BudgetReservationAgreementLineEntity_PSN, PurchaseRequisitionLineCDSEntity, PurchaseRequisitionLineCDSV2Entity
PurchaseRequisitionId→PurchReqTable.PurchReqId(key of PurchReqTable)Many PurchLine records → zero or one PurchReqTable record
PurchReqTable details: see PurchaseRequisitionHeaderV2Entity, HcmContractorEntity, HcmContractorV2Entity
Need help with PurchPurchaseOrderLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.