Table
CPJournalTR
Check and promissory note journal
Holds journal records for checks and promissory notes. Each record has an account type and number, a portfolio code, a transaction code, a posted flag and dates. It links to ledger journals, posting profiles, dimensions and exchange rate types.
- Table name
CPJournalTR- Module
Cross-module and platform- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (34)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount number; it can refer to a customer, bank account or portfolio, depending on the account type. | String (20)AccountNum | No | BankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNum | CPJournalEntity |
AccountTypeKind of account: customer, portfolio, bank, general ledger, vendor or COA. | EnumCPAccountTypeTR (enum) | No | CPJournalEntity | |
AverageMaturityAverage maturity date. | DateTransDate | No | CPJournalEntity | |
BankTransTypeBank transaction type of the record. | StringBankTransactionType | No | BankTransType.BankTransType | CPJournalEntity |
ChequeJournalNumInternal reference number of the check journal. | String (20)CPJournalNumTR | Yes | CPJournalEntity | |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of financial dimension values for the record. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | CPJournalEntity |
DescriptionShort description of the journal record. | String (60)Description | No | CPJournalEntity | |
FixedExchangeRateTypeIdPoints to the exchange rate type used for the fixed rate. | Int64ExchangeRateTypeId | No | ExchangeRateType.RecId | CPJournalEntity |
FixedExchRateFixed exchange rate value. | RealExchRate | No | CPJournalEntity | |
FixedReportingCurrencyExchRateFixed exchange rate for the reporting currency. | RealReportingCurrencyExchRate | No | None | |
FixedReportingCurrencyExchRateTypeIdPoints to the exchange rate type used for the reporting currency rate. | Int64ExchangeRateTypeId | No | ExchangeRateType.RecId | None |
IsFixedExchRateYes/No option to use a fixed exchange rate. | EnumNoYesIdNoYes (enum) | No | CPJournalEntity | |
JournalNumNumber of the ledger journal batch linked to the record. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | CPJournalEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
OffsetTransCodeTransaction code used for the offset entry. | StringCPTransCodeTR | No | CPJournalEntity | |
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 | CPJournalEntity | |
PaymReferencePayment reference text. | String (35)PaymReference | No | CPJournalEntity | |
PortfolioCodeCode of the portfolio that the instrument is placed in. | String (20)CPPortfolioCodeTR | Yes | CPPortfolioTR.PortfolioCode | CPJournalEntity |
PortfolioDefaultDimensionPoints to the set of dimension values for the portfolio. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | CPJournalEntity |
PostedYes/No flag showing whether the journal is posted. | EnumPostedNoYes (enum) | No | CPJournalEntity | |
PostingProfilePosting profile used for the record. | StringPostingProfile | No | CustLedger.PostingProfileVendLedger.PostingProfile | CPJournalEntity |
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 | |
ReverseDateDate of the reversal. | DateTransDate | Yes | CPJournalEntity | |
ReverseJournalNumInternal reference number of the reversal journal. | String (20)CPJournalNumTR | No | CPJournalEntity | |
SessionIdID of the journal session. | IntegerJournalSessionId | No | CPJournalEntity | |
SessionLoginDateTimeDate and time of the logon for the journal session. | UtcDateTimeJournalSessionLoginDateTime | No | CPJournalEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransCodeTransaction code for the check or promissory note. | StringCPTransCodeTR | Yes | CPTransCodeTableTR.TransCode | CPJournalEntity |
TransDateDate of the transaction. | DateTransDate | Yes | CPJournalEntity |
Indexes (1)
JournalNumIdxUnique, alternate key.
Relations (16)
Each relation joins CPJournalTR to another table on the fields shown.
Bank→BankAccountTableJoin on
AccountNum = BankAccountTable.AccountID,AccountType = CPAccountTypeTR::BankMany CPJournalTR records → zero or one BankAccountTable record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNum,AccountType = CPAccountTypeTR::CustomerMany CPJournalTR records → zero or one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CPJournalTR records → zero or one DimensionAttributeValueSet record
Ledger→MainAccountJoin on
AccountNum = MainAccount.MainAccountId,AccountType = CPAccountTypeTR::LedgerMany CPJournalTR records → zero or one MainAccount record
LedgerJournalTable→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumMany CPJournalTR records → exactly one LedgerJournalTable record
PortfolioTR→CPPortfolioTRJoin on
AccountNum = CPPortfolioTR.PortfolioCode,AccountType = CPAccountTypeTR::PortfolioMany CPJournalTR records → zero or one CPPortfolioTR record
PortfolioCode→CPPortfolioTRJoin on
PortfolioCode = CPPortfolioTR.PortfolioCodeOne or more CPJournalTR records → exactly one CPPortfolioTR record
PostingProfileCust→CustLedgerJoin on
AccountType = CPAccountTypeTR::Customer,PostingProfile = CustLedger.PostingProfileMany CPJournalTR records → zero or one CustLedger record
PostingProfileVend→VendLedgerJoin on
AccountType = CPAccountTypeTR::Ledger,PostingProfile = VendLedger.PostingProfileMany CPJournalTR records → zero or one VendLedger record
TransCode→CPTransCodeTableTRJoin on
TransCode = CPTransCodeTableTR.TransCodeOne or more CPJournalTR records → exactly one CPTransCodeTableTR record
Vendor→VendTableJoin on
AccountNum = VendTable.AccountNum,AccountType = CPAccountTypeTR::VendorMany CPJournalTR records → zero or one VendTable record
PortfolioDefaultDimension→DimensionAttributeValueSetJoin on
PortfolioDefaultDimension = DimensionAttributeValueSet.RecIdMany CPJournalTR records → zero or one DimensionAttributeValueSet record
BankTransType→BankTransTypeJoin on
BankTransType = BankTransType.BankTransTypeMany CPJournalTR records → zero or one BankTransType record
FixedExchangeRateType→ExchangeRateTypeJoin on
FixedExchangeRateTypeId = ExchangeRateType.RecIdMany CPJournalTR records → zero or one ExchangeRateType record
FixedReportingCurrencyExchangeRateType→ExchangeRateTypeJoin on
FixedReportingCurrencyExchRateTypeId = ExchangeRateType.RecIdMany CPJournalTR records → zero or one ExchangeRateType record
COA→ELCOATRJoin on
AccountNum = ELCOATR.MainAccountNum,AccountType = CPAccountTypeTR::COAMany CPJournalTR records → zero or one ELCOATR record
Get this data out
Tables are not exposed directly. These public entities read from CPJournalTR; use one of them in Power BI, Power Platform or a data management project.
CPJournalEntity· 24 fields from this table
Need help with CPJournalTR in a report, an integration or a migration? Talk to Dr Dynamics.