Data entity

CashDiscBiEntity

Read-only list of cash discount codes for BI and analytics. Each has a description, a discount percentage, days and months, and a link to a next discount code. It also holds the main accounts for customer and vendor discounts. The key is the cash discount code.

Entity name
CashDiscBiEntity
Public entity name
CashDiscBiEntity
OData collection
CashDiscBiEntities
Category
Reference
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
CashDiscCode
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CashDiscBiEntities
Dataverse virtual table
mserp_cashdiscbientity. 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 (16)

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
PaidLedgerDimensionValuesJsonLedger dimension values for the paid discount account, held as JSON text.StringNoYescomputed
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
ReceivedLedgerDimensionValuesJsonLedger dimension values for the received discount account, held as JSON text.StringNoYescomputed
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCashDisc.DataAreaId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCashDisc.RecId
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesCashDisc.RecVersion

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

Email sales@drdynamics.co.uk