Table

TaxTransHistory_RU

Posted sales tax history

Extra fields for posted sales tax history records, used for Russia. It holds VAT operation codes, tax agent vendor, property passing journal and offset account details. It links to the main tax history record, charges transactions and posting logs.

Table name
TaxTransHistory_RU
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
CustVendTransPostingLog_RUPoints to the log entry for posting customer and vendor transactions.Int64
CustVendTransPostingLogRecId_RU
NoCustVendTransPostingLog_RU.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
GoodsInRouteId_RUID of the journal of passing of property linked to this record.String (20)
GoodsInRouteId_RU
NoGoodsInRouteJour_RU.GoodsInRouteIdNone
GoodsInRouteToDelivery_RUYes/No flag showing that passing of property is not registered.Enum
GoodsInRouteToDelivery_RU
NoYes (enum)
NoNone
MarkupTransRecId_RUPoints to the related charges transaction.Int64
MarkupTransRefRecId
NoMarkupTrans.RecIdNone
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
OffsetLedgerDimension_RUPoints to the ledger account combination used as the corresponding account.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxSourceType_RUDetailed origin of the tax: none, invoice line or miscellaneous charges.Enum
TaxSourceType_RU (enum)
NoNone
TaxTransPoints to the posted sales tax history record that these Russian details belong to.Int64
TaxTransRefRecId
NoTaxTransHistory.RecIdNone
TaxUnroundAmount_RUSales tax amount before rounding; currency not stated in the metadata.Real
TaxAmount
NoNone
TaxUnroundAmountCur_RUSales tax amount before rounding in a transaction-type currency; currency not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
VATOperationCode_RUCode of the VAT operation, linked to the VAT operation code list.String
VATOperationCode_RU
NoVATOperationCodeTable_RU.OperationCodeNone
VATTaxAgentVendAccount_RUAccount number of the vendor acting as VAT tax agent.String (20)
VATTaxAgentVendAccount_RU
NoVendTable.AccountNumNone

Indexes (1)

  • TaxTransIdx

    TaxTrans

    Unique, alternate key.

Relations (7)

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

  • CustVendTransPostingLog_RU → CustVendTransPostingLog_RU

    Join on CustVendTransPostingLog_RU = CustVendTransPostingLog_RU.RecId

    Many TaxTransHistory_RU records → zero or one CustVendTransPostingLog_RU record

  • GoodsInRouteJour_RU → GoodsInRouteJour_RU

    Join on GoodsInRouteId_RU = GoodsInRouteJour_RU.GoodsInRouteId

    Many TaxTransHistory_RU records → exactly one GoodsInRouteJour_RU record

  • MarkupTrans_RU → MarkupTrans

    Join on MarkupTransRecId_RU = MarkupTrans.RecId

    Many TaxTransHistory_RU records → zero or one MarkupTrans record

  • OffsetLedgerDimension_RU → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension_RU = DimensionAttributeValueCombination.RecId

    Many TaxTransHistory_RU records → zero or one DimensionAttributeValueCombination record

  • TaxTrans → TaxTransHistory

    Join on TaxTrans = TaxTransHistory.RecId

    Zero or one TaxTransHistory_RU record → exactly one TaxTransHistory record

  • VATOperationCodeTable_RU → VATOperationCodeTable_RU

    Join on VATOperationCode_RU = VATOperationCodeTable_RU.OperationCode

    Many TaxTransHistory_RU records → exactly one VATOperationCodeTable_RU record

  • VATTaxAgentVendTable → VendTable

    Join on VendTable.VATTaxAgent_RU = 1, VATTaxAgentVendAccount_RU = VendTable.AccountNum

    Many TaxTransHistory_RU records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk