Data entity
CPJournalEntity
Journal headers for checks and promissory notes, used for Turkey. Each journal is keyed by its journal number. It holds account, portfolio and transaction code, posting status and profile, reversal details, exchange rate settings and dimensions.
- Entity name
CPJournalEntity- Public entity name
CPJournal- OData collection
CPJournals- Category
Document- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
ChequeJournalNum- Staging table
CPJournalStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CPJournals- Dataverse virtual table
mserp_cpjournalentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
CPJournalTR· rootDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toCPJournalTR· read-onlyPortfolioDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toCPJournalTR· read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNumAccount number; it can refer to a customer, bank account or portfolio, depending on the account type. | String (20)AccountNum | No | Yes | BankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNum | CPJournalTR.AccountNum |
AccountTypeKind of account: customer, portfolio, bank, general ledger, vendor or COA. | Enum
| No | Yes | CPJournalTR.AccountType | |
ChequeJournalNumInternal reference number of the check journal. | String (20)CPJournalNumTR | Yes | Yes | CPJournalTR.ChequeJournalNum | |
DefaultDimensionPoints to the set of financial dimension values for the record. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | CPJournalTR.DefaultDimension |
JournalNumNumber of the ledger journal batch linked to the record. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | CPJournalTR.JournalNum |
OffsetTransCodeTransaction code used for the offset entry. | StringCPTransCodeTR | No | Yes | CPJournalTR.OffsetTransCode | |
PortfolioCodeCode of the portfolio that the instrument is placed in. | String (20)CPPortfolioCodeTR | Yes | Yes | CPPortfolioTR.PortfolioCode | CPJournalTR.PortfolioCode |
PostedYes/No flag showing whether the journal is posted. | EnumPosted
| No | Yes | CPJournalTR.Posted | |
PostingProfilePosting profile used for the record. | StringPostingProfile | No | Yes | CustLedger.PostingProfileVendLedger.PostingProfile | CPJournalTR.PostingProfile |
ReverseJournalNumInternal reference number of the reversal journal. | String (20)CPJournalNumTR | No | Yes | CPJournalTR.ReverseJournalNum | |
SessionIdID of the journal session. | IntegerJournalSessionId | No | Yes | CPJournalTR.SessionId | |
SessionLoginDateTimeDate and time of the logon for the journal session. | UtcDateTimeJournalSessionLoginDateTime | No | Yes | CPJournalTR.SessionLoginDateTime | |
TransCodeTransaction code for the check or promissory note. | StringCPTransCodeTR | Yes | Yes | CPTransCodeTableTR.TransCode | CPJournalTR.TransCode |
TransDateDate of the transaction. | DateTransDate | Yes | Yes | CPJournalTR.TransDate | |
PortfolioDefaultDimensionPoints to the set of dimension values for the portfolio. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | CPJournalTR.PortfolioDefaultDimension |
PaymIdPayment ID. | String (200)PaymId | No | Yes | CPJournalTR.PaymId | |
IsFixedExchRateYes/No option to use a fixed exchange rate. | EnumNoYesId
| No | Yes | CPJournalTR.IsFixedExchRate | |
FixedExchangeRateTypeIdPoints to the exchange rate type used for the fixed rate. | Int64ExchangeRateTypeId | No | No (private) | ExchangeRateType.RecId | CPJournalTR.FixedExchangeRateTypeId |
FixedExchRateFixed exchange rate value. | RealExchRate | No | Yes | CPJournalTR.FixedExchRate | |
BankTransTypeBank transaction type of the record. | StringBankTransactionType | No | Yes | BankTransType.BankTransType | CPJournalTR.BankTransType |
PaymReferencePayment reference text. | String (35)PaymReference | No | Yes | CPJournalTR.PaymReference | |
DefaultDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
PortfolioDefaultDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
AverageMaturityAverage maturity date. | DateTransDate | No | Yes | CPJournalTR.AverageMaturity | |
DescriptionShort description of the journal record. | String (60)Description | No | Yes | CPJournalTR.Description | |
ReverseDateDate of the reversal. | DateTransDate | Yes | Yes | CPJournalTR.ReverseDate |
Foreign keys (13)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
AccountNum→BankAccountTable.AccountID(key of BankAccountTable)Relation also requires AccountType = CPAccountTypeTR::Bank.
Many CPJournalTR records → zero or one BankAccountTable record
BankAccountTable details: see BankAccountEntity, CashDueAnnouncementJournalEntity, BusinessDocumentSalesInvoiceBaseEntity
AccountNum→CPPortfolioTR.PortfolioCode(key of CPPortfolioTR)Relation also requires AccountType = CPAccountTypeTR::Portfolio.
Many CPJournalTR records → zero or one CPPortfolioTR record
CPPortfolioTR details: see CPPortfolioEntity
AccountNum→CustTable.AccountNum(key of CustTable)Relation also requires AccountType = CPAccountTypeTR::Customer.
Many CPJournalTR records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AccountNum→VendTable.AccountNum(key of VendTable)Relation also requires AccountType = CPAccountTypeTR::Vendor.
Many CPJournalTR records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
DefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many CPJournalTR records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
JournalNum→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Many CPJournalTR records → exactly one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
PortfolioCode→CPPortfolioTR.PortfolioCode(key of CPPortfolioTR)One or more CPJournalTR records → exactly one CPPortfolioTR record
CPPortfolioTR details: see CPPortfolioEntity
PostingProfile→CustLedger.PostingProfile(key of CustLedger)Relation also requires AccountType = CPAccountTypeTR::Customer.
Many CPJournalTR records → zero or one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
PostingProfile→VendLedger.PostingProfile(key of VendLedger)Relation also requires AccountType = CPAccountTypeTR::Ledger.
Many CPJournalTR records → zero or one VendLedger record
VendLedger details: see VendorPostingProfileHeaderEntity, VendorPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
TransCode→CPTransCodeTableTR.TransCode(key of CPTransCodeTableTR)One or more CPJournalTR records → exactly one CPTransCodeTableTR record
CPTransCodeTableTR details: see CPTransCodeTableEntity
PortfolioDefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many CPJournalTR records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
FixedExchangeRateTypeId→ExchangeRateType.RecId(key of ExchangeRateType)Many CPJournalTR records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
BankTransType→BankTransType.BankTransType(key of BankTransType)Many CPJournalTR records → zero or one BankTransType record
BankTransType details: see BankTransactionTypeEntity, CashDueAnnouncementJournalEntity
Need help with CPJournalEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.