Table

CustSettlementLine

Customer settlement lines

Holds lines of a customer settlement. Each line links a settlement to a customer transaction line identifier and stores the settled amount and the discount to take.

Table name
CustSettlementLine
Module
Bank
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceLineIdRefPoints to the customer transaction line identifier that was settled.Int64
CustInvoiceLineIdRefRecId
NoCustInvoiceLineIdRef.RecIdNone
CustSettlementPoints to the customer settlement that this line belongs to.Int64
CustSettlementRefRecId
NoCustSettlement.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
SettledAmountCurAmount settled on this line, in the transaction currency.Real
AmountCurDebCred
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
UtilizedCashDiscCash discount amount to take on this line.Real
DiscAmount
NoNone

Indexes (1)

Relations (2)

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

  • CustInvoiceLineIdRef → CustInvoiceLineIdRef

    Join on CustInvoiceLineIdRef = CustInvoiceLineIdRef.RecId

    Many CustSettlementLine records → zero or one CustInvoiceLineIdRef record

  • CustSettlement → CustSettlement

    Join on CustSettlement = CustSettlement.RecId

    Many CustSettlementLine records → zero or one CustSettlement record

Get this data out

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

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

Email sales@drdynamics.co.uk