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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustPrepaymentInvoiceTablePoints to the prepayment invoice header in CustPrepaymentInvoiceTable by its system record ID.Int64
RefRecId
NoCustPrepaymentInvoiceTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionOffset account for the line. It points to a dimension code combination.Int64
AdvanceInvoiceOffsetLedgerDimension_W
NoDimensionAttributeValueCombination.RecIdNone
DescriptionShort text describing the line.String (60)
Description
NoNone
InvoiceTxtFree-form text for the invoice, of any length.String (-1)
Notes
NoNone
ItemIdItem number of the product on the line. It points to an item in InventTable.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
LineAmountAmount of the line. The currency is not stated in the metadata.Real
AmountCur
NoNone
LineNumNumber that gives the position of the line.Real
LineNum
NoNone
OverrideSalesTaxYes/No choice. It marks whether the line overrides the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
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
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
TaxGroupSales tax group applied to the line.String
TaxGroup
NoNone
TaxItemGroupItem sales tax group applied to the line.String
TaxItemGroup
NoNone

Indexes (1)

Relations (3)

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

  • CustPrepaymentInvoice_FK → CustPrepaymentInvoiceTable

    Join on CustPrepaymentInvoiceTable = CustPrepaymentInvoiceTable.RecId

    Many CustPrepaymentInvoiceLine records → zero or one CustPrepaymentInvoiceTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many CustPrepaymentInvoiceLine records → zero or one InventTable record

  • DefaultDimension → DimensionAttributeValueCombination

    Join on DefaultDimension = DimensionAttributeValueCombination.RecId

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

Email sales@drdynamics.co.uk