Table

TaxWorkRegulation

Adjusted sales tax amounts

Holds adjusted sales tax amounts for a transaction header. Each record links to a header such as an invoice, order or journal line through a table ID and record ID. It stores the tax code, direction and the corrected amounts.

Table name
TaxWorkRegulation
Module
Tax
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
HeadingRecId
Replacement key
None
Key fields
HeadingTableId, HeadingRecId, RecId
Model
Foundation

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HeadingTableIdIdentifies which table the transaction header is in.Integer
RefTableId
NoNone
HeadingRecIdSystem record ID of the transaction header the adjustment belongs to.Int64
RefRecId
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
ActualTaxRegulationAmountCurActual correction amount in the transaction currency.Real
TaxRegulationAmountCur
NoNone
CClassTrib_BRPoints to the taxpayer classification code (cClassTrib); used for Brazil.Int64
CClassTribRecId_BR
NoCClassTribTable_BR.RecIdNone
CClassTribAdj_BRPoints to the adjusted taxpayer classification code (cClassTrib); used for Brazil.Int64
CClassTribRecId_BR
NoCClassTribTable_BR.RecIdNone
ConsolidateSourceRegulateAmountCur_JPActual consolidated sales tax amount; used for Japan.Real
TaxRegulationAmountCur
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DistributedTaxShows whether the tax is distributed.Enum
NoYes (enum)
NoNone
ExchangeRateTaxAmountCurRegulatedAdjusted sales tax amount in the tax currency, using the sales tax exchange rate.Real
TaxAmountCur
NoNone
ExchangeRateTaxBaseAmountCurRegulatedAdjusted base amount in the tax currency, using the sales tax exchange rate.Real
TaxBaseCur
NoNone
IsCreatedFromUIInDetailedModeYes or No flag; likely shows if the record was created in detailed mode in the user interface.low confidenceEnum
NoYes (enum)
NoNone
ManualInsertedTaxShows whether the sales tax was created by hand.Enum
NoYes (enum)
NoNone
OverrideCalculatedTaxShows whether the calculated sales tax is overridden.Enum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SourceBaseAmountCurRegulatedAdjusted base amount in the transaction currency.Real
TaxBaseCur
NoNone
SourceBaseAmountRegulated_WAdjusted base amount, using the VAT exchange rate.Real
TaxBase
NoNone
SourceRegulateAmount_WAdjusted sales tax amount, using the VAT exchange rate.Real
TaxAmount
NoNone
StatusAdjustment status: None, Adjusted or Deleted.Enum
TaxAdjustmentStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxationCodeAdj_BRTaxation code after adjustment; used for Brazil.String (3)
TaxationCode_BR
NoNone
TaxCodeSales tax code applied.String
TaxCode
NoTaxTable.TaxCodeNone
TaxDirectionDirection of the sales tax, such as receivable, payable or use tax.Enum
TaxDirection (enum)
NoNone
TaxInCostPriceRegulatedCorrected non-deductible tax amount in the transaction currency.Real
TaxRegulationAmountCur
NoNone
TaxRegulationAmountCurCorrected amount in the transaction currency.Real
TaxRegulationAmountCur
NoNone
TaxRegulationAmountCustoms_INCorrected amount in the transaction currency for customs; used for India.Real
TaxRegulationAmountCur
NoNone

Indexes (1)

Relations (18)

Each relation joins TaxWorkRegulation to another table on the fields shown.

  • CustInvoiceJour → CustInvoiceJour

    Join on HeadingRecId = CustInvoiceJour.RecId, HeadingTableId = CustInvoiceJour.TableId

    Many TaxWorkRegulation records → zero or one CustInvoiceJour record

  • CustInvoiceTable → CustInvoiceTable

    Join on HeadingRecId = CustInvoiceTable.RecId, HeadingTableId = CustInvoiceTable.TableId

    Many TaxWorkRegulation records → zero or one CustInvoiceTable record

  • InventTransferJour_IN → InventTransferJour

    Join on HeadingRecId = InventTransferJour.RecId, HeadingTableId = InventTransferJour.TableId

    Many TaxWorkRegulation records → zero or one InventTransferJour record

  • InventTransferTable_IN → InventTransferTable

    Join on HeadingRecId = InventTransferTable.RecId, HeadingTableId = InventTransferTable.TableId

    Many TaxWorkRegulation records → zero or one InventTransferTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on HeadingTableId = LedgerJournalTrans.TableId, HeadingRecId = LedgerJournalTrans.RecId

    Many TaxWorkRegulation records → zero or one LedgerJournalTrans record

  • MarkupTrans → MarkupTrans

    Join on HeadingTableId = MarkupTrans.TableId, HeadingRecId = MarkupTrans.RecId

    Many TaxWorkRegulation records → zero or one MarkupTrans record

  • ProjProposalJour → ProjProposalJour

    Join on HeadingRecId = ProjProposalJour.RecId, HeadingTableId = ProjProposalJour.TableId

    Many TaxWorkRegulation records → zero or one ProjProposalJour record

  • PurchParmTable → PurchParmTable

    Join on HeadingTableId = PurchParmTable.TableId, HeadingRecId = PurchParmTable.RecId

    Many TaxWorkRegulation records → zero or one PurchParmTable record

  • PurchTable → PurchTable

    Join on HeadingRecId = PurchTable.RecId, HeadingTableId = PurchTable.TableId

    Many TaxWorkRegulation records → zero or one PurchTable record

  • SalesLine → SalesLine

    Join on HeadingTableId = SalesLine.TableId, HeadingRecId = SalesLine.RecId

    Many TaxWorkRegulation records → zero or one SalesLine record

  • SalesQuotationTable → SalesQuotationTable

    Join on HeadingTableId = SalesQuotationTable.TableId, HeadingRecId = SalesQuotationTable.RecId

    Many TaxWorkRegulation records → zero or one SalesQuotationTable record

  • SalesTable → SalesTable

    Join on HeadingRecId = SalesTable.RecId, HeadingTableId = SalesTable.TableId

    Many TaxWorkRegulation records → zero or one SalesTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxWorkRegulation records → zero or one TaxTable record

  • VendInvoiceInfoLine → VendInvoiceInfoLine

    Join on HeadingTableId = VendInvoiceInfoLine.TableId, HeadingRecId = VendInvoiceInfoLine.RecId

    Many TaxWorkRegulation records → zero or one VendInvoiceInfoLine record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on HeadingTableId = VendInvoiceInfoTable.TableId, HeadingRecId = VendInvoiceInfoTable.RecId

    Many TaxWorkRegulation records → zero or one VendInvoiceInfoTable record

  • VendInvoiceJour → VendInvoiceJour

    Join on HeadingRecId = VendInvoiceJour.RecId, HeadingTableId = VendInvoiceJour.TableId

    Many TaxWorkRegulation records → zero or one VendInvoiceJour record

  • CClassTribTable_BR → CClassTribTable_BR

    Join on CClassTrib_BR = CClassTribTable_BR.RecId

    Many TaxWorkRegulation records → zero or one CClassTribTable_BR record

  • CClassTribTableAdj_BR → CClassTribTable_BR

    Join on CClassTribAdj_BR = CClassTribTable_BR.RecId

    Many TaxWorkRegulation records → zero or one CClassTribTable_BR record

Get this data out

No public entity reads from TaxWorkRegulation. Its data is only reachable through the application, a custom entity or a database export.

Need help with TaxWorkRegulation in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk