Table

RentalRateHeader

Rental rate

Holds the header of a rental rate, identified by a rate ID. It sets which customers and rental classes the rate applies to, and a priority. It can also be limited by application, shift or location price factors.

Table name
RentalRateHeader
Module
Rental management
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
RateIdIdx
Key fields
RateId
Model
RentalManagement

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RateIdUnique ID of the rate.String (20)
RentalRateId
YesRentalRateHeaderEntityRentalRateLineEntity
AccountCodeHow customers are selected: a single account, a group or all customers.Enum
PostingProfileAccountCode
TableGroupAll (enum)
NoRentalRateHeaderEntity
AccountRelationThe customer account used when the account code points to a specific customer.String (20)
RentalRateAccountRelation
NoCustTable.AccountNumRentalRateHeaderEntity
ApplicationPriceFactorApplication price factor that limits the rate; blank means it applies to any application.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
ClassCodeHow classes are selected: a single class, a group or all.Enum
RentalClassTableGroupAll
TableGroupAll (enum)
NoRentalRateHeaderEntity
ClassRelationThe rental class or category used when the class code points to a specific one.String (20)
RentalRateClassRelation
NoRentalCategory.CategoryIdRentalClassTable.ClassIdRentalRateHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LocationPriceFactorLocation price factor that limits the rate; blank means it applies to any location.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ShiftPriceFactorShift price factor that limits the rate; blank means it applies to any shift.Int64
RentalPriceFactorRecId
NoRentalPriceFactor.RecIdNone
SortingPriority of the rate; lower values are matched first.Integer
Sorting
NoRentalRateHeaderEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TypeWhether the record is a rate or a discount.Enum
RentalRateGroupType
RentalRateType (enum)
NoRentalRateGroup.RateGroupTypeRentalRateHeaderEntity

Indexes (5)

Relations (7)

Each relation joins RentalRateHeader to another table on the fields shown.

  • ApplicationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Application, ApplicationPriceFactor = RentalPriceFactor.RecId

    Many RentalRateHeader records → zero or one RentalPriceFactor record

  • CustTable → CustTable

    Join on AccountCode = null, AccountRelation = CustTable.AccountNum

    Many RentalRateHeader records → zero or one CustTable record

  • RateGroup → RentalRateGroup

    Join on Type = RentalRateGroup.RateGroupType, AccountCode = TableGroupAll::GroupId, AccountRelation = RentalRateGroup.RateGroupId

    Many RentalRateHeader records → zero or one RentalRateGroup record

  • RentalCategory → RentalCategory

    Join on ClassCode = TableGroupAll::GroupId, ClassRelation = RentalCategory.CategoryId

    Many RentalRateHeader records → zero or one RentalCategory record

  • RentalClassTable → RentalClassTable

    Join on ClassCode = null, ClassRelation = RentalClassTable.ClassId

    Many RentalRateHeader records → zero or one RentalClassTable record

  • ShiftPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift, ShiftPriceFactor = RentalPriceFactor.RecId

    Many RentalRateHeader records → zero or one RentalPriceFactor record

  • LocationPriceFactor → RentalPriceFactor

    Join on RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location, LocationPriceFactor = RentalPriceFactor.RecId

    Many RentalRateHeader records → zero or one RentalPriceFactor record

Get this data out

Tables are not exposed directly. These public entities read from RentalRateHeader; use one of them in Power BI, Power Platform or a data management project.

Need help with RentalRateHeader in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk