Table

VendPaymSched

Vendor payment schedule

Holds a vendor payment schedule that is attached to another record, such as a purchase order or invoice. The key is the referenced table ID and record ID. It stores the schedule name, number of payments, allocation method and tax distribution.

Table name
VendPaymSched
Module
Bank
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
PaymSched
Primary index
ExtTableRecIdx
Replacement key
ExtTableRecIdx
Key fields
ExtTableId, ExtRecId
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ExtTableIdThe table ID of the record that the schedule is attached to.Integer
RefTableId
YesNone
ExtRecIdThe record ID of the record that the schedule is attached to, such as a promissory note journal.Int64
RefRecId
YesNone
AmountCurThe amount in transaction currency that the schedule covers.Real
AmountCur
NoNone
CopyPreciselyToInvoiceYes/no flag that says whether the schedule is copied to the invoice as it stands.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
IsDeletedYes/no flag that marks the schedule as deleted.Enum
VersioningIsDeleted
NoYes (enum)
NoNone
IsModifiedYes/no flag that marks the schedule as changed.Enum
VersioningIsModified
NoYes (enum)
NoNone
LowestAmountThe minimum amount used in the schedule.Real
AmountCur
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameThe name of the payment schedule that is 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 is 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
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
TaxDistributionHow sales tax is spread over the payments: proportionally, first instalment or last instalment.Enum
PaymSchedTaxDistribution (enum)
NoNone

Indexes (1)

Relations (7)

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

  • BankPromissoryNoteTable → VendPromissoryNoteJour

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

    Zero or one VendPaymSched record → zero or one VendPromissoryNoteJour record

  • PaymSched → PaymSched

    Join on Name = PaymSched.Name

    Many VendPaymSched records → exactly one PaymSched record

  • PurchComplementaryInvoice → PurchComplementaryInvoiceHeader

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

    Zero or one VendPaymSched record → zero or one PurchComplementaryInvoiceHeader record

  • PurchParmTable → PurchParmTable

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

    Zero or one VendPaymSched record → zero or one PurchParmTable record

  • PurchTable → PurchTable

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

    Zero or one VendPaymSched record → zero or one PurchTable record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

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

    Zero or one VendPaymSched record → zero or one VendInvoiceInfoTable record

  • VendInvoiceJour → VendInvoiceJour

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

    Zero or one VendPaymSched record → zero or one VendInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk