Table

CPTableTR

Checks and promissory notes

Holds checks and promissory notes, each identified by a system check number. It stores amounts, currency, dates, the account involved (customer, vendor, bank, portfolio, ledger or COA), and the people who drew and signed it. It links to portfolio, transaction code, bank group and customers.

Table name
CPTableTR
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (33)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumAccount number of the customer, vendor, bank or other account the check relates to.String (20)
AccountNum
NoBankAccountTable.AccountIDCustTable.AccountNumVendTable.AccountNumCPTableEntity
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA.Enum
CPAccountTypeTR (enum)
NoCPTableEntity
AmountAmount of the check or note.Real
Amount
NoCPTableEntity
BankAccountIDIdentifier of the bank account.String
BankAccountID
NoBankAccountTable.AccountIDCPTableEntity
BankBranchNameName of the bank branch.String (20)
CPBankBranchNameTR
NoCPTableEntity
BankGroupIdBank group the check belongs to.String
BankGroupId
NoBankGroup.BankGroupIdCPTableEntity
BranchCodeCode of the bank branch.String (20)
CPBranchCodeTR
NoCPTableEntity
CancelledYes/No flag showing whether the check is cancelled.Enum
NoYes (enum)
NoCPTableEntity
ChequeJournalNumInternal journal reference number of the check.String (20)
CPJournalNumTR
NoCPTableEntity
ChequePrintedNumNumber printed on the check document.String (20)
CPPrintedNumTR
NoCPTableEntity
ChequeTransactionNumMovement or tracking number of the check.String (20)
CPTransactionNumTR
NoCPTableEntity
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 check or note.String (3)
CurrencyCode
NoCurrency.CurrencyCodeCPTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebitCreditShows whether the entry is a debit or a credit.Enum
DebitCredit (enum)
NoCPTableEntity
DrawerName of the person who issued the check or note.String (50)
CPDrawerTR
NoCPTableEntity
DrawingDateDate the check or note was issued.Date
CPDrawingDateTR
NoCPTableEntity
DueDateDate when the check or note falls due.Date
CPDueDateTR
NoCPTableEntity
GuarantorName of the guarantor.String (50)
CPGuarantorTR
NoCPTableEntity
OpenInJournalYes/No flag showing whether the check is open and in use in a journal.Enum
CPOpeninJournalTR
NoYes (enum)
NoCPTableEntity
OwnChequeYes/No flag showing whether it is the company's own check.Enum
NoYes (enum)
NoCPTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortfolioCodePortfolio the check or note belongs to.String (20)
CPPortfolioCodeTR
NoCPTableEntity
PortfolioTypeKind of instrument: check received, check given, promissory note received or promissory note given.Enum
CPPortfolioTypeTR (enum)
NoCPPortfolioTR.PortfolioTypeCPTableEntity
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
SignedByName of the person who signed.String (50)
CPSignedByTR
NoCPTableEntity
SystemChequeNumUnique system-generated number of the check.String (20)
CPSystemNumTR
YesCPTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransCodeTransaction code applied to the check.String
CPTransCodeTR
NoCPTransCodeTableTR.TransCodeCPTableEntity
TransferCustAccountCustomer account that transferred the check.String (20)
CustAccount
NoCustTable.AccountNumCPTableEntity
TransferExchRateExchange rate used for the transfer.Real
ExchRate
NoCPTableEntity

Indexes (1)

Relations (10)

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

  • CPTransCodeTable → CPTransCodeTableTR

    Join on TransCode = CPTransCodeTableTR.TransCode

    Many CPTableTR records → zero or one CPTransCodeTableTR record

  • BankGroup → BankGroup

    Join on BankGroupId = BankGroup.BankGroupId

    Many CPTableTR records → exactly one BankGroup record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CPTableTR records → exactly one Currency record

  • TransferCustTable → CustTable

    Join on TransferCustAccount = CustTable.AccountNum

    Many CPTableTR records → exactly one CustTable record

  • Ledger → MainAccount

    Join on AccountNum = MainAccount.MainAccountId, AccountType = CPAccountTypeTR::Ledger

    Many CPTableTR records → zero or one MainAccount record

  • Bank → BankAccountTable

    Join on AccountNum = BankAccountTable.AccountID, AccountType = CPAccountTypeTR::Bank

    Many CPTableTR records → zero or one BankAccountTable record

  • Vendor → VendTable

    Join on AccountNum = VendTable.AccountNum, AccountType = CPAccountTypeTR::Ledger

    Many CPTableTR records → zero or one VendTable record

  • Portfolio → CPPortfolioTR

    Join on AccountNum = CPPortfolioTR.PortfolioCode, PortfolioType = CPPortfolioTR.PortfolioType

    Many CPTableTR records → zero or one CPPortfolioTR record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum, AccountType = CPAccountTypeTR::Customer

    Many CPTableTR records → zero or one CustTable record

  • BankAccountTable → BankAccountTable

    Join on BankAccountID = BankAccountTable.AccountID

    Zero or one CPTableTR record → exactly one BankAccountTable record

Get this data out

Tables are not exposed directly. These public entities read from CPTableTR; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk