Data entity
RetailVendorSalesPriceMarginSetupEntity
Setup of contribution ratios by vendor and product category. Each row is keyed by category name, category hierarchy name and vendor account. It also holds a suggested contribution ratio.
- Entity name
RetailVendorSalesPriceMarginSetupEntity- Public entity name
RetailVendorSalesPriceMarginSetup- OData collection
RetailVendorSalesPriceMarginSetups- Category
Not set- Module
Retail- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
CategoryName, CategoryHierarchyName, VendorAccount- Staging table
RetailVendorSalesPriceMarginSetupStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailVendorSalesPriceMarginSetups- Dataverse virtual table
mserp_retailvendorsalespricemarginsetupentity. 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
RetailVendorSalesPriceMarginSetup· rootEcoResCategory· OuterJoin toRetailVendorSalesPriceMarginSetup· read-onlyEcoResCategoryHierarchy· OuterJoin toEcoResCategory· read-onlyPCClass· Derived toEcoResCategory
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ContributionRatioContribution ratio set for the vendor and retail category. | RealContributionRatio | No | Yes | RetailVendorSalesPriceMarginSetup.ContributionRatio | |
RetailCategoryIdRetail category the setup applies to. Points to the category record by its system record ID. | Int64EcoResCategoryId | No | No (private) | EcoResCategory.RecId | RetailVendorSalesPriceMarginSetup.RetailCategoryId |
suggestedContributionRatioSuggested contribution ratio for the vendor and category. | RealContributionRatio | No | Yes | RetailVendorSalesPriceMarginSetup.suggestedContributionRatio | |
VendorAccountAccount number of the vendor the setup applies to. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | RetailVendorSalesPriceMarginSetup.VendAccount |
CategoryHierarchyPoints to the category hierarchy that the category belongs to. | Int64EcoResCategoryHierarchyId | No | No (private) | EcoResCategoryHierarchy.RecId | EcoResCategory.CategoryHierarchy |
CategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
CategoryHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name |
Foreign keys (3)
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.
RetailCategoryId→EcoResCategory.RecId(key of EcoResCategory)Many RetailVendorSalesPriceMarginSetup records → exactly one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
VendorAccount→VendTable.AccountNum(key of VendTable)Many RetailVendorSalesPriceMarginSetup records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CategoryHierarchy→EcoResCategoryHierarchy.RecId(key of EcoResCategoryHierarchy)Many EcoResCategory records → exactly one EcoResCategoryHierarchy record
EcoResCategoryHierarchy details: see IntrastatEntity, IntrastatEntityV2, RetailSpecialCategoryMemberEntity
Need help with RetailVendorSalesPriceMarginSetupEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.