Table
CustPrepaymentInvoiceLine
Holds the lines of a customer prepayment invoice. Each line belongs to a prepayment invoice header and can name an item, a description, tax groups and an offset account. No key is listed in the metadata.
- Table name
CustPrepaymentInvoiceLine- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustPrepaymentInvoiceTablePoints to the prepayment invoice header in CustPrepaymentInvoiceTable by its system record ID. | Int64RefRecId | No | CustPrepaymentInvoiceTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionOffset account for the line. It points to a dimension code combination. | Int64AdvanceInvoiceOffsetLedgerDimension_W | No | DimensionAttributeValueCombination.RecId | None |
DescriptionShort text describing the line. | String (60)Description | No | None | |
InvoiceTxtFree-form text for the invoice, of any length. | String (-1)Notes | No | None | |
ItemIdItem number of the product on the line. It points to an item in InventTable. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
LineAmountAmount of the line. The currency is not stated in the metadata. | RealAmountCur | No | None | |
LineNumNumber that gives the position of the line. | RealLineNum | No | None | |
OverrideSalesTaxYes/No choice. It marks whether the line overrides the sales tax determination. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | 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 | |
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 | |
TaxGroupSales tax group applied to the line. | StringTaxGroup | No | None | |
TaxItemGroupItem sales tax group applied to the line. | StringTaxItemGroup | No | None |
Indexes (1)
ParentRecIdIdxCustPrepaymentInvoiceTable,LineNum,DataAreaId,PartitionUnique.
Relations (3)
Each relation joins CustPrepaymentInvoiceLine to another table on the fields shown.
CustPrepaymentInvoice_FK→CustPrepaymentInvoiceTableJoin on
CustPrepaymentInvoiceTable = CustPrepaymentInvoiceTable.RecIdMany CustPrepaymentInvoiceLine records → zero or one CustPrepaymentInvoiceTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany CustPrepaymentInvoiceLine records → zero or one InventTable record
DefaultDimension→DimensionAttributeValueCombinationJoin on
DefaultDimension = DimensionAttributeValueCombination.RecIdMany CustPrepaymentInvoiceLine records → zero or one DimensionAttributeValueCombination record
Get this data out
No public entity reads from CustPrepaymentInvoiceLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustPrepaymentInvoiceLine in a report, an integration or a migration? Talk to Dr Dynamics.