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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount number of the bank, portfolio, customer or other account. | String (20)AccountNum | No | BankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNum | CPTransEntity |
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA. | EnumCPAccountTypeTR (enum) | No | CPTransEntity | |
BankTransTypeBank transaction type. | StringBankTransactionType | No | BankTransType.BankTransType | CPTransEntity |
ChequeJournalNumNumber of the check journal this transaction belongs to. | String (20)CPJournalNumTR | Yes | CPJournalTR.ChequeJournalNum | CPTransEntity |
ChequeJournalTransNumMovement or tracking number of the check transaction. | String (20)CPTransactionNumTR | Yes | CPTransEntity | |
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 | |
CustVendOpenRecIdSystem record ID of the open customer or vendor transaction. | Int64RefRecId | No | CustTransOpen.RecIdVendTransOpen.RecId | CPTransEntity |
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) | Yes | CPTransEntity | |
DefaultDimensionDefault dimension values for the transaction. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | CPTransEntity |
FixedExchangeRateTypeIdExchange rate type for the fixed rate. | Int64ExchangeRateTypeId | No | ExchangeRateType.RecId | CPTransEntity |
FixedExchRateFixed exchange rate value. | RealExchRate | No | CPTransEntity | |
FixedReportingCurrencyExchRateFixed exchange rate to the reporting currency. | RealReportingCurrencyExchRate | No | CPTransEntity | |
FixedReportingCurrencyExchRateTypeIdExchange rate type for the reporting currency rate. | Int64ExchangeRateTypeId | No | ExchangeRateType.RecId | None |
IsFixedExchRateYes/No option to use a fixed exchange rate. | EnumNoYesIdNoYes (enum) | No | CPTransEntity | |
JournalNumNumber of the ledger journal. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | CPTransEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymIdPayment ID. | String (200)PaymId | No | CPTransEntity | |
PaymReferencePayment reference text. | String (35)PaymReference | No | CPTransEntity | |
PortfolioCodePortfolio code of the check. | String (20)CPPortfolioCodeTR | No | CPPortfolioTR.PortfolioCode | CPTransEntity |
PortfolioDefaultDimensionDefault dimension values for the portfolio. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
PostedYes/No flag showing whether the transaction is posted. | EnumPostedNoYes (enum) | No | CPTransEntity | |
PostingProfilePosting profile used for the customer or vendor. | StringPostingProfile | No | CustLedger.PostingProfileVendLedger.PostingProfile | CPTransEntity |
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 | |
ReverseChequeTransNumMovement number of the reversing check transaction. | String (20)CPTransactionNumTR | No | CPTransEntity | |
SystemChequeNumSystem-generated number of the check. | String (20)CPSystemNumTR | No | CPTableTR.SystemChequeNum | CPTransEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransCodeTransaction code applied. | StringCPTransCodeTR | No | CPTransCodeTableTR.TransCode | CPTransEntity |
TransDateDate of the transaction. | DateTransDate | No | CPTransEntity | |
VoucherVoucher number. | String (20)Voucher | No | CPTransEntity |
Indexes (3)
SystemChequeNumIdxSystemChequeNum,TransDate,PartitionNot unique.
ChequeJournalTransNumIdxChequeJournalTransNum,DebitCredit,PartitionUnique, alternate key.
ChequeJournalNumIdxNot unique.
Relations (20)
Each relation joins CPTransTR to another table on the fields shown.
CPJournalTR→CPJournalTRJoin on
ChequeJournalNum = CPJournalTR.ChequeJournalNumOne or more CPTransTR records → exactly one CPJournalTR record
CPTableTR→CPTableTRJoin on
SystemChequeNum = CPTableTR.SystemChequeNumMany CPTransTR records → zero or one CPTableTR record
CPTransCodeTableTR→CPTransCodeTableTRJoin on
TransCode = CPTransCodeTableTR.TransCodeMany CPTransTR records → zero or one CPTransCodeTableTR record
Bank→BankAccountTableJoin on
AccountNum = BankAccountTable.AccountID,AccountType = CPAccountTypeTR::BankMany CPTransTR records → zero or one BankAccountTable record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNum,AccountType = CPAccountTypeTR::CustomerMany CPTransTR records → zero or one CustTable record
CustTransOpen→CustTransOpenJoin on
AccountType = CPAccountTypeTR::Customer,CustVendOpenRecId = CustTransOpen.RecIdMany CPTransTR records → zero or one CustTransOpen record
DefaultDimesion→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CPTransTR records → zero or one DimensionAttributeValueSet record
Ledger→MainAccountJoin on
AccountNum = MainAccount.MainAccountId,AccountType = CPAccountTypeTR::LedgerMany CPTransTR records → zero or one MainAccount record
Ledgerjournaltable→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumMany CPTransTR records → zero or one LedgerJournalTable record
Portfolio→CPPortfolioTRJoin on
AccountNum = CPPortfolioTR.PortfolioCode,AccountType = CPAccountTypeTR::PortfolioMany CPTransTR records → zero or one CPPortfolioTR record
PortfolioCode→CPPortfolioTRJoin on
PortfolioCode = CPPortfolioTR.PortfolioCodeMany CPTransTR records → zero or one CPPortfolioTR record
PostingProfileCust→CustLedgerJoin on
AccountType = CPAccountTypeTR::Customer,PostingProfile = CustLedger.PostingProfileMany CPTransTR records → zero or one CustLedger record
PostingProfileVend→VendLedgerJoin on
AccountType = CPAccountTypeTR::Ledger,PostingProfile = VendLedger.PostingProfileMany CPTransTR records → zero or one VendLedger record
Vendor→VendTableJoin on
AccountNum = VendTable.AccountNum,AccountType = CPAccountTypeTR::VendorMany CPTransTR records → zero or one VendTable record
VendTransOpen→VendTransOpenJoin on
AccountType = CPAccountTypeTR::Vendor,CustVendOpenRecId = VendTransOpen.RecIdMany CPTransTR records → zero or one VendTransOpen record
FixedExchangeRateType→ExchangeRateTypeJoin on
FixedExchangeRateTypeId = ExchangeRateType.RecIdMany CPTransTR records → zero or one ExchangeRateType record
BankTransType→BankTransTypeJoin on
BankTransType = BankTransType.BankTransTypeMany CPTransTR records → zero or one BankTransType record
PortfolioDefaultDimension→DimensionAttributeValueSetJoin on
PortfolioDefaultDimension = DimensionAttributeValueSet.RecIdMany CPTransTR records → zero or one DimensionAttributeValueSet record
FixedReportingCurrencyExchangeRateType→ExchangeRateTypeJoin on
FixedReportingCurrencyExchRateTypeId = ExchangeRateType.RecIdMany CPTransTR records → zero or one ExchangeRateType record
COA→ELCOATRJoin on
AccountNum = ELCOATR.MainAccountNum,AccountType = CPAccountTypeTR::COAMany 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.
CPTransEntity· 23 fields from this table
Need help with CPTransTR in a report, an integration or a migration? Talk to Dr Dynamics.