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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount number of the customer, vendor, bank or other account the check relates to. | String (20)AccountNum | No | BankAccountTable.AccountIDCustTable.AccountNumVendTable.AccountNum | CPTableEntity |
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA. | EnumCPAccountTypeTR (enum) | No | CPTableEntity | |
AmountAmount of the check or note. | RealAmount | No | CPTableEntity | |
BankAccountIDIdentifier of the bank account. | StringBankAccountID | No | BankAccountTable.AccountID | CPTableEntity |
BankBranchNameName of the bank branch. | String (20)CPBankBranchNameTR | No | CPTableEntity | |
BankGroupIdBank group the check belongs to. | StringBankGroupId | No | BankGroup.BankGroupId | CPTableEntity |
BranchCodeCode of the bank branch. | String (20)CPBranchCodeTR | No | CPTableEntity | |
CancelledYes/No flag showing whether the check is cancelled. | EnumNoYes (enum) | No | CPTableEntity | |
ChequeJournalNumInternal journal reference number of the check. | String (20)CPJournalNumTR | No | CPTableEntity | |
ChequePrintedNumNumber printed on the check document. | String (20)CPPrintedNumTR | No | CPTableEntity | |
ChequeTransactionNumMovement or tracking number of the check. | String (20)CPTransactionNumTR | No | CPTableEntity | |
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 check or note. | String (3)CurrencyCode | No | Currency.CurrencyCode | CPTableEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitCreditShows whether the entry is a debit or a credit. | EnumDebitCredit (enum) | No | CPTableEntity | |
DrawerName of the person who issued the check or note. | String (50)CPDrawerTR | No | CPTableEntity | |
DrawingDateDate the check or note was issued. | DateCPDrawingDateTR | No | CPTableEntity | |
DueDateDate when the check or note falls due. | DateCPDueDateTR | No | CPTableEntity | |
GuarantorName of the guarantor. | String (50)CPGuarantorTR | No | CPTableEntity | |
OpenInJournalYes/No flag showing whether the check is open and in use in a journal. | EnumCPOpeninJournalTRNoYes (enum) | No | CPTableEntity | |
OwnChequeYes/No flag showing whether it is the company's own check. | EnumNoYes (enum) | No | CPTableEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortfolioCodePortfolio the check or note belongs to. | String (20)CPPortfolioCodeTR | No | CPTableEntity | |
PortfolioTypeKind of instrument: check received, check given, promissory note received or promissory note given. | EnumCPPortfolioTypeTR (enum) | No | CPPortfolioTR.PortfolioType | CPTableEntity |
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 | |
SignedByName of the person who signed. | String (50)CPSignedByTR | No | CPTableEntity | |
SystemChequeNumUnique system-generated number of the check. | String (20)CPSystemNumTR | Yes | CPTableEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransCodeTransaction code applied to the check. | StringCPTransCodeTR | No | CPTransCodeTableTR.TransCode | CPTableEntity |
TransferCustAccountCustomer account that transferred the check. | String (20)CustAccount | No | CustTable.AccountNum | CPTableEntity |
TransferExchRateExchange rate used for the transfer. | RealExchRate | No | CPTableEntity |
Indexes (1)
ChequeNumIdxUnique, alternate key.
Relations (10)
Each relation joins CPTableTR to another table on the fields shown.
CPTransCodeTable→CPTransCodeTableTRJoin on
TransCode = CPTransCodeTableTR.TransCodeMany CPTableTR records → zero or one CPTransCodeTableTR record
BankGroup→BankGroupJoin on
BankGroupId = BankGroup.BankGroupIdMany CPTableTR records → exactly one BankGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CPTableTR records → exactly one Currency record
TransferCustTable→CustTableJoin on
TransferCustAccount = CustTable.AccountNumMany CPTableTR records → exactly one CustTable record
Ledger→MainAccountJoin on
AccountNum = MainAccount.MainAccountId,AccountType = CPAccountTypeTR::LedgerMany CPTableTR records → zero or one MainAccount record
Bank→BankAccountTableJoin on
AccountNum = BankAccountTable.AccountID,AccountType = CPAccountTypeTR::BankMany CPTableTR records → zero or one BankAccountTable record
Vendor→VendTableJoin on
AccountNum = VendTable.AccountNum,AccountType = CPAccountTypeTR::LedgerMany CPTableTR records → zero or one VendTable record
Portfolio→CPPortfolioTRJoin on
AccountNum = CPPortfolioTR.PortfolioCode,PortfolioType = CPPortfolioTR.PortfolioTypeMany CPTableTR records → zero or one CPPortfolioTR record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNum,AccountType = CPAccountTypeTR::CustomerMany CPTableTR records → zero or one CustTable record
BankAccountTable→BankAccountTableJoin on
BankAccountID = BankAccountTable.AccountIDZero 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.
CPTableEntity· 26 fields from this table
Need help with CPTableTR in a report, an integration or a migration? Talk to Dr Dynamics.