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 · root
  • NotesReceivableMainAccount (table MainAccount) · InnerJoin to CPRediscountTableTR · read-only
  • LedgerChartOfAccountsNotesReceivable (table LedgerChartOfAccounts) · InnerJoin to NotesReceivableMainAccount · read-only
  • InterestExpenseMainAccount (table MainAccount) · InnerJoin to CPRediscountTableTR · read-only
  • LedgerChartOfAccountsInterestExpense (table LedgerChartOfAccounts) · InnerJoin to InterestExpenseMainAccount · read-only
  • InterestIncomeMainAccount (table MainAccount) · InnerJoin to CPRediscountTableTR · read-only
  • LedgerChartOfAccountsInterestIncome (table LedgerChartOfAccounts) · InnerJoin to InterestIncomeMainAccount · read-only
  • NotesPayableMainAccount (table MainAccount) · InnerJoin to CPRediscountTableTR · read-only
  • LedgerChartOfAccountsNotesPayable (table LedgerChartOfAccounts) · InnerJoin to NotesPayableMainAccount · read-only

Fields (27)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
VersionIdIdentifier of the rediscount version.String
CPRediscountVersionIdTR
YesYesCPRediscountTableTR.VersionId
CurrentReferenceDateReference date of the current period.Date
TransDate
YesYesCPRediscountTableTR.CurrentReferenceDate
NextReferenceDateReference date of the next period.Date
TransDate
YesYesCPRediscountTableTR.NextReferenceDate
CurrentPeriodJournalLedger journal number for the current period. The label calls it a payroll number, which looks misleading.low confidenceString (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumCPRediscountTableTR.CurrentPeriodJournal
NextPeriodJournalLedger journal number for the next period.String (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumCPRediscountTableTR.NextPeriodJournal
CurrentPeriodReverseJournalLedger journal number of the reversal for the current period.String (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumCPRediscountTableTR.CurrentPeriodReverseJournal
NextPeriodReverseJournalLedger journal number of the reversal for the next period.String (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumCPRediscountTableTR.NextPeriodReverseJournal
JournalNameName of the ledger journal used.String
LedgerJournalNameId
YesYesLedgerJournalName.JournalNameCPRediscountTableTR.JournalName
PostedYes/No flag showing whether the rediscount is posted.Enum
Posted
NoYes

Platform enum: values not in the metadata extract.

NoYesCPRediscountTableTR.Posted
NotesReceivableMainAccountMain account for rediscounted notes receivable.Int64
MainAccountRecId
YesNo (private)MainAccount.RecIdCPRediscountTableTR.NotesReceivableMainAccount
InterestExpenseMainAccountMain account for rediscount interest expense.Int64
MainAccountRecId
YesNo (private)MainAccount.RecIdCPRediscountTableTR.InterestExpenseMainAccount
InterestIncomeMainAccountMain account for rediscount interest income.Int64
MainAccountRecId
YesNo (private)MainAccount.RecIdCPRediscountTableTR.InterestIncomeMainAccount
NotesPayableMainAccountMain account for rediscounted notes payable.Int64
MainAccountRecId
YesNo (private)MainAccount.RecIdCPRediscountTableTR.NotesPayableMainAccount
ExchRateTypeExchange rate type used.String (20)
ExchangeRateTypeName
YesYesExchangeRateType.NameCPRediscountTableTR.ExchRateType
DetailLevelChooses whether results are shown in detail or as a summary.Enum
DetailSummary
  • Detail 0
  • Summary 1
NoYesCPRediscountTableTR.DetailLevel
NotesReceivableMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to.Int64
RefRecId
YesNo (private)LedgerChartOfAccounts.RecIdMainAccount.LedgerChartOfAccounts
NotesReceivableMainAccountMainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
InterestExpenseMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to.Int64
RefRecId
YesNo (private)LedgerChartOfAccounts.RecIdMainAccount.LedgerChartOfAccounts
InterestExpenseMainAccountMainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
InterestIncomeMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to.Int64
RefRecId
YesNo (private)LedgerChartOfAccounts.RecIdMainAccount.LedgerChartOfAccounts
InterestIncomeMainAccountMainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
NotesPayableMainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to.Int64
RefRecId
YesNo (private)LedgerChartOfAccounts.RecIdMainAccount.LedgerChartOfAccounts
NotesPayableMainAccountMainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
LedgerChartOfAccountsNotesPayableNameName of the chart of accounts. It is the key of the table.String (60)
LedgerChartOfAccountsName
YesYesLedgerChartOfAccounts.Name
LedgerChartOfAccountsInterestIncomeNameName of the chart of accounts. It is the key of the table.String (60)
LedgerChartOfAccountsName
YesYesLedgerChartOfAccounts.Name
LedgerChartOfAccountsInterestExpenseNameName of the chart of accounts. It is the key of the table.String (60)
LedgerChartOfAccountsName
YesYesLedgerChartOfAccounts.Name
LedgerChartOfAccountsNotesReceivableNameName of the chart of accounts. It is the key of the table.String (60)
LedgerChartOfAccountsName
YesYesLedgerChartOfAccounts.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.

Need help with CPRediscountTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk