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 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 |
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 |
PaidLedgerDimensionValuesJsonLedger dimension values for the paid discount account, held as JSON text. | String | No | Yes | computed | |
ReceivedLedgerDimensionValuesJsonLedger dimension values for the received discount account, held as JSON text. | String | No | Yes | computed | |
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 | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | CashDisc.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.
CashDiscCodeNext→CashDisc.CashDiscCode(key of CashDisc)Many CashDisc records → zero or one CashDisc record
CashDisc details: see CashDiscountEntity, CredManCashDiscRankEntity, CashDiscBiEntity
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 CashDiscCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.