Table
CPTransCodeTableTR
Check or promissory note transaction code
Defines transaction codes for checks and promissory notes. Each code has a description, an account type and account, a journal name and flags for receipt, issue, return, collection and similar. A code can point to another code as its offset.
- Table name
CPTransCodeTableTR- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount used by the transaction code, such as a bank, portfolio or customer account. | String (20)AccountNum | No | BankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNum | CPTransCodeTableEntity |
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA. | EnumCPAccountTypeTR (enum) | No | CPTransCodeTableEntity | |
BadChequeYes/No flag for a bounced check or a newly issued check. | EnumCPBadChequeTRNoYes (enum) | No | CPTransCodeTableEntity | |
BankTransTypeBank transaction type linked to the code. | StringBankTransactionType | No | BankTransType.BankTransType | CPTransCodeTableEntity |
CustVendAutoSettleTypeMatching method for automatic settlement: by due date with date control, by due date, or by transaction date. | EnumCPCustVendAutoSettleTypeTR (enum) | No | CPTransCodeTableEntity | |
CustVendAutoSpecYes/No option for automatic settlement. | EnumNoYes (enum) | No | CPTransCodeTableEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IncomingChequeYes/No flag for a receipt. | EnumCPIncomingTRNoYes (enum) | No | CPTransCodeTableEntity | |
isOffsetTransCodeYes/No flag showing the code works against another transaction code. | EnumCPOffsetTransCodeTRNoYes (enum) | No | CPTransCodeTableEntity | |
JournalNameName of the ledger journal used by the code. | StringLedgerJournalNameId | Yes | LedgerJournalName.JournalName | CPTransCodeTableEntity |
NameDescription of the transaction code. | String (60)Name | No | CPTransCodeTableEntity | |
NewChequeYes/No flag for a new check. | EnumCPNewTRNoYes (enum) | No | CPTransCodeTableEntity | |
OffsetTransCodeTransaction code that works against this one. | StringCPTransCodeTR | No | CPTransCodeTableTR.TransCode | CPTransCodeTableEntity |
OutgoingChequeYes/No flag for an issue. | EnumCPOutgoingTRNoYes (enum) | No | CPTransCodeTableEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymReceivingYes/No flag for a collection. | EnumCPPaymReceivingTRNoYes (enum) | No | CPTransCodeTableEntity | |
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 | |
ReturnedChequeYes/No flag for a return. | EnumCPReturnedTRNoYes (enum) | No | CPTransCodeTableEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransCodeCode that identifies the transaction type. | StringCPTransCodeTR | Yes | CPTransCodeTableEntity |
Indexes (1)
Relations (8)
Each relation joins CPTransCodeTableTR to another table on the fields shown.
CPTransCodeTable→CPTransCodeTableTRJoin on
OffsetTransCode = CPTransCodeTableTR.TransCodeMany CPTransCodeTableTR records → zero or one CPTransCodeTableTR record
Bank→BankAccountTableJoin on
AccountNum = BankAccountTable.AccountID,AccountType = CPAccountTypeTR::BankMany CPTransCodeTableTR records → zero or one BankAccountTable record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNum,AccountType = CPAccountTypeTR::CustomerMany CPTransCodeTableTR records → zero or one CustTable record
Ledger→MainAccountJoin on
AccountNum = MainAccount.MainAccountId,AccountType = CPAccountTypeTR::LedgerMany CPTransCodeTableTR records → zero or one MainAccount record
LedgerJournalName→LedgerJournalNameJoin on
JournalName = LedgerJournalName.JournalNameOne or more CPTransCodeTableTR records → exactly one LedgerJournalName record
Portfolio→CPPortfolioTRJoin on
AccountNum = CPPortfolioTR.PortfolioCode,AccountType = CPAccountTypeTR::PortfolioMany CPTransCodeTableTR records → zero or one CPPortfolioTR record
Vendor→VendTableJoin on
AccountNum = VendTable.AccountNum,AccountType = CPAccountTypeTR::VendorMany CPTransCodeTableTR records → zero or one VendTable record
BankTransType→BankTransTypeJoin on
BankTransType = BankTransType.BankTransTypeMany CPTransCodeTableTR records → exactly one BankTransType record
Get this data out
Tables are not exposed directly. These public entities read from CPTransCodeTableTR; use one of them in Power BI, Power Platform or a data management project.
CPTransCodeTableEntity· 16 fields from this table
Need help with CPTransCodeTableTR in a report, an integration or a migration? Talk to Dr Dynamics.