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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PaymentRequestIdUnique ID of the payment request.String (20)
CFMPaymentRequestId
YesNone
AccountNumAccount number of the party, for the chosen account type: vendor, worker or customer.String (25)
CFMAccountNum
YesCustBankAccount.CustAccountCustTable.AccountNumEmployeeTable_RU.EmployeeIdVendBankAccount.VendAccountVendTable.AccountNumNone
AccountTypeType of the account: vendor, worker or customer.Enum
CFMAccountType (enum)
NoNone
AgreementIDRegistration number of the purchase agreement linked to the request.String (20)
Num
NoNone
ApprovedByWorker who approved the payment request.Int64
RefRecId
NoHcmWorker.RecIdNone
ApprovedDateDate the payment request was approved.Date
ApprovedDate
NoNone
BankPurposeTextText that states the purpose of the payment for the bank.String (210)
BankCentralBankPurposeText
NoNone
CompletedDateDate the payment request was closed.Date
TransDate
NoNone
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
CurrencyCodeCurrency of the payment request.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DeblockingDateDate the hold on the request was removed.Date
TransDate
NoNone
DefaultDimensionDefault dimension set for the request.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DueDateDate the payment is due.Date
DueDate
YesNone
HeaderRefRecIdPoints to the record the request originates from, such as a transaction or purchase order.Int64
RefRecId
NoCustTrans.RecIdPurchTable.RecIdVendTrans.RecIdNone
InitiatorWorker who started the payment request.Int64
CFMPaymentRequestInitiator
YesHcmWorker.RecIdNone
InvoiceAccountNumInvoice account number for the chosen account type.String (25)
CFMInvoiceAccountNum
NoCustTable.AccountNumVendTable.AccountNumNone
NotesFree-text note on the request.String (-1)
Notes
NoNone
OnHoldYes or No flag. Shows whether the request is on hold.Enum
NoYesId
NoYes (enum)
NoNone
OnHoldInitiatorWorker who put the request on hold or released it.Int64
CFMPaymentRequestUpdateWorker
NoHcmWorker.RecIdNone
OnHoldReasonCodeReason code for the hold. Points to the reasons table.String
ReasonCode
NoReasonTable.ReasonNone
OutdatedYes or No flag. Shows that the origin has changed and the request needs an update.Enum
NoYesId
NoYes (enum)
NoNone
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
PaymentCurrencyCurrency in which the payment is made.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
PaymentDataAreaIdTreasury company (legal entity) that makes the payment.String
SelectableDataArea
YesCompanyInfo.DataAreaNone
PaymentDateDate the payment request was closed by payment.Date
TransDate
NoNone
PaymentDocumentNumID of the payment document that completed the request.String (20)
DocumentNum
NoNone
PaymentOrderPoints to the payment order details for the request.Int64
RefRecId
NoCFMPaymentRequestPaymentOrder.RecIdNone
PaymentPriorityPoints to the payment priority record for the request.Int64
CFMPaymentPriorityRecId
NoCFMPaymentPriority.RecIdNone
PaymentRequestTypePoints to the payment request type.Int64
CFMPaymentRequestTypeRef
YesCFMPaymentRequestType.RecIdNone
PaymModeMethod of payment used for the request.String
PaymMode
NoCustPaymModeSpec.PaymModeCustPaymModeTable.PaymModeVendPaymModeSpec.PaymModeVendPaymModeTable.PaymModeNone
PaymSpecPayment specification linked to the method of payment.String
PaymSpec
NoCustPaymModeSpec.SpecificationVendPaymModeSpec.SpecificationNone
PostingProfilePosting profile for the customer or vendor.String
PostingProfile
NoCustLedger.PostingProfileVendLedger.PostingProfileNone
PrepaymentYes or No flag. Shows whether the request is for a prepayment.Enum
NoYesId
NoYes (enum)
NoNone
RecepientBankAccountIdBank account of the party who receives the payment.String
BankAccountID
NoCustBankAccount.AccountIDVendBankAccount.AccountIDNone
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) that the request comes from.String
SelectableDataArea
YesCompanyInfo.DataAreaNone
SourceRefRecIdPoints to the open customer or vendor transaction the request comes from.Int64
RefRecId
NoCustTransOpen.RecIdVendTransOpen.RecIdNone
SourceTypeHow the request arose: manual, vendor invoice, customer invoice, planned payment, advance report or expense report.Enum
CFMPaymentRequestSourceType (enum)
NoNone
StatusStatus of the request: opened, confirmed, scheduled, accepted, completed or canceled.Enum
CFMPaymentRequestStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkflowStatusApproval state of the request: none, not submitted, submitted, approved or rejected.Enum
CFMPaymentRequestWorkflowStatus (enum)
NoNone

Indexes (5)

Relations (36)

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

  • Approver → HcmWorker

    Join on ApprovedBy = HcmWorker.RecId

    Many CFMPaymentRequestTable records → exactly one HcmWorker record

  • BankAccount → BankAccountTable

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

    Many CFMPaymentRequestTable records → zero or one BankAccountTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CFMPaymentRequestTable records → exactly one Currency record

  • CustBankAccount → CustBankAccount

    Join on AccountType = CFMAccountType::Cust, AccountNum = CustBankAccount.CustAccount, RecepientBankAccountId = CustBankAccount.AccountID, SourceDataAreaId = CustBankAccount.dataAreaId

    Many CFMPaymentRequestTable records → zero or one CustBankAccount record

  • CustInvoiceAccount → CustTable

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

    Many CFMPaymentRequestTable records → zero or one CustTable record

  • Customer → CustTable

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

    Many CFMPaymentRequestTable records → zero or one CustTable record

  • CustPaymMode → CustPaymModeTable

    Join on AccountType = CFMAccountType::Cust, PaymentDataAreaId = CustPaymModeTable.dataAreaId, PaymMode = CustPaymModeTable.PaymMode

    Many CFMPaymentRequestTable records → zero or one CustPaymModeTable record

  • CustPaymModeSpec → CustPaymModeSpec

    Join on AccountType = CFMAccountType::Cust, PaymentDataAreaId = CustPaymModeSpec.dataAreaId, PaymMode = CustPaymModeSpec.PaymMode, PaymSpec = CustPaymModeSpec.Specification

    Many CFMPaymentRequestTable records → zero or one CustPaymModeSpec record

  • CustPostingProfile → CustLedger

    Join on AccountType = CFMAccountType::Cust, PostingProfile = CustLedger.PostingProfile, SourceDataAreaId = CustLedger.dataAreaId

    Many CFMPaymentRequestTable records → zero or one CustLedger record

  • CustTrans → CustTrans

    Join on HeaderRefRecId = CustTrans.RecId, SourceType = CFMPaymentRequestSourceType::CustInvoice

    Many CFMPaymentRequestTable records → zero or one CustTrans record

  • CustTransOpen → CustTransOpen

    Join on SourceRefRecId = CustTransOpen.RecId

    Many CFMPaymentRequestTable records → exactly one CustTransOpen record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CFMPaymentRequestTable records → zero or one DimensionAttributeValueSet record

  • EmployeeTable_RU → EmployeeTable_RU

    Join on EmployeeTable_RU.AdvHolder = NoYes::Yes, AccountType = CFMAccountType::Worker, AccountNum = EmployeeTable_RU.EmployeeId, SourceDataAreaId = EmployeeTable_RU.dataAreaId

    Many CFMPaymentRequestTable records → zero or one EmployeeTable_RU record

  • HcmWorker → HcmWorker

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

    Many CFMPaymentRequestTable records → exactly one HcmWorker record

  • Initiator → HcmWorker

    Join on Initiator = HcmWorker.RecId

    Many CFMPaymentRequestTable records → exactly one HcmWorker record

  • PaymentCompanyInfo → CompanyInfo

    Join on PaymentDataAreaId = CompanyInfo.DataArea

    Many CFMPaymentRequestTable records → exactly one CompanyInfo record

  • PaymentCurrency → Currency

    Join on PaymentCurrency = Currency.CurrencyCode

    Many CFMPaymentRequestTable records → exactly one Currency record

  • PaymentOrder → CFMPaymentRequestPaymentOrder

    Join on PaymentOrder = CFMPaymentRequestPaymentOrder.RecId

    Many CFMPaymentRequestTable records → zero or one CFMPaymentRequestPaymentOrder record

  • PaymentPriority → CFMPaymentPriority

    Join on PaymentPriority = CFMPaymentPriority.RecId

    Many CFMPaymentRequestTable records → zero or one CFMPaymentPriority record

  • PaymentRequestTable → CFMPaymentRequestTable

    Join on PaymentRequestId = CFMPaymentRequestTable.PaymentRequestId

    Exactly one CFMPaymentRequestTable record → exactly one CFMPaymentRequestTable record

  • PaymentRequestType → CFMPaymentRequestType

    Join on PaymentRequestType = CFMPaymentRequestType.RecId

    Many CFMPaymentRequestTable records → exactly one CFMPaymentRequestType record

  • PurchAgreement → PurchAgreementHeader

    Join on AccountType = CFMAccountType::Vend, AccountNum = PurchAgreementHeader.VendAccount, AgreementID = PurchAgreementHeader.PurchNumberSequence, SourceDataAreaId = PurchAgreementHeader.VendorDataAreaId

    Many CFMPaymentRequestTable records → zero or one PurchAgreementHeader record

  • PurchTable → PurchTable

    Join on SourceType = CFMPaymentRequestSourceType::PlannedPayment, HeaderRefRecId = PurchTable.RecId

    Many CFMPaymentRequestTable records → zero or one PurchTable record

  • RCash → RCashTable

    Join on PaymentAccountType = CFMPaymentAccountType::Cash_RU, PaymentAccountNum = RCashTable.AccountNum, SourceDataAreaId = RCashTable.dataAreaId

    Many CFMPaymentRequestTable records → zero or one RCashTable record

  • ReasonTable → ReasonTable

    Join on OnHoldReasonCode = ReasonTable.Reason, PaymentDataAreaId = ReasonTable.dataAreaId

    Many CFMPaymentRequestTable records → zero or one ReasonTable record

  • SalesAgreement → SalesAgreementHeader

    Join on AccountType = CFMAccountType::Cust, AccountNum = SalesAgreementHeader.CustAccount, AgreementID = SalesAgreementHeader.SalesNumberSequence, SourceDataAreaId = SalesAgreementHeader.CustomerDataAreaId

    Many CFMPaymentRequestTable records → zero or one SalesAgreementHeader record

  • SourceCompanyInfo → CompanyInfo

    Join on SourceDataAreaId = CompanyInfo.DataArea

    Many CFMPaymentRequestTable records → exactly one CompanyInfo record

  • VendBankAccount → VendBankAccount

    Join on AccountType = CFMAccountType::Vend, AccountNum = VendBankAccount.VendAccount, RecepientBankAccountId = VendBankAccount.AccountID, SourceDataAreaId = VendBankAccount.dataAreaId

    Many CFMPaymentRequestTable records → zero or one VendBankAccount record

  • VendInvoiceAccount → VendTable

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

    Many CFMPaymentRequestTable records → zero or one VendTable record

  • Vendor → VendTable

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

    Many CFMPaymentRequestTable records → zero or one VendTable record

  • VendPaymMode → VendPaymModeTable

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

    Many CFMPaymentRequestTable records → zero or one VendPaymModeTable record

  • VendPaymModeSpec → VendPaymModeSpec

    Join on AccountType = CFMAccountType::Vend, PaymentDataAreaId = VendPaymModeSpec.dataAreaId, PaymMode = VendPaymModeSpec.PaymMode, PaymSpec = VendPaymModeSpec.Specification

    Many CFMPaymentRequestTable records → zero or one VendPaymModeSpec record

  • VendPostingProfile → VendLedger

    Join on AccountType = CFMAccountType::Vend, PostingProfile = VendLedger.PostingProfile, SourceDataAreaId = VendLedger.dataAreaId

    Many CFMPaymentRequestTable records → zero or one VendLedger record

  • VendTrans → VendTrans

    Join on HeaderRefRecId = VendTrans.RecId, SourceType = CFMPaymentRequestSourceType::VendInvoice

    Many CFMPaymentRequestTable records → zero or one VendTrans record

  • VendTransOpen → VendTransOpen

    Join on SourceRefRecId = VendTransOpen.RecId

    Many CFMPaymentRequestTable records → exactly one VendTransOpen record

  • WorkerOnHoldInitiator → HcmWorker

    Join on OnHoldInitiator = HcmWorker.RecId

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

Email sales@drdynamics.co.uk