Table

TaxERImportSetup

Tax ER import setup

Stores named setups for importing tax data through electronic reporting. Each setup is identified by its setup name. It holds the format name, the linked tax feature setup, tax code, file options, and withholding code and group settings.

Table name
TaxERImportSetup
Module
Tax
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
SetupNameIdx
Key fields
SetupName
Model
TaxEngine

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SetupNameUnique name of the import setup.String (60)
TaxERImportSetupName
YesNone
CompleteFeatureSetupAfterImportYes or no flag for completing the feature setup once the import ends.Enum
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the setup.String (60)
Description
NoNone
FeatureSetupPoints to the feature setup record for the tax feature.Int64
RefRecId
NoERFeatureSetupTable.RecIdNone
FeatureSetupVersionRecord ID of the resolved draft version of the feature setup.Int64
RefRecId
NoNone
FormatNameName of the import format.String (60)
Name
YesNone
HasHeaderYes or no flag showing whether the import file starts with a header row.Enum
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OperationTypeType of operation for the import: add, modify or delete.Enum
LTMTaxOperationType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SchemaPathPath of the file column that holds the taxpayer ID.String (300)
ERDataItemPath
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCodeRecord ID of the resolved draft tax code.Int64
RefRecId
NoNone
TaxCodeNameName of the tax code used in the import.String
TaxServiceTaxCode
NoNone
UseChunkingYes or no flag for importing the file in parallel parts.Enum
NoYes (enum)
NoNone
WithholdingCodeWithholding code, pointing to the withholding table.String (30)
LTMWithholdingCode
NoLTMWithholdingTable.WithholdingCodeNone
WithholdingSetIDWithholding tax group that the setup uses.String (30)
LTMWithholdingSetID
NoTaxWithholdGroupHeading.TaxWithholdGroupNone

Indexes (2)

Relations (3)

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

  • ERFeatureSetupTable → ERFeatureSetupTable

    Join on FeatureSetup = ERFeatureSetupTable.RecId

    Many TaxERImportSetup records → zero or one ERFeatureSetupTable record

  • LTMWithholdingTable → LTMWithholdingTable

    Join on WithholdingCode = LTMWithholdingTable.WithholdingCode

    Many TaxERImportSetup records → zero or one LTMWithholdingTable record

  • TaxWithholdGroupHeading → TaxWithholdGroupHeading

    Join on WithholdingSetID = TaxWithholdGroupHeading.TaxWithholdGroup

    Many TaxERImportSetup records → zero or one TaxWithholdGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk