Table

RentalCustInvoiceTrans

Rental customer invoice transactions

Adds rental details to a customer invoice line. It links the line to a fleet item and an invoice schedule line, and holds an over allowance amount and credit note invoice number. The key is the customer invoice line reference.

Table name
RentalCustInvoiceTrans
Module
Rental management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Rental
Primary index
None
Replacement key
CustInvoiceTransIdx
Key fields
CustInvoiceTrans
Model
RentalManagement

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTransCustomer invoice line this row extends.Int64
CustInvoiceTransRecId
YesCustInvoiceTrans.RecIdNone
AttachToLineNumberNumber of the line that this line is attached to.Real
RentalSalesAttachToLineNumber
NoNone
CreditNoteInvoiceIdInvoice number linked to a credit note.String (20)
RentalSalesCreditNoteInvoiceId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceScheduleLineRental invoice schedule line linked to the invoice line.Int64
RentalInvoiceScheduleLineRecId
NoRentalInvoiceScheduleLine.RecIdNone
OverAllowanceAmount charged above the allowance.Real
RentalOverAllowanceAmount
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
RentalItemFleet item on the invoice line.Int64
RentalItemRecId
NoRentalItemTable.RecIdNone
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 (2)

Relations (3)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTrans = CustInvoiceTrans.RecId

    Zero or one RentalCustInvoiceTrans record → exactly one CustInvoiceTrans record

  • RentalInvoiceScheduleLine → RentalInvoiceScheduleLine

    Join on InvoiceScheduleLine = RentalInvoiceScheduleLine.RecId

    Zero or one RentalCustInvoiceTrans record → zero or one RentalInvoiceScheduleLine record

  • RentalItemTable → RentalItemTable

    Join on RentalItem = RentalItemTable.RecId

    Many RentalCustInvoiceTrans records → zero or one RentalItemTable record

Get this data out

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

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

Email sales@drdynamics.co.uk