Table

VendPaymSchedLineHistory

Payment schedule lines (vendor) history

Keeps the history of vendor payment schedule lines. Each row is a past version of a VendPaymSchedLine record, with a valid-from and valid-to time. It links to the line and to the parent schedule.

Table name
VendPaymSchedLineHistory
Module
Bank
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
PaymSched
Primary index
RecId
Replacement key
VendPaymSchedLineIdx
Key fields
VendPaymSchedLine, ValidTo, ValidFrom
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendPaymSchedLinePoints to the vendor payment schedule line that this history row records.Int64
RefRecId
YesVendPaymSchedLine.RecIdNone
ValidToThe date and time until which this version was valid.UtcDateTime
ValidToDateTime
YesNone
ValidFromThe date and time from which this version was valid.UtcDateTime
ValidFromDateTime
YesNone
CFMPrepaymentYes/no flag that marks the line as a prepayment.Enum
CFMPrepayment
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountThe cash discount amount for the line.Real
DiscAmount
NoNone
DiscDateThe date by which the cash discount applied.Date
DiscDate
NoNone
DueAmountThe value that was due on the line.Real
AmountCur
NoNone
DueDateThe date on which the line was due.Date
DueDate
NoNone
LineNumThe line number within the schedule.Real
LineNum
NoNone
ParentRecIDPoints to the vendor payment schedule that the line belongs to.Int64
VendPaymSchedParentRecID
YesVendPaymSched.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentType_ESThe payment means, such as cash, direct debit or credit transfer. Used for Spain.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
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

Indexes (1)

Relations (2)

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

  • VendPaymSched → VendPaymSched

    Join on ParentRecID = VendPaymSched.RecId

    Many VendPaymSchedLineHistory records → exactly one VendPaymSched record

  • VendPaymSchedLine → VendPaymSchedLine

    Join on VendPaymSchedLine = VendPaymSchedLine.RecId

    Many VendPaymSchedLineHistory records → exactly one VendPaymSchedLine record

Get this data out

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

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

Email sales@drdynamics.co.uk