Table
CFMPaymentRequestTable
Payment requests
Header of a payment request, found by the payment request ID. It holds the account, payment account, currency, dates, status and workflow state. It also points to the source, such as an invoice, and to people involved, such as the initiator and approver.
- Table name
CFMPaymentRequestTable- Module
Cash flow management (Russia)- Table group
WorksheetHeader- Table type
Regular- Data per company
No- Configuration key
CFMPaymentRequests- Primary index
None- Replacement key
PaymentRequestIdx- Key fields
PaymentRequestId- Model
Foundation
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PaymentRequestIdUnique ID of the payment request. | String (20)CFMPaymentRequestId | Yes | None | |
AccountNumAccount number of the party, for the chosen account type: vendor, worker or customer. | String (25)CFMAccountNum | Yes | CustBankAccount.CustAccountCustTable.AccountNumEmployeeTable_RU.EmployeeIdVendBankAccount.VendAccountVendTable.AccountNum | None |
AccountTypeType of the account: vendor, worker or customer. | EnumCFMAccountType (enum) | No | None | |
AgreementIDRegistration number of the purchase agreement linked to the request. | String (20)Num | No | None | |
ApprovedByWorker who approved the payment request. | Int64RefRecId | No | HcmWorker.RecId | None |
ApprovedDateDate the payment request was approved. | DateApprovedDate | No | None | |
BankPurposeTextText that states the purpose of the payment for the bank. | String (210)BankCentralBankPurposeText | No | None | |
CompletedDateDate the payment request was closed. | DateTransDate | No | 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 | |
CurrencyCodeCurrency of the payment request. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DeblockingDateDate the hold on the request was removed. | DateTransDate | No | None | |
DefaultDimensionDefault dimension set for the request. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DueDateDate the payment is due. | DateDueDate | Yes | None | |
HeaderRefRecIdPoints to the record the request originates from, such as a transaction or purchase order. | Int64RefRecId | No | CustTrans.RecIdPurchTable.RecIdVendTrans.RecId | None |
InitiatorWorker who started the payment request. | Int64CFMPaymentRequestInitiator | Yes | HcmWorker.RecId | None |
InvoiceAccountNumInvoice account number for the chosen account type. | String (25)CFMInvoiceAccountNum | No | CustTable.AccountNumVendTable.AccountNum | None |
NotesFree-text note on the request. | String (-1)Notes | No | None | |
OnHoldYes or No flag. Shows whether the request is on hold. | EnumNoYesIdNoYes (enum) | No | None | |
OnHoldInitiatorWorker who put the request on hold or released it. | Int64CFMPaymentRequestUpdateWorker | No | HcmWorker.RecId | None |
OnHoldReasonCodeReason code for the hold. Points to the reasons table. | StringReasonCode | No | ReasonTable.Reason | None |
OutdatedYes or No flag. Shows that the origin has changed and the request needs an update. | EnumNoYesIdNoYes (enum) | No | 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 | |
PaymentCurrencyCurrency in which the payment is made. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
PaymentDataAreaIdTreasury company (legal entity) that makes the payment. | StringSelectableDataArea | Yes | CompanyInfo.DataArea | None |
PaymentDateDate the payment request was closed by payment. | DateTransDate | No | None | |
PaymentDocumentNumID of the payment document that completed the request. | String (20)DocumentNum | No | None | |
PaymentOrderPoints to the payment order details for the request. | Int64RefRecId | No | CFMPaymentRequestPaymentOrder.RecId | None |
PaymentPriorityPoints to the payment priority record for the request. | Int64CFMPaymentPriorityRecId | No | CFMPaymentPriority.RecId | None |
PaymentRequestTypePoints to the payment request type. | Int64CFMPaymentRequestTypeRef | Yes | CFMPaymentRequestType.RecId | None |
PaymModeMethod of payment used for the request. | StringPaymMode | No | CustPaymModeSpec.PaymModeCustPaymModeTable.PaymModeVendPaymModeSpec.PaymModeVendPaymModeTable.PaymMode | None |
PaymSpecPayment specification linked to the method of payment. | StringPaymSpec | No | CustPaymModeSpec.SpecificationVendPaymModeSpec.Specification | None |
PostingProfilePosting profile for the customer or vendor. | StringPostingProfile | No | CustLedger.PostingProfileVendLedger.PostingProfile | None |
PrepaymentYes or No flag. Shows whether the request is for a prepayment. | EnumNoYesIdNoYes (enum) | No | None | |
RecepientBankAccountIdBank account of the party who receives the payment. | StringBankAccountID | No | CustBankAccount.AccountIDVendBankAccount.AccountID | 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) that the request comes from. | StringSelectableDataArea | Yes | CompanyInfo.DataArea | None |
SourceRefRecIdPoints to the open customer or vendor transaction the request comes from. | Int64RefRecId | No | CustTransOpen.RecIdVendTransOpen.RecId | None |
SourceTypeHow the request arose: manual, vendor invoice, customer invoice, planned payment, advance report or expense report. | EnumCFMPaymentRequestSourceType (enum) | No | None | |
StatusStatus of the request: opened, confirmed, scheduled, accepted, completed or canceled. | EnumCFMPaymentRequestStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkflowStatusApproval state of the request: none, not submitted, submitted, approved or rejected. | EnumCFMPaymentRequestWorkflowStatus (enum) | No | None |
Indexes (5)
PaymentRequestIdxReplacement keyUnique, alternate key.
PaymentDateStatusIdxPaymentDataAreaId,DueDate,Status,WorkflowStatusNot unique.
SourceDateStatusIdxSourceDataAreaId,DueDate,Status,WorkflowStatusNot unique.
SourceRefRecIdxNot unique.
HeaderRefRecIdxNot unique.
Relations (36)
Each relation joins CFMPaymentRequestTable to another table on the fields shown.
Approver→HcmWorkerJoin on
ApprovedBy = HcmWorker.RecIdMany CFMPaymentRequestTable records → exactly one HcmWorker record
BankAccount→BankAccountTableJoin on
PaymentAccountType = CFMPaymentAccountType::Bank,PaymentDataAreaId = BankAccountTable.dataAreaId,PaymentAccountNum = BankAccountTable.AccountIDMany CFMPaymentRequestTable records → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CFMPaymentRequestTable records → exactly one Currency record
CustBankAccount→CustBankAccountJoin on
AccountType = CFMAccountType::Cust,AccountNum = CustBankAccount.CustAccount,RecepientBankAccountId = CustBankAccount.AccountID,SourceDataAreaId = CustBankAccount.dataAreaIdMany CFMPaymentRequestTable records → zero or one CustBankAccount record
CustInvoiceAccount→CustTableJoin on
AccountType = CFMAccountType::Cust,InvoiceAccountNum = CustTable.AccountNum,SourceDataAreaId = CustTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one CustTable record
Customer→CustTableJoin on
AccountType = CFMAccountType::Cust,AccountNum = CustTable.AccountNum,SourceDataAreaId = CustTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one CustTable record
CustPaymMode→CustPaymModeTableJoin on
AccountType = CFMAccountType::Cust,PaymentDataAreaId = CustPaymModeTable.dataAreaId,PaymMode = CustPaymModeTable.PaymModeMany CFMPaymentRequestTable records → zero or one CustPaymModeTable record
CustPaymModeSpec→CustPaymModeSpecJoin on
AccountType = CFMAccountType::Cust,PaymentDataAreaId = CustPaymModeSpec.dataAreaId,PaymMode = CustPaymModeSpec.PaymMode,PaymSpec = CustPaymModeSpec.SpecificationMany CFMPaymentRequestTable records → zero or one CustPaymModeSpec record
CustPostingProfile→CustLedgerJoin on
AccountType = CFMAccountType::Cust,PostingProfile = CustLedger.PostingProfile,SourceDataAreaId = CustLedger.dataAreaIdMany CFMPaymentRequestTable records → zero or one CustLedger record
CustTrans→CustTransJoin on
HeaderRefRecId = CustTrans.RecId,SourceType = CFMPaymentRequestSourceType::CustInvoiceMany CFMPaymentRequestTable records → zero or one CustTrans record
CustTransOpen→CustTransOpenJoin on
SourceRefRecId = CustTransOpen.RecIdMany CFMPaymentRequestTable records → exactly one CustTransOpen record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CFMPaymentRequestTable records → zero or one DimensionAttributeValueSet record
EmployeeTable_RU→EmployeeTable_RUJoin on
EmployeeTable_RU.AdvHolder = NoYes::Yes,AccountType = CFMAccountType::Worker,AccountNum = EmployeeTable_RU.EmployeeId,SourceDataAreaId = EmployeeTable_RU.dataAreaIdMany CFMPaymentRequestTable records → zero or one EmployeeTable_RU record
HcmWorker→HcmWorkerJoin on
AccountType = CFMAccountType::Worker,AccountNum = HcmWorker.PersonnelNumberMany CFMPaymentRequestTable records → exactly one HcmWorker record
Initiator→HcmWorkerJoin on
Initiator = HcmWorker.RecIdMany CFMPaymentRequestTable records → exactly one HcmWorker record
PaymentCompanyInfo→CompanyInfoJoin on
PaymentDataAreaId = CompanyInfo.DataAreaMany CFMPaymentRequestTable records → exactly one CompanyInfo record
PaymentCurrency→CurrencyJoin on
PaymentCurrency = Currency.CurrencyCodeMany CFMPaymentRequestTable records → exactly one Currency record
PaymentOrder→CFMPaymentRequestPaymentOrderJoin on
PaymentOrder = CFMPaymentRequestPaymentOrder.RecIdMany CFMPaymentRequestTable records → zero or one CFMPaymentRequestPaymentOrder record
PaymentPriority→CFMPaymentPriorityJoin on
PaymentPriority = CFMPaymentPriority.RecIdMany CFMPaymentRequestTable records → zero or one CFMPaymentPriority record
PaymentRequestTable→CFMPaymentRequestTableJoin on
PaymentRequestId = CFMPaymentRequestTable.PaymentRequestIdExactly one CFMPaymentRequestTable record → exactly one CFMPaymentRequestTable record
PaymentRequestType→CFMPaymentRequestTypeJoin on
PaymentRequestType = CFMPaymentRequestType.RecIdMany CFMPaymentRequestTable records → exactly one CFMPaymentRequestType record
PurchAgreement→PurchAgreementHeaderJoin on
AccountType = CFMAccountType::Vend,AccountNum = PurchAgreementHeader.VendAccount,AgreementID = PurchAgreementHeader.PurchNumberSequence,SourceDataAreaId = PurchAgreementHeader.VendorDataAreaIdMany CFMPaymentRequestTable records → zero or one PurchAgreementHeader record
PurchTable→PurchTableJoin on
SourceType = CFMPaymentRequestSourceType::PlannedPayment,HeaderRefRecId = PurchTable.RecIdMany CFMPaymentRequestTable records → zero or one PurchTable record
RCash→RCashTableJoin on
PaymentAccountType = CFMPaymentAccountType::Cash_RU,PaymentAccountNum = RCashTable.AccountNum,SourceDataAreaId = RCashTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one RCashTable record
ReasonTable→ReasonTableJoin on
OnHoldReasonCode = ReasonTable.Reason,PaymentDataAreaId = ReasonTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one ReasonTable record
SalesAgreement→SalesAgreementHeaderJoin on
AccountType = CFMAccountType::Cust,AccountNum = SalesAgreementHeader.CustAccount,AgreementID = SalesAgreementHeader.SalesNumberSequence,SourceDataAreaId = SalesAgreementHeader.CustomerDataAreaIdMany CFMPaymentRequestTable records → zero or one SalesAgreementHeader record
SourceCompanyInfo→CompanyInfoJoin on
SourceDataAreaId = CompanyInfo.DataAreaMany CFMPaymentRequestTable records → exactly one CompanyInfo record
VendBankAccount→VendBankAccountJoin on
AccountType = CFMAccountType::Vend,AccountNum = VendBankAccount.VendAccount,RecepientBankAccountId = VendBankAccount.AccountID,SourceDataAreaId = VendBankAccount.dataAreaIdMany CFMPaymentRequestTable records → zero or one VendBankAccount record
VendInvoiceAccount→VendTableJoin on
AccountType = CFMAccountType::Vend,InvoiceAccountNum = VendTable.AccountNum,SourceDataAreaId = VendTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one VendTable record
Vendor→VendTableJoin on
AccountType = CFMAccountType::Vend,AccountNum = VendTable.AccountNum,SourceDataAreaId = VendTable.dataAreaIdMany CFMPaymentRequestTable records → zero or one VendTable record
VendPaymMode→VendPaymModeTableJoin on
AccountType = CFMAccountType::Vend,PaymentDataAreaId = VendPaymModeTable.dataAreaId,PaymMode = VendPaymModeTable.PaymModeMany CFMPaymentRequestTable records → zero or one VendPaymModeTable record
VendPaymModeSpec→VendPaymModeSpecJoin on
AccountType = CFMAccountType::Vend,PaymentDataAreaId = VendPaymModeSpec.dataAreaId,PaymMode = VendPaymModeSpec.PaymMode,PaymSpec = VendPaymModeSpec.SpecificationMany CFMPaymentRequestTable records → zero or one VendPaymModeSpec record
VendPostingProfile→VendLedgerJoin on
AccountType = CFMAccountType::Vend,PostingProfile = VendLedger.PostingProfile,SourceDataAreaId = VendLedger.dataAreaIdMany CFMPaymentRequestTable records → zero or one VendLedger record
VendTrans→VendTransJoin on
HeaderRefRecId = VendTrans.RecId,SourceType = CFMPaymentRequestSourceType::VendInvoiceMany CFMPaymentRequestTable records → zero or one VendTrans record
VendTransOpen→VendTransOpenJoin on
SourceRefRecId = VendTransOpen.RecIdMany CFMPaymentRequestTable records → exactly one VendTransOpen record
WorkerOnHoldInitiator→HcmWorkerJoin on
OnHoldInitiator = HcmWorker.RecIdMany CFMPaymentRequestTable records → exactly one HcmWorker record
Get this data out
No public entity reads from CFMPaymentRequestTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with CFMPaymentRequestTable in a report, an integration or a migration? Talk to Dr Dynamics.