Data entity
CPRediscountTableEntity
Headers for check rediscounts, used for Turkey. Each record is keyed by version ID and current reference date. It holds the next reference date, journal and reversal journal numbers, posting status, exchange rate type, detail level and main accounts for notes and interest.
- Entity name
CPRediscountTableEntity- Public entity name
CPChequeRediscountTable- OData collection
CPChequeRediscountTables- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
VersionId, CurrentReferenceDate- Staging table
CPRediscountTableStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CPChequeRediscountTables- Dataverse virtual table
mserp_cprediscounttableentity. 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
CPRediscountTableTR· rootNotesReceivableMainAccount(tableMainAccount) · InnerJoin toCPRediscountTableTR· read-onlyLedgerChartOfAccountsNotesReceivable(tableLedgerChartOfAccounts) · InnerJoin toNotesReceivableMainAccount· read-onlyInterestExpenseMainAccount(tableMainAccount) · InnerJoin toCPRediscountTableTR· read-onlyLedgerChartOfAccountsInterestExpense(tableLedgerChartOfAccounts) · InnerJoin toInterestExpenseMainAccount· read-onlyInterestIncomeMainAccount(tableMainAccount) · InnerJoin toCPRediscountTableTR· read-onlyLedgerChartOfAccountsInterestIncome(tableLedgerChartOfAccounts) · InnerJoin toInterestIncomeMainAccount· read-onlyNotesPayableMainAccount(tableMainAccount) · InnerJoin toCPRediscountTableTR· read-onlyLedgerChartOfAccountsNotesPayable(tableLedgerChartOfAccounts) · InnerJoin toNotesPayableMainAccount· read-only
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
VersionIdIdentifier of the rediscount version. | StringCPRediscountVersionIdTR | Yes | Yes | CPRediscountTableTR.VersionId | |
CurrentReferenceDateReference date of the current period. | DateTransDate | Yes | Yes | CPRediscountTableTR.CurrentReferenceDate | |
NextReferenceDateReference date of the next period. | DateTransDate | Yes | Yes | CPRediscountTableTR.NextReferenceDate | |
CurrentPeriodJournalLedger journal number for the current period. The label calls it a payroll number, which looks misleading.low confidence | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | CPRediscountTableTR.CurrentPeriodJournal |
NextPeriodJournalLedger journal number for the next period. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | CPRediscountTableTR.NextPeriodJournal |
CurrentPeriodReverseJournalLedger journal number of the reversal for the current period. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | CPRediscountTableTR.CurrentPeriodReverseJournal |
NextPeriodReverseJournalLedger journal number of the reversal for the next period. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | CPRediscountTableTR.NextPeriodReverseJournal |
JournalNameName of the ledger journal used. | StringLedgerJournalNameId | Yes | Yes | LedgerJournalName.JournalName | CPRediscountTableTR.JournalName |
PostedYes/No flag showing whether the rediscount is posted. | EnumPosted
| No | Yes | CPRediscountTableTR.Posted | |
NotesReceivableMainAccountMain account for rediscounted notes receivable. | Int64MainAccountRecId | Yes | No (private) | MainAccount.RecId | CPRediscountTableTR.NotesReceivableMainAccount |
InterestExpenseMainAccountMain account for rediscount interest expense. | Int64MainAccountRecId | Yes | No (private) | MainAccount.RecId | CPRediscountTableTR.InterestExpenseMainAccount |
InterestIncomeMainAccountMain account for rediscount interest income. | Int64MainAccountRecId | Yes | No (private) | MainAccount.RecId | CPRediscountTableTR.InterestIncomeMainAccount |
NotesPayableMainAccountMain account for rediscounted notes payable. | Int64MainAccountRecId | Yes | No (private) | MainAccount.RecId | CPRediscountTableTR.NotesPayableMainAccount |
ExchRateTypeExchange rate type used. | String (20)ExchangeRateTypeName | Yes | Yes | ExchangeRateType.Name | CPRediscountTableTR.ExchRateType |
DetailLevelChooses whether results are shown in detail or as a summary. | Enum
| No | Yes | CPRediscountTableTR.DetailLevel | |
NotesReceivableMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
NotesReceivableMainAccountMainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
InterestExpenseMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
InterestExpenseMainAccountMainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
InterestIncomeMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
InterestIncomeMainAccountMainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
NotesPayableMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
NotesPayableMainAccountMainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
LedgerChartOfAccountsNotesPayableNameName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name | |
LedgerChartOfAccountsInterestIncomeNameName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name | |
LedgerChartOfAccountsInterestExpenseNameName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name | |
LedgerChartOfAccountsNotesReceivableNameName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name |
Foreign keys (14)
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.
CurrentPeriodJournal→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Zero or one CPRediscountTableTR record → zero or one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
NextPeriodJournal→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Zero or one CPRediscountTableTR record → zero or one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
CurrentPeriodReverseJournal→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Zero or one CPRediscountTableTR record → zero or one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
NextPeriodReverseJournal→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Zero or one CPRediscountTableTR record → zero or one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
JournalName→LedgerJournalName.JournalName(key of LedgerJournalName)One or more CPRediscountTableTR records → exactly one LedgerJournalName record
LedgerJournalName details: see LedgerJournalNameEntity
NotesReceivableMainAccount→MainAccount.RecId(key of MainAccount)Zero or one CPRediscountTableTR record → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
InterestExpenseMainAccount→MainAccount.RecId(key of MainAccount)Zero or one CPRediscountTableTR record → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
InterestIncomeMainAccount→MainAccount.RecId(key of MainAccount)Zero or one CPRediscountTableTR record → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
NotesPayableMainAccount→MainAccount.RecId(key of MainAccount)Zero or one CPRediscountTableTR record → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
ExchRateType→ExchangeRateType.Name(key of ExchangeRateType)Zero or one CPRediscountTableTR record → exactly one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
NotesReceivableMainAccountLedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, LedgerOpeningSheetEntity
InterestExpenseMainAccountLedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, LedgerOpeningSheetEntity
InterestIncomeMainAccountLedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, LedgerOpeningSheetEntity
NotesPayableMainAccountLedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, LedgerOpeningSheetEntity
Need help with CPRediscountTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.