Table

CustPaymSchedLine

Customer payment schedule lines

Holds the individual lines of a customer payment schedule. Each line gives a due date, an amount and any cash discount. Lines link back to the parent schedule in CustPaymSched. Some fields support instalment and continuity payments, Spain and Italy.

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

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CFMPrepaymentYes/No flag. Marks the line as a prepayment.Enum
CFMPrepayment
NoYes (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountCash discount amount for the line.Real
CustCashDiscAmount
NoBusinessDocumentCustPaymScheduleEntity
DiscDateLast date for the cash discount.Date
CustCashDiscDate
NoBusinessDocumentCustPaymScheduleEntity
DueAmountAmount due on the line.Real
AmountCur
NoBusinessDocumentCustPaymScheduleEntity
DueDateDate the payment is due.Date
DueDate
NoBusinessDocumentCustPaymScheduleEntity
LineNumNumber that orders the line within the schedule.Real
LineNum
NoNone
MCRAmountDueChangedYes/No flag. Shows whether the amount due was changed.Enum
NoYes (enum)
NoNone
MCRContinuityPaymRecIDPoints to the related continuity payment record.Int64
RefRecId
NoMCRContinuityPayment.RecIdNone
MCRInstallmentPaymRecIDRecord ID of the related instalment payment.Int64
RefRecId
NoNone
MCRPercentChangePercentage change applied to the line.Real
Percent
NoNone
MCRRetAmountCredit amount linked to the line.low confidenceReal
MCRReturnAmtAdj
NoNone
MCRShippingYes/No flag for shipping on the line.low confidenceEnum
MCRPaymSchedShipping
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ParentRecIDPoints to the customer payment schedule that this line belongs to.Int64
CustPaymSchedParentRecID
NoCustPaymSched.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentType_ESPayment means used for Spain, such as cash, direct debit or credit transfer.Enum
PaymentType_ES (enum)
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
NoBusinessDocumentCustPaymScheduleEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SplitPayment_ITYes/No flag for split payment, used for Italy.Enum
SplitPayment_IT
NoYes (enum)
NoBusinessDocumentCustPaymScheduleEntity
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

Indexes (1)

Relations (3)

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

  • CustPaymentSched → CustPaymSched

    Join on ParentRecID = CustPaymSched.RecId

    Many CustPaymSchedLine records → zero or one CustPaymSched record

  • MCRContinuityPayment → MCRContinuityPayment

    Join on MCRContinuityPaymRecID = MCRContinuityPayment.RecId

    Many CustPaymSchedLine records → zero or one MCRContinuityPayment record

  • MCRInstallmentPayment → MCRInstallmentPayment

    Join on MCRInstallmentPaymRecID = MCRInstallmentPayment.CustPaymTableRecID

    Many CustPaymSchedLine records → zero or one MCRInstallmentPayment record

Get this data out

Tables are not exposed directly. These public entities read from CustPaymSchedLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk