Table
RentalDocumentJournalLine
Rental journal lines
Holds the lines of a rental document journal. The key combines the journal and the rental document line. Lines can link to a rental class, billing scenario, revenue category and price factors, and can point to a main journal line.
- Table name
RentalDocumentJournalLine- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
RentalJournalTableDocumentLineIdx- Key fields
RentalDocumentJournalTable, RentalDocumentLine- Model
RentalManagement
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RentalDocumentJournalTablePoints to the rental document journal that this line belongs to. | Int64RentalDocumentJournalTableRecId | Yes | RentalDocumentJournalTable.RecId | None |
RentalDocumentLinePoints to the rental document line that this journal line relates to. | Int64RentalDocumentLineRecId | Yes | RentalDocumentLine.RecId | None |
ApplicationPriceFactorPoints to the price factor used for the application. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
BillingScenarioPoints to the rental billing scenario that applies to this line. | Int64RentalBillingScenarioRecId | No | RentalBillingScenario.RecId | None |
ClassTablePoints to the rental class of this line. | Int64RentalClassTableRecId | No | RentalClassTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceFromDateFirst invoice-to date to be created. It is not the collection date. | DateRentalInvoiceFrom | Yes | None | |
InvoiceUntilDateLatest date up to which the invoice is created. It is not the collection date. | DateRentalInvoiceUntilDate | No | None | |
LocationPriceFactorPoints to the price factor used for the location. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
NameShort descriptive name of the rental line, up to 30 characters. | String (30)RentalName30 | No | None | |
ParentJournalLinePoints to the main journal line when this line is linked to one. | Int64RentalDocumentJournalLineRecId | No | RentalDocumentJournalLine.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyQuantity on the journal line. | RealQty | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RevenueCategoryPoints to the revenue category of this line. | Int64RentalRevenueCategoryRecId | No | RentalRevenueCategory.RecId | None |
ShiftPriceFactorPoints to the price factor used for the shift. | Int64RentalPriceFactorRecId | No | RentalPriceFactor.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TemplateLineIdID of the rental template line that this line comes from. | StringRentalTemplateLineId | Yes | None |
Indexes (8)
RentalJournalTableDocumentLineIdxReplacement keyRentalDocumentJournalTable,RentalDocumentLineUnique, alternate key.
ClassTableIdxNot unique.
BillingScenarioTableIdxNot unique.
PriceFactorApplicationIdxNot unique.
PriceFactorShiftIdxNot unique.
PriceFactorLocationIdxNot unique.
RevenueCategoryTableIdxNot unique.
ParentJournalLineIdxNot unique.
Relations (9)
Each relation joins RentalDocumentJournalLine to another table on the fields shown.
ApplicationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = null,ApplicationPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentJournalLine records → zero or one RentalPriceFactor record
BillingScenarioTable→RentalBillingScenarioJoin on
BillingScenario = RentalBillingScenario.RecIdMany RentalDocumentJournalLine records → zero or one RentalBillingScenario record
ClassTable→RentalClassTableJoin on
ClassTable = RentalClassTable.RecIdMany RentalDocumentJournalLine records → zero or one RentalClassTable record
RentalDocumentJournalTable→RentalDocumentJournalTableJoin on
RentalDocumentJournalTable = RentalDocumentJournalTable.RecIdMany RentalDocumentJournalLine records → exactly one RentalDocumentJournalTable record
RentalDocumentLine→RentalDocumentLineJoin on
RentalDocumentLine = RentalDocumentLine.RecIdMany RentalDocumentJournalLine records → exactly one RentalDocumentLine record
ParentJournalLine→RentalDocumentJournalLineJoin on
ParentJournalLine = RentalDocumentJournalLine.RecIdMany RentalDocumentJournalLine records → zero or one RentalDocumentJournalLine record
RevenueCategory→RentalRevenueCategoryJoin on
RevenueCategory = RentalRevenueCategory.RecIdMany RentalDocumentJournalLine records → zero or one RentalRevenueCategory record
ShiftPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Shift,ShiftPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentJournalLine records → zero or one RentalPriceFactor record
LocationPriceFactor→RentalPriceFactorJoin on
RentalPriceFactor.PriceFactorType = RentalPriceFactorType::Location,LocationPriceFactor = RentalPriceFactor.RecIdMany RentalDocumentJournalLine records → zero or one RentalPriceFactor record
Get this data out
No public entity reads from RentalDocumentJournalLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalDocumentJournalLine in a report, an integration or a migration? Talk to Dr Dynamics.