Data entity

SalesAutomaticSalesDocumentHeaderTaxChargeEntity

Holds the sales tax codes linked to automatic sales document charge lines. Each record is keyed by the tax code plus the key of the charge line (customer, customer charges group, delivery mode, delivery charges group and line number).

Entity name
SalesAutomaticSalesDocumentHeaderTaxChargeEntity
Public entity name
SalesAutomaticSalesDocumentHeaderTaxCharge
OData collection
SalesAutomaticSalesDocumentHeaderTaxCharges
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
TaxCode, ChargingCustomerAccountNumber, ChargingChargeCustomerGroupId, ChargingDeliveryModeCode, ChargingChargeDeliveryGroupId, LineNumber
Staging table
SalesAutomaticSalesDocumentHeaderTaxChargeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesAutomaticSalesDocumentHeaderTaxCharges
Dataverse virtual table
mserp_salesautomaticsalesdocumentheadertaxchargeentity. 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

  • MarkupAutoLineTaxCharge · root
  • SalesAutomaticSalesDocumentHeaderChargeEntity · InnerJoin to MarkupAutoLineTaxCharge · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TaxCodeSales tax code included for the charge.String
TaxCode
YesYesTaxTable.TaxCodeMarkupAutoLineTaxCharge.TaxCode
ChargingCustomerAccountNumberCustomer account that the automatic charge applies to.String (20)
CustAccount
NoYesNone
ChargingChargeCustomerGroupIdCustomer charges group that the automatic charge applies to.String
CustMarkupGroupId
NoYesNone
ChargingDeliveryModeCodeMode of delivery that the automatic charge applies to.String
CustDlvModeId
NoYesNone
ChargingChargeDeliveryGroupIdDelivery charges group that the automatic charge applies to.String
DeliveryMarkupGroupId
NoYesNone
LineNumberNumber that orders the lines within the parent record.Real
LineNum
NoYesMarkupAutoLine.LineNum
SalesChargeCodeCode of the charge that the line applies.String
MarkupCode
NoYesMarkupTable.MarkupCodeMarkupAutoLine.MarkupCode
MarkupAutoLineRecIdAutomatic charge line that this tax code belongs to.Int64
MarkupAutoLineRefRecId
NoNo (private)MarkupAutoLine.RecIdMarkupAutoLineTaxCharge.MarkupAutoLineRecId
DlvModeRelationMode of delivery that the rule covers.String (20)
DlvModeRelation
NoNo (private)DlvMode.CodeMarkupAutoTable.DlvModeRelation
DlvModeCodeWhether the rule covers one delivery mode, a group or all.Enum
MarkupDlvModeCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MarkupAutoTable.DlvModeCode
AccountRelationCustomer or vendor account, or group, that the rule covers.String (20)
CustVendRel
NoNo (private)CustTable.AccountNumVendTable.AccountNumMarkupAutoTable.AccountRelation
AccountCodeWhether the rule covers one account, a group of accounts or all accounts.Enum
MarkupAccountCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MarkupAutoTable.AccountCode

Foreign keys (6)

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

Email sales@drdynamics.co.uk