Data entity

PurchaseRequisitionLineCDSV2Entity

Purchase requisition lines prepared for Dataverse integration, in the V2 form. It is built on the V2 purchase requisition lines entity and adds product and category hierarchy details. Each record is keyed by the requisition number and line number, and includes delivery address fields and financial dimensions.

Entity name
PurchaseRequisitionLineCDSV2Entity
Public entity name
CDSPurchaseRequisitionLineV2
OData collection
CDSPurchaseRequisitionLinesV2
Category
Document
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PurchReq
Keys
RequisitionNumber, RequisitionLineNumber
Staging table
PurchaseRequisitionLineCDSV2Staging

Use it in Power BI and Power Platform

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

  • PurchaseRequisitionLineV2Entity · root
  • InventDistinctProductExpanded · OuterJoin to PurchaseRequisitionLineV2Entity · read-only
  • ProcurementProductCategoryHierarchy (table EcoResCategoryHierarchy) · OuterJoin to PurchaseRequisitionLineV2Entity · read-only

Fields (83)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ProductNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
NoYesEcoResProduct.DisplayProductNumber
AccountingDateAccounting date of the line.Date
PurchReqAccountingDate
NoYesPurchReqLine.TransDate
AccountingDistributionTemplateNameName that identifies the template.String (40)
TemplateName
NoYesAccountingDistributionTemplate.Name
BudgetReservationDocumentNumberUnique number of the reservation document. It is the key of the table.String (20)
BudgetReservationDocumentNumber_PSN
NoYesBudgetReservationHeader_PSN.DocumentNumber
BudgetReservationLineNumberNumber of the line within the reservation.Integer
BudgetReservationLineNumber_PSN
NoYesBudgetReservationLine_PSN.LineNumber
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
BuyingLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
CurrencyCodeCurrency of the line amounts.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePurchReqLine.CurrencyCode
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
DeliveryAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
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
DeliveryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
DeliveryAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
DeliveryAddressNameName of the delivery recipient.String (160)
VendName
NoYesPurchReqLine.DeliveryName
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
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
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
DeliveryAttentionInformationFree-text attention information for the line.String (255)
PurchReqAttention
NoYesPurchReqLine.Attention
DeliveryCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
DeliveryStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
ExternalItemNumberItem number used by the vendor or an external catalogue.String (20)
ExternalItemId
NoYesPurchReqLine.ExternalItemId
FixedAssetGroupIdFixed asset group for the line.String
AssetGroupId
NoYesAssetGroup.GroupIdPurchReqLine.AssetGroup
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
NoYesNone
FixedPriceChargesCharges amount on the purchase.Real
PurchMarkup
NoYesPurchReqLine.PurchMarkup
FormattedDeliveryAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
IsDeliveryAddressOrderSpecificYes/No value showing whether the line uses a one-time delivery address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesNone
IsDeliveryAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
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
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
ItemNumberItem number requested on the line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchReqLine.ItemId
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchReqLine.LineAmount
LineDescriptionDescription of the requested item.String (1000)
ItemFreeTxt
NoYesPurchReqLine.Name
LineDiscountAmountDiscount amount on the line.Real
PurchLineDisc
NoYesPurchReqLine.LineDisc
LineDiscountPercentageDiscount percentage on the line.Real
PurchLinePercent
NoYesPurchReqLine.LinePercent
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
LineTypeType of line: internal catalogue item, non-catalogue item or external catalogue item.Enum
PurchReqLineType
  • Item 0
  • Category 1
  • External 2
NoYesPurchReqLine.LineType
PrePaymentDetailsFree-text details about the prepayment.String (40)
PurchReqLinePrePaymentDetails
NoYesPurchReqLine.PrePaymentDetails
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductNameProduct name for a line that is not in a catalogue.String (60)
PurchReqItemIdNonCatalog
NoYesPurchReqLine.ItemIdNonCatalog
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
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
ProjectIdProject ID the line is linked to.String (20)
ProjId
NoYesProjTable.ProjIdPurchReqLine.ProjId
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
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
PurchasePriceUnit price of the requested item.Real
PurchReqPrice
NoYesPurchReqLine.PurchPrice
PurchasePriceQuantityQuantity that the unit price applies to.Real
PriceUnit
NoYesPurchReqLine.PriceUnit
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.Symbol
ReceivingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ReceivingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
RequestedDateDate by which the goods or services are needed.Date
PurchReqRequiredDate
NoYesPurchReqLine.RequiredDate
RequestedPurchaseQuantityRequested quantity.Real
InventQty
NoYesPurchReqLine.PurchQty
RequisitionerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
RequisitionLineNumberLine sequence number within the requisition. Part of the key.Integer
SequenceNumber
YesYesPurchReqLine.SequenceNumber
RequisitionNumberPurchase requisition number; the key of the table.String (25)
PurchReqId
YesYesPurchReqTable.PurchReqId
RFQRequirementLevelWhether a request for quotation is needed: none, informal or formal.Enum
PurchReqRFQRequirementType
PurchReqRFQRequirement
  • None 0
  • Informal 1
  • Formal 2
NoYesPurchReqLine.RFQRequirement
SalesTaxGroupCodeSales tax group for the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupPurchReqLine.TaxGroup
SalesTaxItemGroupCodeItem sales tax group for the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupPurchReqLine.TaxItemGroup
URLInternet address related to the line.String (255)
URL
NoYesPurchReqLine.URL
VendorAccountNumberVendor account suggested for the line.String (20)
VendAccount
NoYesVendTable.AccountNumPurchReqLine.VendAccount
ProcurementProductCategoryHierarchyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
NoYesEcoResCategoryHierarchy.Name
ReceivingOperatingUnitPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber

Foreign keys (25)

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 PurchaseRequisitionLineCDSV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk