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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceTransCustomer invoice line this row extends. | Int64CustInvoiceTransRecId | Yes | CustInvoiceTrans.RecId | None |
AttachToLineNumberNumber of the line that this line is attached to. | RealRentalSalesAttachToLineNumber | No | None | |
CreditNoteInvoiceIdInvoice number linked to a credit note. | String (20)RentalSalesCreditNoteInvoiceId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceScheduleLineRental invoice schedule line linked to the invoice line. | Int64RentalInvoiceScheduleLineRecId | No | RentalInvoiceScheduleLine.RecId | None |
OverAllowanceAmount charged above the allowance. | RealRentalOverAllowanceAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RentalItemFleet item on the invoice line. | Int64RentalItemRecId | No | RentalItemTable.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 |
Indexes (2)
CustInvoiceTransIdxReplacement keyUnique, alternate key.
InvoiceScheduleLineIdxInvoiceScheduleLine,CustInvoiceTransNot unique.
Relations (3)
Each relation joins RentalCustInvoiceTrans to another table on the fields shown.
CustInvoiceTrans→CustInvoiceTransJoin on
CustInvoiceTrans = CustInvoiceTrans.RecIdZero or one RentalCustInvoiceTrans record → exactly one CustInvoiceTrans record
RentalInvoiceScheduleLine→RentalInvoiceScheduleLineJoin on
InvoiceScheduleLine = RentalInvoiceScheduleLine.RecIdZero or one RentalCustInvoiceTrans record → zero or one RentalInvoiceScheduleLine record
RentalItemTable→RentalItemTableJoin on
RentalItem = RentalItemTable.RecIdMany 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.