Table

CFMPlannedPaymentTable

Planned payment

Header of a planned payment. It holds the account, currency, due date, payment account and method of payment. It also records the source, which can be a sales order, a purchase order or a free text invoice.

Table name
CFMPlannedPaymentTable
Module
Cash flow management (Russia)
Table group
WorksheetHeader
Table type
Regular
Data per company
No
Configuration key
CFMCashflowManagement
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumAccount number of the customer or vendor, depending on the account type.String (25)
CFMAccountNum
YesCustTable.AccountNumVendTable.AccountNumNone
AccountTypeType of the account: vendor, worker or customer.Enum
CFMAccountType (enum)
NoNone
CurrencyCodeCurrency of the planned payment.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DiscDateDate of the cash discount.Date
DiscDate
NoNone
DueDateDate the payment is due.Date
DueDate
YesNone
InvoiceAccountNumInvoice account number, depending on the account type.String (25)
CFMAccountNum
YesCustTable.AccountNumVendTable.AccountNumNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentAccountNumBank or petty cash account used for the payment.String (20)
CFMPaymentAccountNum
NoBankAccountTable.AccountIDRCashTable.AccountNumNone
PaymentAccountTypeType of payment account: bank or petty cash.Enum
CFMPaymentAccountType (enum)
NoNone
PaymentDataAreaIdCompany (legal entity) of the payment account and method of payment.String
SelectableDataArea
YesBankAccountTable.DataAreaIdRCashTable.DataAreaIdVendPaymModeTable.DataAreaIdNone
PaymentModeMethod of payment for the planned payment.String
PaymMode
NoCustPaymModeTable.PaymModeVendPaymModeTable.PaymModeNone
PaymentPriorityPoints to the payment priority record.Int64
CFMPaymentPriorityRecId
NoCFMPaymentPriority.RecIdNone
PrepaymentYes or No flag. Shows whether the payment is a prepayment.Enum
CFMPrepayment
NoYes (enum)
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
SourceDataAreaIdCompany (legal entity) of the source record.String
SelectableDataArea
YesCustInvoiceTable.dataAreaIdCustPaymModeTable.DataAreaIdCustTable.DataAreaIdCustTable.DataAreaIdPurchTable.DataAreaIdSalesTable.DataAreaIdVendTable.DataAreaIdVendTable.DataAreaIdNone
SourceRecIdPoints to the source record: a free text invoice, purchase order or sales order.Int64
RefRecId
YesCustInvoiceTable.RecIdPurchTable.RecIdSalesTable.RecIdNone
SourceTypeKind of source: sales order, purchase order or free text invoice.Enum
CFMPlannedPaymentSourceType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (14)

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

  • BankAccountTable → BankAccountTable

    Join on PaymentDataAreaId = BankAccountTable.DataAreaId, PaymentAccountType = CFMPaymentAccountType::Bank, PaymentAccountNum = BankAccountTable.AccountID

    Many CFMPlannedPaymentTable records → zero or one BankAccountTable record

  • CFMPaymentPriority → CFMPaymentPriority

    Join on PaymentPriority = CFMPaymentPriority.RecId

    Many CFMPlannedPaymentTable records → zero or one CFMPaymentPriority record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CFMPlannedPaymentTable records → exactly one Currency record

  • CustInvoiceAccount → CustTable

    Join on SourceDataAreaId = CustTable.DataAreaId, AccountType = CFMAccountType::Cust, InvoiceAccountNum = CustTable.AccountNum

    Many CFMPlannedPaymentTable records → zero or one CustTable record

  • CustInvoiceTable → CustInvoiceTable

    Join on SourceDataAreaId = CustInvoiceTable.dataAreaId, SourceType = CFMPlannedPaymentSourceType::CustInvoiceTable, SourceRecId = CustInvoiceTable.RecId

    Many CFMPlannedPaymentTable records → zero or one CustInvoiceTable record

  • CustPaymModeTable → CustPaymModeTable

    Join on SourceDataAreaId = CustPaymModeTable.DataAreaId, AccountType = CFMAccountType::Cust, PaymentMode = CustPaymModeTable.PaymMode

    Many CFMPlannedPaymentTable records → zero or one CustPaymModeTable record

  • CustTable → CustTable

    Join on SourceDataAreaId = CustTable.DataAreaId, AccountType = CFMAccountType::Cust, AccountNum = CustTable.AccountNum

    Many CFMPlannedPaymentTable records → zero or one CustTable record

  • HCMWorker → HCMWorker

    Join on AccountType = CFMAccountType::Worker, AccountNum = HCMWorker.PersonnelNumber

    Many CFMPlannedPaymentTable records → exactly one HCMWorker record

  • PurchTable → PurchTable

    Join on SourceDataAreaId = PurchTable.DataAreaId, SourceType = CFMPlannedPaymentSourceType::PurchTable, SourceRecId = PurchTable.RecId

    Many CFMPlannedPaymentTable records → zero or one PurchTable record

  • RCashTable → RCashTable

    Join on PaymentDataAreaId = RCashTable.DataAreaId, PaymentAccountType = CFMPaymentAccountType::Cash_RU, PaymentAccountNum = RCashTable.AccountNum

    Many CFMPlannedPaymentTable records → zero or one RCashTable record

  • SalesTable → SalesTable

    Join on SourceDataAreaId = SalesTable.DataAreaId, SourceType = CFMPlannedPaymentSourceType::SalesTable, SourceRecId = SalesTable.RecId

    Many CFMPlannedPaymentTable records → zero or one SalesTable record

  • VendInvoiceAccount → VendTable

    Join on SourceDataAreaId = VendTable.DataAreaId, AccountType = CFMAccountType::Vend, InvoiceAccountNum = VendTable.AccountNum

    Many CFMPlannedPaymentTable records → zero or one VendTable record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymentDataAreaId = VendPaymModeTable.DataAreaId, AccountType = CFMAccountType::Vend, PaymentMode = VendPaymModeTable.PaymMode

    Many CFMPlannedPaymentTable records → zero or one VendPaymModeTable record

  • VendTable → VendTable

    Join on SourceDataAreaId = VendTable.DataAreaId, AccountType = CFMAccountType::Vend, AccountNum = VendTable.AccountNum

    Many CFMPlannedPaymentTable records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk