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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AlertCanceledYes/no flag for sending an alert when the plan is canceled.Enum
NoYes (enum)
NoNone
AlertEndedYes/no flag for sending an alert when the plan ends.Enum
NoYes (enum)
NoNone
AlertErrorYes/no flag for sending an alert when an error occurs.Enum
NoYes (enum)
NoNone
AutomationStatusAutomation state of the plan, from not started to completed, canceled or failed.Enum
PaymentPlanAutomationStatus (enum)
NoNone
BankAccountBank account used for the plan.String (48)
BankAccount
NoBankAccountTable.AccountIDNone
CompanyCompany (legal entity) the plan relates to.String
SelectableDataArea
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the plan.String (200)
PaymentPlanDescription
NoNone
EmailAddressEmail address used for notifications.String (80)
Email
NoNone
EnabledYes/no flag showing whether the plan is enabled.Enum
NoYes (enum)
NoNone
ExecutionControlContainerStored execution control settings. The content is not described.low confidenceContainerNoNone
FromDateStart date of the period the plan covers.Date
FromDate
NoNone
MainAccountRangeRange of main accounts the plan uses.String (30)
PaymentPlanMainAccountRange
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NumberSequenceTableSystem record ID of the number sequence used as the voucher series.Int64
RefRecId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentCriteriaContainerStored payment criteria settings. The content is not described.low confidenceContainerNoNone
PaymentCurrencyCurrency in which payments are made.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
PaymentDefaultsContainerStored default payment settings. The content is not described.low confidenceContainerNoNone
PaymentFileNameName of the payment file.String (259)
ERFileName
NoNone
PaymentGenerationDataContainerStored data for payment generation. The content is not described.low confidenceContainerNoNone
PaymentPlanTemplateNameName of the payment plan template the plan is based on.String (20)
PaymentPlanTemplateName
NoPaymentPlanTemplate.NameNone
PaymentPlanTypeType of payment plan. The only value given is vendor outgoing payment.Enum
PaymentPlanType (enum)
YesNone
PaymentScheduleDateTimeDate and time when the payment is scheduled.UtcDateTime
PaymentScheduleDateTime
NoNone
PaymModeMethod of payment used by the plan.String
PaymMode
NoVendPaymModeTable.PaymModeNone
PlanIdUnique ID of the payment plan.String (20)
PaymentPlanID
YesNone
PlanStatusCurrent stage of the plan, from open and on hold through proposal steps to approved.Enum
PaymentPlanStatus (enum)
NoNone
ProcessingSeqContainerStored processing sequence settings. The content is not described.low confidenceContainerNoNone
ProposalScheduleDateTimeDate and time when the proposal is scheduled.UtcDateTime
PaymentScheduleDateTime
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
ScheduleStartDateTimeDate and time when the schedule starts.UtcDateTime
PaymentScheduleDateTime
NoNone
SentByMailYes/no flag for sending notifications by email.Enum
NoYes (enum)
NoNone
ShowPopUpYes/no flag for showing a pop-up notification.Enum
NoYes (enum)
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
TimeConstraintContainerStored time constraint settings. The content is not described.low confidenceContainerNoNone
ToDateEnd date of the period the plan covers.Date
ToDate
NoNone
WFApprovalYes/no flag showing whether workflow approval is used.Enum
NoYes (enum)
NoNone
WFConfigurationID of the workflow configuration used for approval.String (20)
WorkflowSequenceNumber
NoNone

Indexes (1)

Relations (5)

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

  • BankAccount → BankAccountTable

    Join on BankAccount = BankAccountTable.AccountID

    Many PaymentPlan records → exactly one BankAccountTable record

  • Company → DataArea

    Join on Company = DataArea.id

    Many PaymentPlan records → zero or one DataArea record

  • Currency → Currency

    Join on PaymentCurrency = Currency.CurrencyCode

    Many PaymentPlan records → exactly one Currency record

  • PaymentPlanTemplate → PaymentPlanTemplate

    Join on PaymentPlanTemplateName = PaymentPlanTemplate.Name

    Many PaymentPlan records → exactly one PaymentPlanTemplate record

  • VendPaymMode → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many 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.

Email sales@drdynamics.co.uk