Data entity
RentalRateHeaderEntity
Holds the header of a rental rate, identified by rate ID. It can link to a customer account, a rate group, a rental class and a rental category, and it has a priority and three price factors. The prices themselves are held in the rental rate lines.
- Entity name
RentalRateHeaderEntity- Public entity name
RentalRateHeader- OData collection
RentalRateHeaders- Category
Reference- Module
Rental management- Read-only
No- Data management enabled
Yes- Configuration key
Rental- Keys
RateId- Staging table
RentalRateHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RentalRateHeaders- Dataverse virtual table
mserp_rentalrateheaderentity. 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
RentalRateHeader· rootApplicationPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalRateHeaderShiftPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalRateHeaderLocationPriceFactor(tableRentalPriceFactor) · OuterJoin toRentalRateHeader
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RateTypeWhether the record is a rate or a discount. | EnumRentalRateGroupType
| Yes | Yes | RentalRateGroup.RateGroupType | RentalRateHeader.Type |
RateIdUnique ID of the rate. | String (20)RentalRateId | Yes | Yes | RentalRateHeader.RateId | |
CustomerAccountNumberAccount number of the customer the rate applies to. | String (20)CustAccount | No | Yes | computed | |
RateGroupIdID of the rental rate group assigned to the rate. | StringRentalRateGroupId | No | Yes | computed | |
RentalClassIdID of the rental class the rate is linked to. | String (20)RentalClassId | No | Yes | computed | |
RentalCategoryIdID of the rental category the rate is linked to. | String (20)RentalCategoryId | No | Yes | computed | |
EvaluationOrderPriority of the rate; lower values are matched first. | IntegerSorting | No | Yes | RentalRateHeader.Sorting | |
ApplicationPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
ShiftPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
LocationPriceFactorIdID of the price factor. | StringRentalPriceFactorId | No | Yes | RentalPriceFactor.PriceFactorId | |
AccountCodeHow customers are selected: a single account, a group or all customers. | EnumPostingProfileAccountCode
| No | No (private) | RentalRateHeader.AccountCode | |
AccountRelationThe customer account used when the account code points to a specific customer. | String (20)RentalRateAccountRelation | No | No (private) | CustTable.AccountNum | RentalRateHeader.AccountRelation |
ClassCodeHow classes are selected: a single class, a group or all. | EnumRentalClassTableGroupAll
| No | No (private) | RentalRateHeader.ClassCode | |
ClassRelationThe rental class or category used when the class code points to a specific one. | String (20)RentalRateClassRelation | No | No (private) | RentalCategory.CategoryIdRentalClassTable.ClassId | RentalRateHeader.ClassRelation |
Foreign keys (4)
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.
RateType→RentalRateGroup.RateGroupType(key of RentalRateGroup)Join on all of:
RateType=RentalRateGroup.RateGroupType,AccountRelation=RentalRateGroup.RateGroupIdRelation also requires AccountCode = TableGroupAll::GroupId.
Many RentalRateHeader records → zero or one RentalRateGroup record
RentalRateGroup details: see RentalRateGroupEntity
AccountRelation→CustTable.AccountNum(key of CustTable)Relation also requires AccountCode = null.
Many RentalRateHeader records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
ClassRelation→RentalCategory.CategoryId(key of RentalCategory)Relation also requires ClassCode = TableGroupAll::GroupId.
Many RentalRateHeader records → zero or one RentalCategory record
RentalCategory details: see RentalCategoryEntity, RentalClassEntity
ClassRelation→RentalClassTable.ClassId(key of RentalClassTable)Relation also requires ClassCode = null.
Many RentalRateHeader records → zero or one RentalClassTable record
RentalClassTable details: see RentalClassEntity, RentalContractLineEntity, RentalContractLineItemEntity
Need help with RentalRateHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.