Table
CPPortfolioTR
Check and promissory note portfolio codes
Lists portfolio codes for checks and promissory notes. Each record has a code, a name and a type (check or note, received or given). It can link to a bank account, a currency and a ledger or bank account type.
- Table name
CPPortfolioTR- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumAccount number of the bank account linked to the portfolio. | String (20)AccountNum | No | BankAccountTable.AccountID | CPPortfolioEntity |
BankAccountIDBank account used for collection. | StringBankAccountID | No | BankAccountTable.AccountID | CPPortfolioEntity |
CurrencyCodeCurrency of the portfolio. | String (3)CurrencyCode | No | Currency.CurrencyCode | CPPortfolioEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerACTTypeAccount type of the portfolio: ledger or bank. | EnumCPLedgerAccountTypeTR (enum) | No | CPPortfolioEntity | |
NameName of the portfolio. | String (60)Name | No | CPPortfolioEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortfolioCodeCode that identifies the portfolio. | String (20)CPPortfolioCodeTR | Yes | CPPortfolioEntity | |
PortfolioTypeKind of portfolio: check received, check given, promissory note received or promissory note given. | EnumCPPortfolioTypeTR (enum) | No | CPPortfolioEntity | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PortfolioCodeIdxUnique, alternate key.
Relations (4)
Each relation joins CPPortfolioTR to another table on the fields shown.
Bank→BankAccountTableJoin on
LedgerACTType = CPLedgerAccountTypeTR::Bank,AccountNum = BankAccountTable.AccountIDMany CPPortfolioTR records → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CPPortfolioTR records → zero or one Currency record
Ledger→MainAccountJoin on
LedgerACTType = CPLedgerAccountTypeTR::Ledger,AccountNum = MainAccount.MainAccountIdMany CPPortfolioTR records → zero or one MainAccount record
BankAccountTable→BankAccountTableJoin on
BankAccountID = BankAccountTable.AccountIDMany CPPortfolioTR records → exactly one BankAccountTable record
Get this data out
Tables are not exposed directly. These public entities read from CPPortfolioTR; use one of them in Power BI, Power Platform or a data management project.
CPPortfolioEntity· 7 fields from this table
Need help with CPPortfolioTR in a report, an integration or a migration? Talk to Dr Dynamics.