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 description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CashDiscCodeThe unique code of the cash discount. | StringCashDiscCode | Yes | Yes | CashDisc.CashDiscCode | |
CashDiscCodeNextThe next discount code. It points to another record in this table. | StringCashDiscCode | No | Yes | CashDisc.CashDiscCode | CashDisc.CashDiscCodeNext |
DescriptionA short description of the cash discount. | String (60)Description | No | Yes | CashDisc.Description | |
DescriptionQRBill_CHA description used for Switzerland in QR bills. | String (60)Description | No | Yes | CashDisc.DescriptionQRBill_CH | |
DiscMethodHow the discount period is counted, such as net, current month, quarter, year, week, COD or cutoff day. | Enum
| No | Yes | CashDisc.DiscMethod | |
DiscountOffsetMethod_PSNChoice used for public sector for which offset accounts apply to discounts. | Enum
| No | Yes | CashDisc.DiscountOffsetMethod_PSN | |
NumOfDaysThe number of days in the discount period. | IntegerPositiveDays | No | Yes | CashDisc.NumOfDays | |
NumOfMonthsThe number of months in the discount period. | IntegerPositiveMonths | No | Yes | CashDisc.NumOfMonths | |
PaidLedgerDimensionThe main account for customer discounts. It points to a dimension combination record. | Int64LedgerDimensionDefaultAccount | Yes | Yes | DimensionAttributeValueCombination.RecId | CashDisc.PaidLedgerDimension |
PaidLedgerDimensionValuesJsonLedger dimension values for the paid discount account, held as JSON text. | String | No | Yes | computed | |
PercentThe discount percentage. | RealDiscPct | No | Yes | CashDisc.Percent | |
ReceivedLedgerDimensionThe main account for vendor discounts. It points to a dimension combination record. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CashDisc.ReceivedLedgerDimension |
ReceivedLedgerDimensionValuesJsonLedger dimension values for the received discount account, held as JSON text. | String | No | Yes | computed | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | CashDisc.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | CashDisc.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | CashDisc.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.
CashDiscCodeNext→CashDisc.CashDiscCode(key of CashDisc)Many CashDisc records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscCDREntity
PaidLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CashDisc records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
ReceivedLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CashDisc records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with CashDiscBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.