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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount number of the customer or vendor, depending on the account type. | String (25)CFMAccountNum | Yes | CustTable.AccountNumVendTable.AccountNum | None |
AccountTypeType of the account: vendor, worker or customer. | EnumCFMAccountType (enum) | No | None | |
CurrencyCodeCurrency of the planned payment. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DiscDateDate of the cash discount. | DateDiscDate | No | None | |
DueDateDate the payment is due. | DateDueDate | Yes | None | |
InvoiceAccountNumInvoice account number, depending on the account type. | String (25)CFMAccountNum | Yes | CustTable.AccountNumVendTable.AccountNum | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentAccountNumBank or petty cash account used for the payment. | String (20)CFMPaymentAccountNum | No | BankAccountTable.AccountIDRCashTable.AccountNum | None |
PaymentAccountTypeType of payment account: bank or petty cash. | EnumCFMPaymentAccountType (enum) | No | None | |
PaymentDataAreaIdCompany (legal entity) of the payment account and method of payment. | StringSelectableDataArea | Yes | BankAccountTable.DataAreaIdRCashTable.DataAreaIdVendPaymModeTable.DataAreaId | None |
PaymentModeMethod of payment for the planned payment. | StringPaymMode | No | CustPaymModeTable.PaymModeVendPaymModeTable.PaymMode | None |
PaymentPriorityPoints to the payment priority record. | Int64CFMPaymentPriorityRecId | No | CFMPaymentPriority.RecId | None |
PrepaymentYes or No flag. Shows whether the payment is a prepayment. | EnumCFMPrepaymentNoYes (enum) | 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 | |
SourceDataAreaIdCompany (legal entity) of the source record. | StringSelectableDataArea | Yes | CustInvoiceTable.dataAreaIdCustPaymModeTable.DataAreaIdCustTable.DataAreaIdCustTable.DataAreaIdPurchTable.DataAreaIdSalesTable.DataAreaIdVendTable.DataAreaIdVendTable.DataAreaId | None |
SourceRecIdPoints to the source record: a free text invoice, purchase order or sales order. | Int64RefRecId | Yes | CustInvoiceTable.RecIdPurchTable.RecIdSalesTable.RecId | None |
SourceTypeKind of source: sales order, purchase order or free text invoice. | EnumCFMPlannedPaymentSourceType (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
DateIdxNot unique.
SourceDateIdxSourceDataAreaId,SourceType,SourceRecId,DueDateNot unique.
Relations (14)
Each relation joins CFMPlannedPaymentTable to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
PaymentDataAreaId = BankAccountTable.DataAreaId,PaymentAccountType = CFMPaymentAccountType::Bank,PaymentAccountNum = BankAccountTable.AccountIDMany CFMPlannedPaymentTable records → zero or one BankAccountTable record
CFMPaymentPriority→CFMPaymentPriorityJoin on
PaymentPriority = CFMPaymentPriority.RecIdMany CFMPlannedPaymentTable records → zero or one CFMPaymentPriority record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CFMPlannedPaymentTable records → exactly one Currency record
CustInvoiceAccount→CustTableJoin on
SourceDataAreaId = CustTable.DataAreaId,AccountType = CFMAccountType::Cust,InvoiceAccountNum = CustTable.AccountNumMany CFMPlannedPaymentTable records → zero or one CustTable record
CustInvoiceTable→CustInvoiceTableJoin on
SourceDataAreaId = CustInvoiceTable.dataAreaId,SourceType = CFMPlannedPaymentSourceType::CustInvoiceTable,SourceRecId = CustInvoiceTable.RecIdMany CFMPlannedPaymentTable records → zero or one CustInvoiceTable record
CustPaymModeTable→CustPaymModeTableJoin on
SourceDataAreaId = CustPaymModeTable.DataAreaId,AccountType = CFMAccountType::Cust,PaymentMode = CustPaymModeTable.PaymModeMany CFMPlannedPaymentTable records → zero or one CustPaymModeTable record
CustTable→CustTableJoin on
SourceDataAreaId = CustTable.DataAreaId,AccountType = CFMAccountType::Cust,AccountNum = CustTable.AccountNumMany CFMPlannedPaymentTable records → zero or one CustTable record
HCMWorker→HCMWorkerJoin on
AccountType = CFMAccountType::Worker,AccountNum = HCMWorker.PersonnelNumberMany CFMPlannedPaymentTable records → exactly one HCMWorker record
PurchTable→PurchTableJoin on
SourceDataAreaId = PurchTable.DataAreaId,SourceType = CFMPlannedPaymentSourceType::PurchTable,SourceRecId = PurchTable.RecIdMany CFMPlannedPaymentTable records → zero or one PurchTable record
RCashTable→RCashTableJoin on
PaymentDataAreaId = RCashTable.DataAreaId,PaymentAccountType = CFMPaymentAccountType::Cash_RU,PaymentAccountNum = RCashTable.AccountNumMany CFMPlannedPaymentTable records → zero or one RCashTable record
SalesTable→SalesTableJoin on
SourceDataAreaId = SalesTable.DataAreaId,SourceType = CFMPlannedPaymentSourceType::SalesTable,SourceRecId = SalesTable.RecIdMany CFMPlannedPaymentTable records → zero or one SalesTable record
VendInvoiceAccount→VendTableJoin on
SourceDataAreaId = VendTable.DataAreaId,AccountType = CFMAccountType::Vend,InvoiceAccountNum = VendTable.AccountNumMany CFMPlannedPaymentTable records → zero or one VendTable record
VendPaymModeTable→VendPaymModeTableJoin on
PaymentDataAreaId = VendPaymModeTable.DataAreaId,AccountType = CFMAccountType::Vend,PaymentMode = VendPaymModeTable.PaymModeMany CFMPlannedPaymentTable records → zero or one VendPaymModeTable record
VendTable→VendTableJoin on
SourceDataAreaId = VendTable.DataAreaId,AccountType = CFMAccountType::Vend,AccountNum = VendTable.AccountNumMany 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.