Data entity
CPTransCodeTableEntity
Transaction codes for checks and promissory notes, used for Turkey. Each code has a description, journal name, bank transaction type and matching type. It also holds flags for actions such as issue, collection, return, bounce and new check, and links to an account and an opposite (against) code.
- Entity name
CPTransCodeTableEntity- Public entity name
CPTransCodeTable- OData collection
CPTransCodeTables- Category
Parameters- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
TransCode- Staging table
CPTransCodeTableStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CPTransCodeTables- Dataverse virtual table
mserp_cptranscodetableentity. 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
CPTransCodeTableTR· root
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNumAccount used by the transaction code, such as a bank, portfolio or customer account. | String (20)AccountNum | No | Yes | BankAccountTable.AccountIDCPPortfolioTR.PortfolioCodeCustTable.AccountNumVendTable.AccountNum | CPTransCodeTableTR.AccountNum |
AccountTypeType of account: customer, portfolio, bank, general ledger, vendor or COA. | Enum
| No | Yes | CPTransCodeTableTR.AccountType | |
BadChequeYes/No flag for a bounced check or a newly issued check. | EnumCPBadChequeTR
| No | Yes | CPTransCodeTableTR.BadCheque | |
IncomingChequeYes/No flag for a receipt. | EnumCPIncomingTR
| No | Yes | CPTransCodeTableTR.IncomingCheque | |
isOffsetTransCodeYes/No flag showing the code works against another transaction code. | EnumCPOffsetTransCodeTR
| No | Yes | CPTransCodeTableTR.isOffsetTransCode | |
JournalNameName of the ledger journal used by the code. | StringLedgerJournalNameId | Yes | Yes | LedgerJournalName.JournalName | CPTransCodeTableTR.JournalName |
NameDescription of the transaction code. | String (60)Name | No | Yes | CPTransCodeTableTR.Name | |
NewChequeYes/No flag for a new check. | EnumCPNewTR
| No | Yes | CPTransCodeTableTR.NewCheque | |
OffsetTransCodeTransaction code that works against this one. | StringCPTransCodeTR | No | Yes | CPTransCodeTableTR.TransCode | CPTransCodeTableTR.OffsetTransCode |
OutgoingChequeYes/No flag for an issue. | EnumCPOutgoingTR
| No | Yes | CPTransCodeTableTR.OutgoingCheque | |
PaymReceivingYes/No flag for a collection. | EnumCPPaymReceivingTR
| No | Yes | CPTransCodeTableTR.PaymReceiving | |
ReturnedChequeYes/No flag for a return. | EnumCPReturnedTR
| No | Yes | CPTransCodeTableTR.ReturnedCheque | |
TransCodeCode that identifies the transaction type. | StringCPTransCodeTR | Yes | Yes | CPTransCodeTableTR.TransCode | |
BankTransTypeBank transaction type linked to the code. | StringBankTransactionType | No | Yes | BankTransType.BankTransType | CPTransCodeTableTR.BankTransType |
CustVendAutoSettleTypeMatching method for automatic settlement: by due date with date control, by due date, or by transaction date. | Enum
| No | Yes | CPTransCodeTableTR.CustVendAutoSettleType | |
CustVendAutoSpecYes/No option for automatic settlement. | Enum
| No | Yes | CPTransCodeTableTR.CustVendAutoSpec |
Foreign keys (7)
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 CPTransCodeTableTR 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 CPTransCodeTableTR records → zero or one CPPortfolioTR record
CPPortfolioTR details: see CPPortfolioEntity
AccountNum→CustTable.AccountNum(key of CustTable)Relation also requires AccountType = CPAccountTypeTR::Customer.
Many CPTransCodeTableTR 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 CPTransCodeTableTR records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
JournalName→LedgerJournalName.JournalName(key of LedgerJournalName)One or more CPTransCodeTableTR records → exactly one LedgerJournalName record
LedgerJournalName details: see LedgerJournalNameEntity
OffsetTransCode→CPTransCodeTableTR.TransCode(key of CPTransCodeTableTR)Many CPTransCodeTableTR records → zero or one CPTransCodeTableTR record
Not exposed by a public entity.
BankTransType→BankTransType.BankTransType(key of BankTransType)Many CPTransCodeTableTR records → exactly one BankTransType record
BankTransType details: see BankTransactionTypeEntity, CashDueAnnouncementJournalEntity
Need help with CPTransCodeTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.