Table
MarkupAutoLineTaxCharge
Sales tax codes in value base for auto charge
Links sales tax codes to an automatic charge line. The key is the tax code plus the charge line. It shows which sales tax codes make up the value base for the charge.
- Table name
MarkupAutoLineTaxCharge- Module
Tax- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
TaxCodeChargeAutoLineIdx- Replacement key
None- Key fields
TaxCode, MarkupAutoLineRecId- Model
Foundation
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxCodeSales tax code included for the charge. | StringTaxCode | Yes | TaxTable.TaxCode | GUPSalesAutomaticSalesDocumentHeaderTaxChargeEntitySalesAutomaticSalesDocumentHeaderTaxChargeEntity |
MarkupAutoLineRecIdAutomatic charge line that this tax code belongs to. | Int64MarkupAutoLineRefRecId | No | MarkupAutoLine.RecId | SalesAutomaticSalesDocumentHeaderTaxChargeEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
TaxCodeChargeAutoLineIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins MarkupAutoLineTaxCharge to another table on the fields shown.
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany MarkupAutoLineTaxCharge records → exactly one TaxTable record
MarkupAutoLine→MarkupAutoLineJoin on
MarkupAutoLineRecId = MarkupAutoLine.RecIdMany MarkupAutoLineTaxCharge records → exactly one MarkupAutoLine record
Get this data out
Tables are not exposed directly. These public entities read from MarkupAutoLineTaxCharge; use one of them in Power BI, Power Platform or a data management project.
GUPSalesAutomaticSalesDocumentHeaderTaxChargeEntity· 1 field from this tableSalesAutomaticSalesDocumentHeaderTaxChargeEntity· 2 fields from this table
Need help with MarkupAutoLineTaxCharge in a report, an integration or a migration? Talk to Dr Dynamics.