Data entity

PurchaseRequisitionLineV2Entity

Holds purchase requisition lines, in the V2 form. Each record is keyed by the requisition number and line number. It shows item, category, quantity, price, vendor, buying legal entity, status, dates and the delivery address. Unlike the first version, it also links to financial tags.

Entity name
PurchaseRequisitionLineV2Entity
Public entity name
PurchaseRequisitionLineV2
OData collection
PurchaseRequisitionLinesV2
Category
Document
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PurchReq
Keys
RequisitionNumber, RequisitionLineNumber
Staging table
PurchaseRequisitionLineV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseRequisitionLinesV2
Dataverse virtual table
mserp_purchaserequisitionlinev2entity. 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

  • PurchReqLine · root
  • AccountingDistributionTemplate · OuterJoin to PurchReqLine · read-only
  • CompanyInfoDefault (table CompanyInfo) · OuterJoin to PurchReqLine · read-only
  • EcoResCategory_ProcurementCategory (table EcoResCategory) · OuterJoin to PurchReqLine · read-only
  • PCClass · Derived to EcoResCategory_ProcurementCategory
  • ReceivingOperatingUnit (table OMOperatingUnit) · OuterJoin to PurchReqLine · read-only
  • ProjSalesUnitOfMeasure (table UnitOfMeasure) · OuterJoin to PurchReqLine · read-only
  • PurchUnitOfMeasure (table UnitOfMeasure) · OuterJoin to PurchReqLine · read-only
  • PurchReqBusinessJustificationCodes · OuterJoin to PurchReqLine · read-only
  • PurchReqBusJustification · OuterJoin to PurchReqLine
  • PurchReqTable · InnerJoin to PurchReqLine · read-only
  • Requisitioner (table HcmWorker) · OuterJoin to PurchReqLine · read-only
  • DefaultLedgerDimensionDAVS (table DimensionSetEntity) · OuterJoin to PurchReqLine · read-only
  • InventDim · OuterJoin to PurchReqLine · read-only
  • LogisticsPostalAddressBaseEntity · OuterJoin to PurchReqLine
  • ReasonTableRef · OuterJoin to PurchReqLine · read-only
  • AssetRuleQualifierOption · OuterJoin to PurchReqLine · read-only
  • AssetRuleQualifierOptionLocal · OuterJoin to PurchReqLine · read-only
  • BudgetReservationLine_PSN · OuterJoin to PurchReqLine
  • BudgetReservationHeader_PSN · OuterJoin to BudgetReservationLine_PSN
  • FinTag · OuterJoin to PurchReqLine · read-only

Fields (100)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequisitionHeaderRecIdReference to the requisition header this line belongs to. Part of the key.Int64
RefRecId
YesNo (private)PurchReqTable.RecIdPurchReqLine.PurchReqTable
RequisitionNumberPurchase requisition number; the key of the table.String (25)
PurchReqId
YesYesPurchReqTable.PurchReqId
RequisitionLineNumberLine sequence number within the requisition. Part of the key.Integer
SequenceNumber
YesYesPurchReqLine.SequenceNumber
ItemNumberItem number requested on the line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchReqLine.ItemId
LineDescriptionDescription of the requested item.String (1000)
ItemFreeTxt
NoYesPurchReqLine.Name
LineTypeType of line: internal catalogue item, non-catalogue item or external catalogue item.Enum
PurchReqLineType
  • Item 0
  • Category 1
  • External 2
NoYesPurchReqLine.LineType
URLInternet address related to the line.String (255)
URL
NoYesPurchReqLine.URL
ExternalItemNumberItem number used by the vendor or an external catalogue.String (20)
ExternalItemId
NoYesPurchReqLine.ExternalItemId
ProductNameProduct name for a line that is not in a catalogue.String (60)
PurchReqItemIdNonCatalog
NoYesPurchReqLine.ItemIdNonCatalog
ProcurementProductCategoryRecIdProcurement category of the line. Points to a category record.Int64
EcoResCategoryId
NoNo (private)EcoResCategory.RecIdPurchReqLine.ProcurementCategory
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
ProcurementProductCategoryHierarchyRecIdPoints to the category hierarchy that the category belongs to.Int64
EcoResCategoryHierarchyId
YesYesEcoResCategoryHierarchy.RecIdEcoResCategory.CategoryHierarchy
RequestedPurchaseQuantityRequested quantity.Real
InventQty
NoYesPurchReqLine.PurchQty
PurchaseUnitOfMeasureRecIdUnit of the requested quantity. Points to a unit record.Int64
UnitOfMeasureRecId
YesNo (private)UnitOfMeasure.RecIdPurchReqLine.PurchUnitOfMeasure
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
YesYesUnitOfMeasure.Symbol
PurchasePriceUnit price of the requested item.Real
PurchReqPrice
NoYesPurchReqLine.PurchPrice
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchReqLine.LineAmount
CurrencyCodeCurrency of the line amounts.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePurchReqLine.CurrencyCode
PurchasePriceQuantityQuantity that the unit price applies to.Real
PriceUnit
NoYesPurchReqLine.PriceUnit
LineDiscountPercentageDiscount percentage on the line.Real
PurchLinePercent
NoYesPurchReqLine.LinePercent
LineDiscountAmountDiscount amount on the line.Real
PurchLineDisc
NoYesPurchReqLine.LineDisc
FixedPriceChargesCharges amount on the purchase.Real
PurchMarkup
NoYesPurchReqLine.PurchMarkup
VendorAccountNumberVendor account suggested for the line.String (20)
VendAccount
NoYesVendTable.AccountNumPurchReqLine.VendAccount
RFQRequirementLevelWhether a request for quotation is needed: none, informal or formal.Enum
PurchReqRFQRequirementType
PurchReqRFQRequirement
  • None 0
  • Informal 1
  • Formal 2
NoYesPurchReqLine.RFQRequirement
RequisitionerRecIdWorker who requests the line. Points to a worker record.Int64
PurchReqRequesterRefRecId
YesNo (private)HcmWorker.RecIdPurchReqLine.Requisitioner
RequisitionerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
BuyingLegalEntityRecIdLegal entity that buys the goods. Points to a company record.Int64
RefRecId
YesNo (private)CompanyInfo.RecIdPurchReqLine.BuyingLegalEntity
BuyingLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
ReceivingOperatingUnitRecIdOperating unit that receives the goods. Points to an operating unit record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdPurchReqLine.ReceivingOperatingUnit
ReceivingOperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
NoYesOMOperatingUnit.OMOperatingUnitNumber
LineStatusStatus of the line, such as draft, in review, approved, rejected, cancelled, closed or budget reserved.Enum
PurchReqRequisitionStatus
  • Draft 0
  • InReview 10
  • Rejected 20
  • Approved 30
  • Cancelled 40
  • Closed 50
  • ReferencedByBudgetReservation_PSN 60
NoYesPurchReqLine.RequisitionStatus
RequestedDateDate by which the goods or services are needed.Date
PurchReqRequiredDate
NoYesPurchReqLine.RequiredDate
AccountingDateAccounting date of the line.Date
PurchReqAccountingDate
NoYesPurchReqLine.TransDate
BusinessJustificationRecIdReason code explaining why the item is requested. Points to a business justification record.Int64
BusinessJustificationRefRecId
NoNo (private)PurchReqBusinessJustificationCodes.RecIdPurchReqLine.BusinessJustification
BusinessJustificationCodeCode of the business justification; this is the key of the table.String
PurchReqJustificationReasonCode
NoYesPurchReqBusinessJustificationCodes.Reason
BusinessJustificationDetailsFree-text details of the justification.String (-1)
PurchReqBusinessJustification
NoYesPurchReqBusJustification.BusinessJustification
IsPartialDeliveryPreventedYes/no option to prevent partial delivery of the line.Enum
LineComplete
NoYes

Platform enum: values not in the metadata extract.

NoYesPurchReqLine.LineComplete
IsPrepaymentRequiredYes/no flag showing whether prepayment is required.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPurchReqLine.IsPrepayment
PrePaymentDetailsFree-text details about the prepayment.String (40)
PurchReqLinePrePaymentDetails
NoYesPurchReqLine.PrePaymentDetails
SalesTaxItemGroupCodeItem sales tax group for the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupPurchReqLine.TaxItemGroup
SalesTaxGroupCodeSales tax group for the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupPurchReqLine.TaxGroup
DeliveryAddressNameName of the delivery recipient.String (160)
VendName
NoYesPurchReqLine.DeliveryName
DeliveryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)LogisticsPostalAddress.RecId
DeliveryAttentionInformationFree-text attention information for the line.String (255)
PurchReqAttention
NoYesPurchReqLine.Attention
ProjectIdProject ID the line is linked to.String (20)
ProjId
NoYesProjTable.ProjIdPurchReqLine.ProjId
ProjectActivityNumberProject activity number linked to the line.String (50)
ProjActivityNumber
NoYesProjActivity.ActivityNumbersmmActivities.ActivityNumberPurchReqLine.ActivityNumber
ProjectCategoryIdProject category for the line.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdPurchReqLine.ProjCategoryId
ProjectLinePropertyIdProject line property for the line.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdPurchReqLine.ProjLinePropertyId
ProjectSalesCurrencyCodeSales currency used for the project.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePurchReqLine.ProjSalesCurrencyId
ProjectSalesPriceSales price used for the project.Real
ProjSalesPriceCost
NoYesPurchReqLine.ProjSalesPrice
ProjectSalesUnitOfMeasureRecIdSales unit for the project. Points to a unit record.Int64
RefRecId
NoNo (private)UnitOfMeasure.RecIdPurchReqLine.ProjSalesUnitOfMeasure
ProjectSalesUnitSymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.Symbol
ProjectTaxGroupCodeSales tax group for the project.String
ProjTaxGroup
NoYesTaxGroupHeading.TaxGroupPurchReqLine.ProjTaxGroupId
ProjectTaxItemGroupCodeItem sales tax group for the project.String
ProjTaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupPurchReqLine.ProjTaxItemGroupId
FixedAssetGroupIdFixed asset group for the line.String
AssetGroupId
NoYesAssetGroup.GroupIdPurchReqLine.AssetGroup
FixedAssetReasonRecIdReference to a reason record.Int64
ReasonRefRecID
NoNo (private)ReasonTableRef.RecIdPurchReqLine.ReasonRefRecId
FixedAssetReasonCodeReason code, pointing to the reasons table.String
ReasonCode
NoYesReasonTable.ReasonReasonTableRef.Reason
FixedAssetRuleQualifierOptionNameName of the asset acquisition rule qualifier option linked to the line.String (30)
AssetRuleQualifierOptionName
NoYescomputed
AccountingDistributionTemplateRecIdAccounting distribution template applied to the line. Points to a template record.Int64
AccountingDistributionTemplateRecId
NoNo (private)AccountingDistributionTemplate.RecIdPurchReqLine.AccountingDistributionTemplate
AccountingDistributionTemplateNameName that identifies the template.String (40)
TemplateName
NoYesAccountingDistributionTemplate.Name
DefaultLedgerDimensionSet of financial dimension values for the line.Int64
PurchReqDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdPurchReqLine.DefaultDimension
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
FormattedDeliveryAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
DeliveryCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
DeliveryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
DeliveryAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
DeliveryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
DeliveryAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
DeliveryAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table.String (9)
LogisticsDunsNumber
NoYesDirDunsNumber.DunsNumber
IsDeliveryAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
DeliveryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
DeliveryAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
DeliveryAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
DeliveryAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
DeliveryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DeliveryStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DeliveryAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DeliveryValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
DeliveryValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
DeliveryAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
DeliveryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
IsDeliveryAddressOrderSpecificYes/No value showing whether the line uses a one-time delivery address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
ReceivingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ReceivingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
BudgetReservationLineRecIdBudget reservation line linked to this line. Used for public sector.Int64
BudgetReservationLineRecId_PSN
NoNo (private)BudgetReservationLine_PSN.RecIdPurchReqLine.BudgetReservationLine_PSN
BudgetReservationLineNumberNumber of the line within the reservation.Integer
BudgetReservationLineNumber_PSN
NoYesBudgetReservationLine_PSN.LineNumber
BudgetReservationDocumentNumberUnique number of the reservation document. It is the key of the table.String (20)
BudgetReservationDocumentNumber_PSN
NoYesBudgetReservationHeader_PSN.DocumentNumber
ReceivingOperatingUnitPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
OverrideSalesTaxYes/No choice that lets the user replace the sales tax result that the tax determination would normally give for this line.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesPurchReqLine.OverrideSalesTax
FinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue

Foreign keys (38)

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.

Need help with PurchaseRequisitionLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk