Table

RentalDocumentLineCalendarJour

Calendar calculation journals

Holds calendar calculation journal records for rental document lines. The key is the rental document line plus a line number. Each record covers an invoicing period with its days, amount and status. It can link to an invoice schedule.

Table name
RentalDocumentLineCalendarJour
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
RentalDocumentLineLineNumberIdx
Replacement key
RentalDocumentLineLineNumberIdx
Key fields
RentalDocumentLine, LineNumber
Model
RentalManagement

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RentalDocumentLinePoints to the main rental document line.Int64
RentalDocumentLineRecId
YesRentalDocumentLine.RecIdNone
LineNumberLine number of the record within the rental document line.Real
LineNum
YesNone
CreditYes or no flag showing that the record credits a period already invoiced, because the fleet item came back early.Enum
NoYesId
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateLast day of the invoicing period.Date
EndDate
YesNone
FinalPeriodYes or no flag showing whether this is the final period to invoice.Enum
RentalFinalPeriod
NoYes (enum)
NoNone
InvoiceAmountInvoice amount for the period, based on the days and the base period rate.Real
RentalDocumentLineCalendarJourAmount
NoNone
InvoiceScheduleIdPoints to the related rental invoice schedule.String (21)
RentalInvoiceScheduleId
NoRentalInvoiceScheduleTable.InvoiceScheduleIdNone
NumberOfDaysNumber of invoicing days in the period, based on the calendar chosen on the rental template.Integer
RentalDocumentLineCalendarJourDaysNum
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
StartDateFirst day of the invoicing period.Date
StartDate
YesNone
StatusStage of the journal record: created, invoice schedule, invoiced or credit scheduled.Enum
RentalDocumentLineCalendarJourStatus (enum)
YesNone
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

Indexes (1)

Relations (2)

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

  • RentalDocumentTableLine → RentalDocumentLine

    Join on RentalDocumentLine = RentalDocumentLine.RecId

    Many RentalDocumentLineCalendarJour records → exactly one RentalDocumentLine record

  • InvoiceScheduleTable → RentalInvoiceScheduleTable

    Join on InvoiceScheduleId = RentalInvoiceScheduleTable.InvoiceScheduleId

    Many RentalDocumentLineCalendarJour records → exactly one RentalInvoiceScheduleTable record

Get this data out

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

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

Email sales@drdynamics.co.uk