Table

CPTransTR

Check and promissory note journal transaction

Holds journal transactions for checks and promissory notes. Each record links a check to a journal, a transaction code, an account and a date. It also stores dimensions, posting profile, voucher, bank transaction type and fixed exchange rate options.

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

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumAccount number of the bank, portfolio, customer or other account.String (20)
AccountNum
NoBankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNumCPTransEntity
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA.Enum
CPAccountTypeTR (enum)
NoCPTransEntity
BankTransTypeBank transaction type.String
BankTransactionType
NoBankTransType.BankTransTypeCPTransEntity
ChequeJournalNumNumber of the check journal this transaction belongs to.String (20)
CPJournalNumTR
YesCPJournalTR.ChequeJournalNumCPTransEntity
ChequeJournalTransNumMovement or tracking number of the check transaction.String (20)
CPTransactionNumTR
YesCPTransEntity
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
CustVendOpenRecIdSystem record ID of the open customer or vendor transaction.Int64
RefRecId
NoCustTransOpen.RecIdVendTransOpen.RecIdCPTransEntity
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)
YesCPTransEntity
DefaultDimensionDefault dimension values for the transaction.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdCPTransEntity
FixedExchangeRateTypeIdExchange rate type for the fixed rate.Int64
ExchangeRateTypeId
NoExchangeRateType.RecIdCPTransEntity
FixedExchRateFixed exchange rate value.Real
ExchRate
NoCPTransEntity
FixedReportingCurrencyExchRateFixed exchange rate to the reporting currency.Real
ReportingCurrencyExchRate
NoCPTransEntity
FixedReportingCurrencyExchRateTypeIdExchange rate type for the reporting currency rate.Int64
ExchangeRateTypeId
NoExchangeRateType.RecIdNone
IsFixedExchRateYes/No option to use a fixed exchange rate.Enum
NoYesId
NoYes (enum)
NoCPTransEntity
JournalNumNumber of the ledger journal.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumCPTransEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymIdPayment ID.String (200)
PaymId
NoCPTransEntity
PaymReferencePayment reference text.String (35)
PaymReference
NoCPTransEntity
PortfolioCodePortfolio code of the check.String (20)
CPPortfolioCodeTR
NoCPPortfolioTR.PortfolioCodeCPTransEntity
PortfolioDefaultDimensionDefault dimension values for the portfolio.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
PostedYes/No flag showing whether the transaction is posted.Enum
Posted
NoYes (enum)
NoCPTransEntity
PostingProfilePosting profile used for the customer or vendor.String
PostingProfile
NoCustLedger.PostingProfileVendLedger.PostingProfileCPTransEntity
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
ReverseChequeTransNumMovement number of the reversing check transaction.String (20)
CPTransactionNumTR
NoCPTransEntity
SystemChequeNumSystem-generated number of the check.String (20)
CPSystemNumTR
NoCPTableTR.SystemChequeNumCPTransEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransCodeTransaction code applied.String
CPTransCodeTR
NoCPTransCodeTableTR.TransCodeCPTransEntity
TransDateDate of the transaction.Date
TransDate
NoCPTransEntity
VoucherVoucher number.String (20)
Voucher
NoCPTransEntity

Indexes (3)

Relations (20)

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

  • CPJournalTR → CPJournalTR

    Join on ChequeJournalNum = CPJournalTR.ChequeJournalNum

    One or more CPTransTR records → exactly one CPJournalTR record

  • CPTableTR → CPTableTR

    Join on SystemChequeNum = CPTableTR.SystemChequeNum

    Many CPTransTR records → zero or one CPTableTR record

  • CPTransCodeTableTR → CPTransCodeTableTR

    Join on TransCode = CPTransCodeTableTR.TransCode

    Many CPTransTR records → zero or one CPTransCodeTableTR record

  • Bank → BankAccountTable

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

    Many CPTransTR records → zero or one BankAccountTable record

  • CustTable → CustTable

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

    Many CPTransTR records → zero or one CustTable record

  • CustTransOpen → CustTransOpen

    Join on AccountType = CPAccountTypeTR::Customer, CustVendOpenRecId = CustTransOpen.RecId

    Many CPTransTR records → zero or one CustTransOpen record

  • DefaultDimesion → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CPTransTR records → zero or one DimensionAttributeValueSet record

  • Ledger → MainAccount

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

    Many CPTransTR records → zero or one MainAccount record

  • Ledgerjournaltable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Many CPTransTR records → zero or one LedgerJournalTable record

  • Portfolio → CPPortfolioTR

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

    Many CPTransTR records → zero or one CPPortfolioTR record

  • PortfolioCode → CPPortfolioTR

    Join on PortfolioCode = CPPortfolioTR.PortfolioCode

    Many CPTransTR records → zero or one CPPortfolioTR record

  • PostingProfileCust → CustLedger

    Join on AccountType = CPAccountTypeTR::Customer, PostingProfile = CustLedger.PostingProfile

    Many CPTransTR records → zero or one CustLedger record

  • PostingProfileVend → VendLedger

    Join on AccountType = CPAccountTypeTR::Ledger, PostingProfile = VendLedger.PostingProfile

    Many CPTransTR records → zero or one VendLedger record

  • Vendor → VendTable

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

    Many CPTransTR records → zero or one VendTable record

  • VendTransOpen → VendTransOpen

    Join on AccountType = CPAccountTypeTR::Vendor, CustVendOpenRecId = VendTransOpen.RecId

    Many CPTransTR records → zero or one VendTransOpen record

  • FixedExchangeRateType → ExchangeRateType

    Join on FixedExchangeRateTypeId = ExchangeRateType.RecId

    Many CPTransTR records → zero or one ExchangeRateType record

  • BankTransType → BankTransType

    Join on BankTransType = BankTransType.BankTransType

    Many CPTransTR records → zero or one BankTransType record

  • PortfolioDefaultDimension → DimensionAttributeValueSet

    Join on PortfolioDefaultDimension = DimensionAttributeValueSet.RecId

    Many CPTransTR records → zero or one DimensionAttributeValueSet record

  • FixedReportingCurrencyExchangeRateType → ExchangeRateType

    Join on FixedReportingCurrencyExchRateTypeId = ExchangeRateType.RecId

    Many CPTransTR records → zero or one ExchangeRateType record

  • COA → ELCOATR

    Join on AccountNum = ELCOATR.MainAccountNum, AccountType = CPAccountTypeTR::COA

    Many CPTransTR records → zero or one ELCOATR record

Get this data out

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

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

Email sales@drdynamics.co.uk