Data entity
SalesChargeEntity
Holds sales charge codes, keyed by charges code. Each code has a description, a classification, debit and credit accounts with their types and posting settings, and an item sales tax group. It also holds Intrastat values, a prorate setting and a tax rate type.
- Entity name
SalesChargeEntity- Public entity name
SalesCharges- OData collection
SalesCharge- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
Markup- Keys
ChargeCode- Staging table
SalesChargeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesCharge- Dataverse virtual table
mserp_saleschargeentity. 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
MarkupTable· rootDebitPostingMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toMarkupTable· read-onlyCreditPostingMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toMarkupTable· read-onlyTaxRateType· OuterJoin toMarkupTable· read-only
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DebitPostingMainAccountIdDebit account for the charge. It points to a dimension account combination. | Int64DimensionDynamicDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | MarkupTable.CustomerLedgerDimension |
DebitPostingMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DebitPostingTypeKind of ledger posting type set for the debit side. | Enum
| No | Yes | MarkupTable.CustPosting | |
DebitPostingMethodKind of debit target: item, ledger account or customer/vendor. | Enum
| No | Yes | MarkupTable.CustType | |
ChargeCodeCode that identifies the charge. | StringMarkupCode | Yes | Yes | MarkupTable.MarkupCode | |
SalesTaxItemGroupCodeItem sales tax group linked to the charge. It points to the item sales tax group record. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | MarkupTable.TaxItemGroup |
ChargeDescriptionDescription of the charges code. | String (60)TransTxt | No | Yes | MarkupTable.Txt | |
CreditPostingMainAccountIdCredit account for the charge. It points to a dimension account combination. | Int64DimensionDynamicDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | MarkupTable.VendorLedgerDimension |
CreditPostingMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
CreditPostingTypeKind of ledger posting type set for the credit side. | Enum
| No | Yes | MarkupTable.VendPosting | |
CreditPostingMethodKind of credit target: item, ledger account or customer/vendor. | Enum
| No | Yes | MarkupTable.VendType | |
WillIntrastatInvoiceValueIncludeChargeAmountsYes/no flag to include the charge in the Intrastat invoice value. | Enum
| No | Yes | MarkupTable.IncludeIntoIntrastatInvoiceValue | |
WillIntrastatStatisticalValueIncludeChargeAmountsYes/no flag to include the charge in the Intrastat statistical value. | Enum
| No | Yes | MarkupTable.IncludeIntoIntrastatStatisticalValue | |
WillSalesInvoicingProrateChargeAmountsYes/no flag for prorating the charge. | Enum
| No | Yes | MarkupTable.MCRProRate | |
ChargeClassificationClassification of the charge, such as freight or insurance. Used for Brazil. | Enum
| No | Yes | MarkupTable.MarkupClassification_BR | |
TaxRateTypeNameName of the tax rate type. It is the key of the table. | String (60)TaxRateTypeName | No | Yes | TaxRateType.Name |
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.
DebitPostingMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many MarkupTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
SalesTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many MarkupTable records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
CreditPostingMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many MarkupTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with SalesChargeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.