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 descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdUnique ID of the rental document journal.String
RentalDocumentJournalId
YesNone
BusRelAccountPoints to the prospect account related to this journal.String (20)
smmBusRelAccount
NosmmBusRelTable.BusRelAccountNone
CurrencyCodePoints to the currency used on the journal.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustAccountPoints to the customer account of the journal.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceAccountPoints to another customer who receives the invoice, if different.String (20)
RentalInvoiceAccount
NoCustTable.AccountNumNone
JobSitePoints to the job site of the rental.Int64
RentalJobSiteRecId
NoRentalJobSite.RecIdNone
JournalDocumentNumberDocument number stored on the journal, up to 20 characters.String (20)
QuotationDocNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintDateDate on which the journal was printed.Date
PrintDate
NoNone
QuotationExpiryDateDate on which the quotation expires.Date
QuotationExpiryDate
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
RentalDocumentTablePoints to the rental contract or quotation that the journal belongs to.Int64
RentalDocumentTableRecId
YesRentalDocumentTable.RecIdNone
RentalTemplatePoints to the rental template used.Int64
RentalTemplateRecId
YesRentalTemplate.RecIdNone
StartDateTimeDate and time when the rental agreement starts.UtcDateTime
RentalStartDateTime
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
UpdateDateDate on which the journal was updated.Date
RentalUpdateDate
NoNone

Indexes (5)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many RentalDocumentJournalTable records → exactly one Currency record

  • CustAccount → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many RentalDocumentJournalTable records → zero or one CustTable record

  • InvoiceAccount → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many RentalDocumentJournalTable records → zero or one CustTable record

  • JobSite → RentalJobSite

    Join on JobSite = RentalJobSite.RecId

    Many RentalDocumentJournalTable records → zero or one RentalJobSite record

  • RentalDocumentTable → RentalDocumentTable

    Join on RentalDocumentTable = RentalDocumentTable.RecId

    Many RentalDocumentJournalTable records → exactly one RentalDocumentTable record

  • RentalTemplate → RentalTemplate

    Join on RentalTemplate = RentalTemplate.RecId

    Many RentalDocumentJournalTable records → exactly one RentalTemplate record

  • smmBusRelTable → smmBusRelTable

    Join on BusRelAccount = smmBusRelTable.BusRelAccount

    Many 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.

Email sales@drdynamics.co.uk