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· rootInventDistinctProductExpanded· OuterJoin toPurchaseRequisitionLineV2Entity· read-onlyProcurementProductCategoryHierarchy(tableEcoResCategoryHierarchy) · OuterJoin toPurchaseRequisitionLineV2Entity· read-only
Fields (83)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ProductNumberProduct number shown to users. It identifies the product. | String (70)EcoResProductDisplayProductNumber | No | Yes | EcoResProduct.DisplayProductNumber | |
AccountingDateAccounting date of the line. | DatePurchReqAccountingDate | No | Yes | PurchReqLine.TransDate | |
AccountingDistributionTemplateNameName that identifies the template. | String (40)TemplateName | No | Yes | AccountingDistributionTemplate.Name | |
BudgetReservationDocumentNumberUnique number of the reservation document. It is the key of the table. | String (20)BudgetReservationDocumentNumber_PSN | No | Yes | BudgetReservationHeader_PSN.DocumentNumber | |
BudgetReservationLineNumberNumber of the line within the reservation. | IntegerBudgetReservationLineNumber_PSN | No | Yes | BudgetReservationLine_PSN.LineNumber | |
BusinessJustificationCodeCode of the business justification; this is the key of the table. | StringPurchReqJustificationReasonCode | No | Yes | PurchReqBusinessJustificationCodes.Reason | |
BusinessJustificationDetailsFree-text details of the justification. | String (-1)PurchReqBusinessJustification | No | Yes | PurchReqBusJustification.BusinessJustification | |
BuyingLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
CurrencyCodeCurrency of the line amounts. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PurchReqLine.CurrencyCode |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DeliveryAddressBuildingComplimentExtra 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 | |
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 | |
DeliveryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
DeliveryAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
DeliveryAddressNameName of the delivery recipient. | String (160)VendName | No | Yes | PurchReqLine.DeliveryName | |
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 | |
DeliveryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
DeliveryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
DeliveryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
DeliveryAttentionInformationFree-text attention information for the line. | String (255)PurchReqAttention | No | Yes | PurchReqLine.Attention | |
DeliveryCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
DeliveryStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
ExternalItemNumberItem number used by the vendor or an external catalogue. | String (20)ExternalItemId | No | Yes | PurchReqLine.ExternalItemId | |
FixedAssetGroupIdFixed asset group for the line. | StringAssetGroupId | No | Yes | AssetGroup.GroupId | PurchReqLine.AssetGroup |
FixedAssetReasonCodeReason code, pointing to the reasons table. | StringReasonCode | No | Yes | ReasonTable.Reason | ReasonTableRef.Reason |
FixedAssetRuleQualifierOptionNameName of the asset acquisition rule qualifier option linked to the line. | String (30)AssetRuleQualifierOptionName | No | Yes | None | |
FixedPriceChargesCharges amount on the purchase. | RealPurchMarkup | No | Yes | PurchReqLine.PurchMarkup | |
FormattedDeliveryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
IsDeliveryAddressOrderSpecificYes/No value showing whether the line uses a one-time delivery address. | EnumNoYesId
| No | Yes | None | |
IsDeliveryAddressPrivateShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
IsPartialDeliveryPreventedYes/no option to prevent partial delivery of the line. | EnumLineComplete
| No | Yes | PurchReqLine.LineComplete | |
IsPrepaymentRequiredYes/no flag showing whether prepayment is required. | Enum
| No | Yes | PurchReqLine.IsPrepayment | |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ItemNumberItem number requested on the line. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchReqLine.ItemId |
LineAmountNet amount of the line. | RealPurchLineAmount | No | Yes | PurchReqLine.LineAmount | |
LineDescriptionDescription of the requested item. | String (1000)ItemFreeTxt | No | Yes | PurchReqLine.Name | |
LineDiscountAmountDiscount amount on the line. | RealPurchLineDisc | No | Yes | PurchReqLine.LineDisc | |
LineDiscountPercentageDiscount percentage on the line. | RealPurchLinePercent | No | Yes | PurchReqLine.LinePercent | |
LineStatusStatus of the line, such as draft, in review, approved, rejected, cancelled, closed or budget reserved. | Enum
| No | Yes | PurchReqLine.RequisitionStatus | |
LineTypeType of line: internal catalogue item, non-catalogue item or external catalogue item. | Enum
| No | Yes | PurchReqLine.LineType | |
PrePaymentDetailsFree-text details about the prepayment. | String (40)PurchReqLinePrePaymentDetails | No | Yes | PurchReqLine.PrePaymentDetails | |
ProcurementProductCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductNameProduct name for a line that is not in a catalogue. | String (60)PurchReqItemIdNonCatalog | No | Yes | PurchReqLine.ItemIdNonCatalog | |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ProjectActivityNumberProject activity number linked to the line. | String (50)ProjActivityNumber | No | Yes | ProjActivity.ActivityNumbersmmActivities.ActivityNumber | PurchReqLine.ActivityNumber |
ProjectCategoryIdProject category for the line. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | PurchReqLine.ProjCategoryId |
ProjectIdProject ID the line is linked to. | String (20)ProjId | No | Yes | ProjTable.ProjId | PurchReqLine.ProjId |
ProjectLinePropertyIdProject line property for the line. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | PurchReqLine.ProjLinePropertyId |
ProjectSalesCurrencyCodeSales currency used for the project. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PurchReqLine.ProjSalesCurrencyId |
ProjectSalesPriceSales price used for the project. | RealProjSalesPriceCost | No | Yes | PurchReqLine.ProjSalesPrice | |
ProjectSalesUnitSymbolShort symbol that identifies the unit. It is the key of the table. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | |
ProjectTaxGroupCodeSales tax group for the project. | StringProjTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | PurchReqLine.ProjTaxGroupId |
ProjectTaxItemGroupCodeItem sales tax group for the project. | StringProjTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | PurchReqLine.ProjTaxItemGroupId |
PurchasePriceUnit price of the requested item. | RealPurchReqPrice | No | Yes | PurchReqLine.PurchPrice | |
PurchasePriceQuantityQuantity that the unit price applies to. | RealPriceUnit | No | Yes | PurchReqLine.PriceUnit | |
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | |
ReceivingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ReceivingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
RequestedDateDate by which the goods or services are needed. | DatePurchReqRequiredDate | No | Yes | PurchReqLine.RequiredDate | |
RequestedPurchaseQuantityRequested quantity. | RealInventQty | No | Yes | PurchReqLine.PurchQty | |
RequisitionerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
RequisitionLineNumberLine sequence number within the requisition. Part of the key. | IntegerSequenceNumber | Yes | Yes | PurchReqLine.SequenceNumber | |
RequisitionNumberPurchase requisition number; the key of the table. | String (25)PurchReqId | Yes | Yes | PurchReqTable.PurchReqId | |
RFQRequirementLevelWhether a request for quotation is needed: none, informal or formal. | EnumPurchReqRFQRequirementType
| No | Yes | PurchReqLine.RFQRequirement | |
SalesTaxGroupCodeSales tax group for the line. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | PurchReqLine.TaxGroup |
SalesTaxItemGroupCodeItem sales tax group for the line. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | PurchReqLine.TaxItemGroup |
URLInternet address related to the line. | String (255)URL | No | Yes | PurchReqLine.URL | |
VendorAccountNumberVendor account suggested for the line. | String (20)VendAccount | No | Yes | VendTable.AccountNum | PurchReqLine.VendAccount |
ProcurementProductCategoryHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name | |
ReceivingOperatingUnitPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.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.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchReqLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
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
FixedAssetGroupId→AssetGroup.GroupId(key of AssetGroup)Join on all of:
FixedAssetGroupId=AssetGroup.GroupId,AssetGroupDataArea(table field, not in this entity) =AssetGroup.dataAreaIdMany PurchReqLine records → zero or one AssetGroup record
AssetGroup details: see AssetGroupEntity, AssetGroupBiEntity, DimAttributeAssetGroupEntity
FixedAssetReasonCode→ReasonTable.Reason(key of ReasonTable)Many ReasonTableRef records → zero or one ReasonTable record
ReasonTable details: see LedgerFinancialReasonEntity, CustCustomerReasonEntity, VendVendorReasonsEntity
ItemNumber→InventTable.ItemId(key of InventTable)Join on all of:
ItemNumber=InventTable.ItemId,ItemIdDataArea(table field, not in this entity) =InventTable.dataAreaIdMany PurchReqLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
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
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
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
ProjectActivityNumber→ProjActivity.ActivityNumber(key of ProjActivity)Join on all of:
ProjectActivityNumber=ProjActivity.ActivityNumber,ActivityNumberDataArea(table field, not in this entity) =ProjActivity.dataAreaIdMany PurchReqLine records → zero or one ProjActivity record
Not exposed by a public entity.
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Join on all of:
ProjectActivityNumber=smmActivities.ActivityNumber,ProjIdDataArea(table field, not in this entity) =smmActivities.DataAreaIdZero or one PurchReqLine record → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Join on all of:
ProjectCategoryId=ProjCategory.CategoryId,ProjCategoryIdDataArea(table field, not in this entity) =ProjCategory.dataAreaIdMany PurchReqLine records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjectId=ProjTable.ProjId,ProjIdDataArea(table field, not in this entity) =ProjTable.dataAreaIdMany PurchReqLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Join on all of:
ProjectLinePropertyId=ProjLineProperty.LinePropertyId,ProjLinePropertyIdDataArea(table field, not in this entity) =ProjLineProperty.dataAreaIdMany PurchReqLine records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
ProjectSalesCurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchReqLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjectTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Join on all of:
ProjectTaxGroupCode=TaxGroupHeading.TaxGroup,ProjTaxGroupIdDataArea(table field, not in this entity) =TaxGroupHeading.dataAreaIdMany PurchReqLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
ProjectTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Join on all of:
ProjectTaxItemGroupCode=TaxItemGroupHeading.TaxItemGroup,ProjTaxItemGroupIdDataArea(table field, not in this entity) =TaxItemGroupHeading.dataAreaIdMany PurchReqLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ReceivingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ReceivingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Join on all of:
SalesTaxGroupCode=TaxGroupHeading.TaxGroup,TaxGroupDataArea(table field, not in this entity) =TaxGroupHeading.dataAreaIdMany PurchReqLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
SalesTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Join on all of:
SalesTaxItemGroupCode=TaxItemGroupHeading.TaxItemGroup,TaxItemGroupDataArea(table field, not in this entity) =TaxItemGroupHeading.dataAreaIdMany PurchReqLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
VendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
VendorAccountNumber=VendTable.AccountNum,VendAccountDataArea(table field, not in this entity) =VendTable.dataAreaIdMany PurchReqLine records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
Need help with PurchaseRequisitionLineCDSV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.