Table

CustInvoiceLineMapping

Links a customer free text invoice line to a parent invoice line. Both sides are identified by invoice record ID, line record ID and line number. It is tied to the free text invoice correction feature.

Table name
CustInvoiceLineMapping
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
FreeTextInvoiceCorrection
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceLineLineNumLine number of the invoice line in the mapping.Real
LineNum
NoCustInvoiceLine.LineNumNone
CustInvoiceLineParentRecIdPoints to the free text invoice that the line belongs to.Int64
CustInvoiceTableRefRecId
NoCustInvoiceTable.RecIdNone
CustInvoiceLineRecIdPoints to the free text invoice line in the mapping.Int64
CustInvoiceLineIdRefRecId
NoCustInvoiceLine.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ParentInvoiceLineLineNumLine number of the parent invoice line.Real
LineNum
NoCustInvoiceLine.LineNumNone
ParentInvoiceLineParentRecIdPoints to the free text invoice that the parent line belongs to.Int64
CustInvoiceTableRefRecId
NoCustInvoiceTable.RecIdNone
ParentInvoiceLineRecIdPoints to the parent free text invoice line.Int64
CustInvoiceLineIdRefRecId
NoCustInvoiceLine.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (4)

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

  • CustInvoiceLine → CustInvoiceLine

    Join on CustInvoiceLineRecId = CustInvoiceLine.RecId, CustInvoiceLineLineNum = CustInvoiceLine.LineNum, CustInvoiceLineParentRecId = CustInvoiceLine.ParentRecId

    Many CustInvoiceLineMapping records → zero or one CustInvoiceLine record

  • CustInvoiceLineParentRecId → CustInvoiceTable

    Join on CustInvoiceLineParentRecId = CustInvoiceTable.RecId

    Many CustInvoiceLineMapping records → zero or one CustInvoiceTable record

  • ParentInvoiceLine → CustInvoiceLine

    Join on ParentInvoiceLineRecId = CustInvoiceLine.RecId, ParentInvoiceLineLineNum = CustInvoiceLine.LineNum, ParentInvoiceLineParentRecId = CustInvoiceLine.ParentRecId

    Many CustInvoiceLineMapping records → zero or one CustInvoiceLine record

  • ParentInvoiceLineParentRecId → CustInvoiceTable

    Join on ParentInvoiceLineParentRecId = CustInvoiceTable.RecId

    Many CustInvoiceLineMapping records → zero or one CustInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk