Table

VendPaymSchedHistory

Payment schedule (vendor) history

Keeps the history of vendor payment schedules. Each row is a past version of a VendPaymSched record, with a valid-from and valid-to time. The key is the referenced table ID, record ID and validity times.

Table name
VendPaymSchedHistory
Module
Bank
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
PaymSched
Primary index
RecId
Replacement key
VendPaymSchedIdx
Key fields
ExtTableId, ExtRecId, ValidTo, ValidFrom
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ExtTableIdThe table ID of the record the schedule was attached to. Links to the vendor payment schedule.Integer
RefTableId
YesVendPaymSched.ExtTableIdNone
ExtRecIdThe record ID of the record the schedule was attached to. Links to the vendor payment schedule.Int64
RefRecId
YesVendPaymSched.ExtRecIdNone
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
AmountCurThe amount in transaction currency that the schedule covered.Real
AmountCur
NoNone
CopyPreciselyToInvoiceYes/no flag that says whether the schedule was copied to the invoice as it stood.Enum
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionA short description of the payment schedule.String (60)
Description
NoNone
LowestAmountThe minimum amount used in the schedule.Real
AmountCur
NoNone
NameThe name of the payment schedule that was used.String (30)
VendPaymSchedId
YesPaymSched.NameNone
NotesFree text notes for the schedule.String (-1)
Notes
NoNone
NumOfPaymentThe number of payments in the schedule.Integer
PositiveNumber
NoNone
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
PaymSchedByHow the schedule was allocated: total, fixed amount, fixed quantity or specified.Enum
VendPaymSchedBy
PaymSchedBy (enum)
NoNone
PeriodUnitThe period unit for the payments: days, months, years or all.Enum
PeriodUnit (enum)
NoNone
QtyUnitA number of days used as the change value for the period.low confidenceInteger
Days
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
TaxDistributionHow sales tax was spread over the payments.Enum
PaymSchedTaxDistribution (enum)
NoNone

Indexes (1)

Relations (3)

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

  • PaymSched → PaymSched

    Join on Name = PaymSched.Name

    Many VendPaymSchedHistory records → exactly one PaymSched record

  • PurchTable → PurchTable

    Join on ExtRecId = PurchTable.RecId, ExtTableId = PurchTable.TableId

    Many VendPaymSchedHistory records → zero or one PurchTable record

  • VendPaymSched → VendPaymSched

    Join on ExtRecId = VendPaymSched.ExtRecId, ExtTableId = VendPaymSched.ExtTableId

    Many VendPaymSchedHistory records → exactly one VendPaymSched record

Get this data out

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

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

Email sales@drdynamics.co.uk