Data entity

CashDiscCDREntity

Read-only list of cash discount codes with description, discount percentage, days and months, and a link to a next discount code. It also holds the main accounts for customer and vendor discounts. It is keyed by a source key, not by the discount code.

Entity name
CashDiscCDREntity
Public entity name
CashDiscCDREntity
OData collection
CashDiscCDREntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CashDiscCDREntities
Dataverse virtual table
mserp_cashdisccdrentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • CashDisc · root · read-only

Fields (15)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CashDiscCodeThe unique code of the cash discount.String
CashDiscCode
YesYesCashDisc.CashDiscCode
CashDiscCodeNextThe next discount code. It points to another record in this table.String
CashDiscCode
NoYesCashDisc.CashDiscCodeCashDisc.CashDiscCodeNext
DescriptionA short description of the cash discount.String (60)
Description
NoYesCashDisc.Description
DescriptionQRBill_CHA description used for Switzerland in QR bills.String (60)
Description
NoYesCashDisc.DescriptionQRBill_CH
DiscMethodHow the discount period is counted, such as net, current month, quarter, year, week, COD or cutoff day.Enum
NetCurrent
  • Net 0
  • CurrentMth 1
  • CurrentQuart 2
  • CurrentYear 3
  • CurrentWeek 4
  • COD 5
  • CutOffDate 7
NoYesCashDisc.DiscMethod
DiscountOffsetMethod_PSNChoice used for public sector for which offset accounts apply to discounts.Enum
DiscountOffsetMethod
  • AccountReceived 0
  • InvoiceAccount 1
NoYesCashDisc.DiscountOffsetMethod_PSN
NumOfDaysThe number of days in the discount period.Integer
PositiveDays
NoYesCashDisc.NumOfDays
NumOfMonthsThe number of months in the discount period.Integer
PositiveMonths
NoYesCashDisc.NumOfMonths
PaidLedgerDimensionThe main account for customer discounts. It points to a dimension combination record.Int64
LedgerDimensionDefaultAccount
YesYesDimensionAttributeValueCombination.RecIdCashDisc.PaidLedgerDimension
PercentThe discount percentage.Real
DiscPct
NoYesCashDisc.Percent
ReceivedLedgerDimensionThe main account for vendor discounts. It points to a dimension combination record.Int64
LedgerDimensionDefaultAccount
NoYesDimensionAttributeValueCombination.RecIdCashDisc.ReceivedLedgerDimension
PaidLedgerDimensionValuesJsonLedger dimension values for the paid discount account, held as JSON text.StringNoYescomputed
ReceivedLedgerDimensionValuesJsonLedger dimension values for the received discount account, held as JSON text.StringNoYescomputed
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCashDisc.RecId
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCashDisc.DataAreaId

Foreign keys (3)

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 CashDiscCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk