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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumAccount used by the transaction code, such as a bank, portfolio or customer account.String (20)
AccountNum
NoBankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNumCPTransCodeTableEntity
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA.Enum
CPAccountTypeTR (enum)
NoCPTransCodeTableEntity
BadChequeYes/No flag for a bounced check or a newly issued check.Enum
CPBadChequeTR
NoYes (enum)
NoCPTransCodeTableEntity
BankTransTypeBank transaction type linked to the code.String
BankTransactionType
NoBankTransType.BankTransTypeCPTransCodeTableEntity
CustVendAutoSettleTypeMatching method for automatic settlement: by due date with date control, by due date, or by transaction date.Enum
CPCustVendAutoSettleTypeTR (enum)
NoCPTransCodeTableEntity
CustVendAutoSpecYes/No option for automatic settlement.Enum
NoYes (enum)
NoCPTransCodeTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IncomingChequeYes/No flag for a receipt.Enum
CPIncomingTR
NoYes (enum)
NoCPTransCodeTableEntity
isOffsetTransCodeYes/No flag showing the code works against another transaction code.Enum
CPOffsetTransCodeTR
NoYes (enum)
NoCPTransCodeTableEntity
JournalNameName of the ledger journal used by the code.String
LedgerJournalNameId
YesLedgerJournalName.JournalNameCPTransCodeTableEntity
NameDescription of the transaction code.String (60)
Name
NoCPTransCodeTableEntity
NewChequeYes/No flag for a new check.Enum
CPNewTR
NoYes (enum)
NoCPTransCodeTableEntity
OffsetTransCodeTransaction code that works against this one.String
CPTransCodeTR
NoCPTransCodeTableTR.TransCodeCPTransCodeTableEntity
OutgoingChequeYes/No flag for an issue.Enum
CPOutgoingTR
NoYes (enum)
NoCPTransCodeTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymReceivingYes/No flag for a collection.Enum
CPPaymReceivingTR
NoYes (enum)
NoCPTransCodeTableEntity
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
ReturnedChequeYes/No flag for a return.Enum
CPReturnedTR
NoYes (enum)
NoCPTransCodeTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransCodeCode that identifies the transaction type.String
CPTransCodeTR
YesCPTransCodeTableEntity

Indexes (1)

Relations (8)

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

  • CPTransCodeTable → CPTransCodeTableTR

    Join on OffsetTransCode = CPTransCodeTableTR.TransCode

    Many CPTransCodeTableTR records → zero or one CPTransCodeTableTR record

  • Bank → BankAccountTable

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

    Many CPTransCodeTableTR records → zero or one BankAccountTable record

  • CustTable → CustTable

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

    Many CPTransCodeTableTR records → zero or one CustTable record

  • Ledger → MainAccount

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

    Many CPTransCodeTableTR records → zero or one MainAccount record

  • LedgerJournalName → LedgerJournalName

    Join on JournalName = LedgerJournalName.JournalName

    One or more CPTransCodeTableTR records → exactly one LedgerJournalName record

  • Portfolio → CPPortfolioTR

    Join on AccountNum = CPPortfolioTR.PortfolioCode, AccountType = CPAccountTypeTR::Portfolio

    Many CPTransCodeTableTR records → zero or one CPPortfolioTR record

  • Vendor → VendTable

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

    Many CPTransCodeTableTR records → zero or one VendTable record

  • BankTransType → BankTransType

    Join on BankTransType = BankTransType.BankTransType

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

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

Email sales@drdynamics.co.uk