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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExtTableIdThe table ID of the record that the schedule is attached to. | IntegerRefTableId | Yes | None | |
ExtRecIdThe record ID of the record that the schedule is attached to, such as a promissory note journal. | Int64RefRecId | Yes | None | |
AmountCurThe amount in transaction currency that the schedule covers. | RealAmountCur | No | None | |
CopyPreciselyToInvoiceYes/no flag that says whether the schedule is copied to the invoice as it stands. | EnumNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionA short description of the payment schedule. | String (60)Description | No | None | |
IsDeletedYes/no flag that marks the schedule as deleted. | EnumVersioningIsDeletedNoYes (enum) | No | None | |
IsModifiedYes/no flag that marks the schedule as changed. | EnumVersioningIsModifiedNoYes (enum) | No | None | |
LowestAmountThe minimum amount used in the schedule. | RealAmountCur | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameThe name of the payment schedule that is used. | String (30)VendPaymSchedId | Yes | PaymSched.Name | None |
NotesFree text notes for the schedule. | String (-1)Notes | No | None | |
NumOfPaymentThe number of payments in the schedule. | IntegerPositiveNumber | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentType_ESThe payment means, such as cash, direct debit or credit transfer. Used for Spain. | EnumPaymentType_ES (enum) | No | None | |
PaymSchedByHow the schedule is allocated: total, fixed amount, fixed quantity or specified. | EnumVendPaymSchedByPaymSchedBy (enum) | No | None | |
PeriodUnitThe period unit for the payments: days, months, years or all. | EnumPeriodUnit (enum) | No | None | |
QtyUnitA number of days used as the change value for the period.low confidence | IntegerDays | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDistributionHow sales tax is spread over the payments: proportionally, first instalment or last instalment. | EnumPaymSchedTaxDistribution (enum) | No | None |
Indexes (1)
ExtTableRecIdxPrimary indexReplacement keyUnique, alternate key.
Relations (7)
Each relation joins VendPaymSched to another table on the fields shown.
BankPromissoryNoteTable→VendPromissoryNoteJourJoin on
ExtRecId = VendPromissoryNoteJour.RecId,ExtTableId = VendPromissoryNoteJour.TableIdZero or one VendPaymSched record → zero or one VendPromissoryNoteJour record
PaymSched→PaymSchedJoin on
Name = PaymSched.NameMany VendPaymSched records → exactly one PaymSched record
PurchComplementaryInvoice→PurchComplementaryInvoiceHeaderJoin on
ExtRecId = PurchComplementaryInvoiceHeader.RecId,ExtTableId = PurchComplementaryInvoiceHeader.TableIdZero or one VendPaymSched record → zero or one PurchComplementaryInvoiceHeader record
PurchParmTable→PurchParmTableJoin on
ExtTableId = PurchParmTable.TableId,ExtRecId = PurchParmTable.RecIdZero or one VendPaymSched record → zero or one PurchParmTable record
PurchTable→PurchTableJoin on
ExtRecId = PurchTable.RecId,ExtTableId = PurchTable.TableIdZero or one VendPaymSched record → zero or one PurchTable record
VendInvoiceInfoTable→VendInvoiceInfoTableJoin on
ExtTableId = VendInvoiceInfoTable.TableId,ExtRecId = VendInvoiceInfoTable.RecIdZero or one VendPaymSched record → zero or one VendInvoiceInfoTable record
VendInvoiceJour→VendInvoiceJourJoin on
ExtRecId = VendInvoiceJour.RecId,ExtTableId = VendInvoiceJour.TableIdZero 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.