Table
PaymentPlan
Holds payment plans, identified by a plan ID and linked to a template. A plan stores the paying currency, bank account, payment method, date range and schedule times. It also stores status, workflow and notification settings, and several containers of saved settings.
- Table name
PaymentPlan- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (43)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AlertCanceledYes/no flag for sending an alert when the plan is canceled. | EnumNoYes (enum) | No | None | |
AlertEndedYes/no flag for sending an alert when the plan ends. | EnumNoYes (enum) | No | None | |
AlertErrorYes/no flag for sending an alert when an error occurs. | EnumNoYes (enum) | No | None | |
AutomationStatusAutomation state of the plan, from not started to completed, canceled or failed. | EnumPaymentPlanAutomationStatus (enum) | No | None | |
BankAccountBank account used for the plan. | String (48)BankAccount | No | BankAccountTable.AccountID | None |
CompanyCompany (legal entity) the plan relates to. | StringSelectableDataArea | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the plan. | String (200)PaymentPlanDescription | No | None | |
EmailAddressEmail address used for notifications. | String (80)Email | No | None | |
EnabledYes/no flag showing whether the plan is enabled. | EnumNoYes (enum) | No | None | |
ExecutionControlContainerStored execution control settings. The content is not described.low confidence | Container | No | None | |
FromDateStart date of the period the plan covers. | DateFromDate | No | None | |
MainAccountRangeRange of main accounts the plan uses. | String (30)PaymentPlanMainAccountRange | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NumberSequenceTableSystem record ID of the number sequence used as the voucher series. | Int64RefRecId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCriteriaContainerStored payment criteria settings. The content is not described.low confidence | Container | No | None | |
PaymentCurrencyCurrency in which payments are made. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
PaymentDefaultsContainerStored default payment settings. The content is not described.low confidence | Container | No | None | |
PaymentFileNameName of the payment file. | String (259)ERFileName | No | None | |
PaymentGenerationDataContainerStored data for payment generation. The content is not described.low confidence | Container | No | None | |
PaymentPlanTemplateNameName of the payment plan template the plan is based on. | String (20)PaymentPlanTemplateName | No | PaymentPlanTemplate.Name | None |
PaymentPlanTypeType of payment plan. The only value given is vendor outgoing payment. | EnumPaymentPlanType (enum) | Yes | None | |
PaymentScheduleDateTimeDate and time when the payment is scheduled. | UtcDateTimePaymentScheduleDateTime | No | None | |
PaymModeMethod of payment used by the plan. | StringPaymMode | No | VendPaymModeTable.PaymMode | None |
PlanIdUnique ID of the payment plan. | String (20)PaymentPlanID | Yes | None | |
PlanStatusCurrent stage of the plan, from open and on hold through proposal steps to approved. | EnumPaymentPlanStatus (enum) | No | None | |
ProcessingSeqContainerStored processing sequence settings. The content is not described.low confidence | Container | No | None | |
ProposalScheduleDateTimeDate and time when the proposal is scheduled. | UtcDateTimePaymentScheduleDateTime | 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 | |
ScheduleStartDateTimeDate and time when the schedule starts. | UtcDateTimePaymentScheduleDateTime | No | None | |
SentByMailYes/no flag for sending notifications by email. | EnumNoYes (enum) | No | None | |
ShowPopUpYes/no flag for showing a pop-up notification. | EnumNoYes (enum) | 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 | |
TimeConstraintContainerStored time constraint settings. The content is not described.low confidence | Container | No | None | |
ToDateEnd date of the period the plan covers. | DateToDate | No | None | |
WFApprovalYes/no flag showing whether workflow approval is used. | EnumNoYes (enum) | No | None | |
WFConfigurationID of the workflow configuration used for approval. | String (20)WorkflowSequenceNumber | No | None |
Indexes (1)
PlanNameUnique.
Relations (5)
Each relation joins PaymentPlan to another table on the fields shown.
BankAccount→BankAccountTableJoin on
BankAccount = BankAccountTable.AccountIDMany PaymentPlan records → exactly one BankAccountTable record
Company→DataAreaJoin on
Company = DataArea.idMany PaymentPlan records → zero or one DataArea record
Currency→CurrencyJoin on
PaymentCurrency = Currency.CurrencyCodeMany PaymentPlan records → exactly one Currency record
PaymentPlanTemplate→PaymentPlanTemplateJoin on
PaymentPlanTemplateName = PaymentPlanTemplate.NameMany PaymentPlan records → exactly one PaymentPlanTemplate record
VendPaymMode→VendPaymModeTableJoin on
PaymMode = VendPaymModeTable.PaymModeMany PaymentPlan records → zero or one VendPaymModeTable record
Get this data out
No public entity reads from PaymentPlan. Its data is only reachable through the application, a custom entity or a database export.
Need help with PaymentPlan in a report, an integration or a migration? Talk to Dr Dynamics.