Table
RentalDocumentJournalTable
Rental document journals
Header record for a rental document journal, keyed by the journal ID. It links to the rental document, customer or prospect, invoice customer, job site, rental template and currency. It also holds dates such as start, print, update and quotation expiry.
- Table name
RentalDocumentJournalTable- Module
Rental management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Rental- Primary index
None- Replacement key
JournalIdx- Key fields
JournalId- Model
RentalManagement
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalIdUnique ID of the rental document journal. | StringRentalDocumentJournalId | Yes | None | |
BusRelAccountPoints to the prospect account related to this journal. | String (20)smmBusRelAccount | No | smmBusRelTable.BusRelAccount | None |
CurrencyCodePoints to the currency used on the journal. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
CustAccountPoints to the customer account of the journal. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceAccountPoints to another customer who receives the invoice, if different. | String (20)RentalInvoiceAccount | No | CustTable.AccountNum | None |
JobSitePoints to the job site of the rental. | Int64RentalJobSiteRecId | No | RentalJobSite.RecId | None |
JournalDocumentNumberDocument number stored on the journal, up to 20 characters. | String (20)QuotationDocNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintDateDate on which the journal was printed. | DatePrintDate | No | None | |
QuotationExpiryDateDate on which the quotation expires. | DateQuotationExpiryDate | 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 | |
RentalDocumentTablePoints to the rental contract or quotation that the journal belongs to. | Int64RentalDocumentTableRecId | Yes | RentalDocumentTable.RecId | None |
RentalTemplatePoints to the rental template used. | Int64RentalTemplateRecId | Yes | RentalTemplate.RecId | None |
StartDateTimeDate and time when the rental agreement starts. | UtcDateTimeRentalStartDateTime | Yes | 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 | |
UpdateDateDate on which the journal was updated. | DateRentalUpdateDate | No | None |
Indexes (5)
RentalDocumentTableIdxNot unique.
RentalJobSiteIdxNot unique.
JournalIdxReplacement keyUnique, alternate key.
CurrencyIdxNot unique.
RentalTemplateIdxNot unique.
Relations (7)
Each relation joins RentalDocumentJournalTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany RentalDocumentJournalTable records → exactly one Currency record
CustAccount→CustTableJoin on
CustAccount = CustTable.AccountNumMany RentalDocumentJournalTable records → zero or one CustTable record
InvoiceAccount→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany RentalDocumentJournalTable records → zero or one CustTable record
JobSite→RentalJobSiteJoin on
JobSite = RentalJobSite.RecIdMany RentalDocumentJournalTable records → zero or one RentalJobSite record
RentalDocumentTable→RentalDocumentTableJoin on
RentalDocumentTable = RentalDocumentTable.RecIdMany RentalDocumentJournalTable records → exactly one RentalDocumentTable record
RentalTemplate→RentalTemplateJoin on
RentalTemplate = RentalTemplate.RecIdMany RentalDocumentJournalTable records → exactly one RentalTemplate record
smmBusRelTable→smmBusRelTableJoin on
BusRelAccount = smmBusRelTable.BusRelAccountMany RentalDocumentJournalTable records → zero or one smmBusRelTable record
Get this data out
No public entity reads from RentalDocumentJournalTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RentalDocumentJournalTable in a report, an integration or a migration? Talk to Dr Dynamics.