Table

RentalBestRateCalculationJournalLine

Best rate calculation journal lines

Lines of a best rate calculation journal for a rental document line. They hold rates by day, week and month, period counts, SMU readings, stand-down amounts and invoicing amounts. The key is the journal plus the rental document line.

Table name
RentalBestRateCalculationJournalLine
Module
Rental management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
JournalLineIdx
Key fields
BestRateCalculationJournalTable, RentalDocumentLine
Model
RentalManagement

Fields (51)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BestRateCalculationJournalTableBest rate calculation journal that owns the line.Int64
RentalBestRateCalculationJournalTableRecId
YesRentalBestRateCalculationJournalTable.RecIdNone
RentalDocumentLineRental document line the calculation is for.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DayAmountRental rate for a daily period.Real
RentalDayAmount
NoNone
DaysNumber of days on the line.Integer
Days
NoNone
EndSMUService meter reading at the end of the period.Real
RentalItemSMU
NoNone
EndSMUReadingDateTimeDate and time of the end SMU reading.UtcDateTime
RentalSMUReadingDateTime
NoNone
EstimatedDateTimeEstimated return date and time of the fleet item.UtcDateTime
RentalEstimatedDateTime
NoNone
HasFixedEstimatedDateYes/No flag that stops the line estimated return date following the header date.Enum
NoYesId
NoYes (enum)
NoNone
HasFixedStartDateYes/No flag that stops the line start date following the header date.Enum
NoYesId
NoYes (enum)
NoNone
HoursAllowedHours included in the rate.Real
RentalHoursAllowed
NoNone
InventSerialIdSerial number of the item.String (20)
InventSerialId
NoNone
InvoicedAmountAmount already invoiced on the line.Real
RentalInvoicedAmount
NoNone
InvoicedToDateDate up to which invoice schedules exist.Date
RentalInvoicedToDate
NoNone
InvoicingAmountAmount to be invoiced on the line.Real
RentalInvoicingAmount
NoNone
IsMainLineFlag that marks this line as the main charge for the rental or lease.Enum
NoYesId
NoYes (enum)
NoNone
MaxAmountUpper limit for a percentage-type miscellaneous charge line.Real
RentalMaxAmount
NoNone
Month28AmountRental rate for a 28-day month period.Real
RentalMonth28Amount
NoNone
MonthAmountRental rate for a calendar month period.Real
RentalMonthAmount
NoNone
MonthsNumber of months on the line.Integer
Months
NoNone
Months28Number of 28-day months on the line.Integer
RentalMonths28
NoNone
OvertimeFeeOvertime fee amount.Real
RentalOvertimeFee
NoNone
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
RentalClassIdRental class of the line.String (20)
RentalClassId
NoNone
RentalItemIdFleet item number the line is for.String (20)
RentalItemId
NoNone
SMUBasedChargeYes/No flag showing whether a miscellaneous charge is based on SMU.Enum
RentalSMUBasedCharge
NoYes (enum)
NoNone
SMUOvertimeCurrent service meter reading used for overtime.Real
RentalItemSMU
NoNone
SMUOvertimeInvoicingYes/No option for adding a separate price line that carries the SMU charge.Enum
NoYesId
NoYes (enum)
NoNone
SMURateRental rate for the selected period, used for SMU.Real
RentalRate
NoNone
SMUUsageThe change between the current and the previous SMU reading.Real
RentalUsage
NoNone
StandDownInvoicedAmountStand-down amount already invoiced and deducted from the rental fee.Real
RentalStandDownAmountInvoiced
NoNone
StandDownInvoicedDaysNumber of stand-down days invoiced.Integer
RentalStandDownDaysNumberInvoiced
NoNone
StandDownInvoicedHoursNumber of stand-down hours invoiced.Integer
RentalStandDownHoursInvoiced
NoNone
StandDownNotInvoicedAmountStand-down amount not yet invoiced and deducted from the rental fee.Real
RentalStandDownAmountNotInvoiced
NoNone
StandDownNotInvoicedDaysNumber of stand-down days not invoiced.Integer
RentalStandDownDaysNumberNotInvoiced
NoNone
StandDownNotInvoicedHoursCount of stand-down hours that are not charged to the customer.Integer
RentalStandDownHoursNotInvoiced
NoNone
StartDateTimeStart date and time of the rental document.UtcDateTime
RentalBestRateCalculationStartDateTime
NoNone
StartSMUService meter reading when the item was shipped out.Real
RentalItemSMU
NoNone
StartSMUReadingDateTimeDate and time of the start SMU reading.UtcDateTime
RentalSMUReadingDateTime
NoNone
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
TaxGroupSales tax group for the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group for the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TotalLineAmountTotal amount of the calculated periods.Real
RentalTotalLineAmount
NoNone
ValidatedYes/No flag for the validation status of the line.Enum
NoYes (enum)
NoNone
WeekNumber of weeks on the line.Integer
RentalWeek
NoNone
WeekAmountRental rate for a weekly period.Real
RentalWeekAmount
NoNone

Indexes (1)

Relations (4)

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

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many RentalBestRateCalculationJournalLine records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many RentalBestRateCalculationJournalLine records → zero or one TaxItemGroupHeading record

  • RentalBestRateCalculationJournalTable → RentalBestRateCalculationJournalTable

    Join on BestRateCalculationJournalTable = RentalBestRateCalculationJournalTable.RecId

    Many RentalBestRateCalculationJournalLine records → exactly one RentalBestRateCalculationJournalTable record

  • RentalDocumentLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalBestRateCalculationJournalLine records → exactly one RentalDocumentLine record

Get this data out

No public entity reads from RentalBestRateCalculationJournalLine. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk