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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustVendTransPostingLog_RUPoints to the log entry for posting customer and vendor transactions. | Int64CustVendTransPostingLogRecId_RU | No | CustVendTransPostingLog_RU.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
GoodsInRouteId_RUID of the journal of passing of property linked to this record. | String (20)GoodsInRouteId_RU | No | GoodsInRouteJour_RU.GoodsInRouteId | None |
GoodsInRouteToDelivery_RUYes/No flag showing that passing of property is not registered. | EnumGoodsInRouteToDelivery_RUNoYes (enum) | No | None | |
MarkupTransRecId_RUPoints to the related charges transaction. | Int64MarkupTransRefRecId | No | MarkupTrans.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OffsetLedgerDimension_RUPoints to the ledger account combination used as the corresponding account. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | 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 | |
TaxSourceType_RUDetailed origin of the tax: none, invoice line or miscellaneous charges. | EnumTaxSourceType_RU (enum) | No | None | |
TaxTransPoints to the posted sales tax history record that these Russian details belong to. | Int64TaxTransRefRecId | No | TaxTransHistory.RecId | None |
TaxUnroundAmount_RUSales tax amount before rounding; currency not stated in the metadata. | RealTaxAmount | No | None | |
TaxUnroundAmountCur_RUSales tax amount before rounding in a transaction-type currency; currency not stated in the metadata.low confidence | RealTaxAmountCur | No | None | |
VATOperationCode_RUCode of the VAT operation, linked to the VAT operation code list. | StringVATOperationCode_RU | No | VATOperationCodeTable_RU.OperationCode | None |
VATTaxAgentVendAccount_RUAccount number of the vendor acting as VAT tax agent. | String (20)VATTaxAgentVendAccount_RU | No | VendTable.AccountNum | None |
Indexes (1)
TaxTransIdxUnique, alternate key.
Relations (7)
Each relation joins TaxTransHistory_RU to another table on the fields shown.
CustVendTransPostingLog_RU→CustVendTransPostingLog_RUJoin on
CustVendTransPostingLog_RU = CustVendTransPostingLog_RU.RecIdMany TaxTransHistory_RU records → zero or one CustVendTransPostingLog_RU record
GoodsInRouteJour_RU→GoodsInRouteJour_RUJoin on
GoodsInRouteId_RU = GoodsInRouteJour_RU.GoodsInRouteIdMany TaxTransHistory_RU records → exactly one GoodsInRouteJour_RU record
MarkupTrans_RU→MarkupTransJoin on
MarkupTransRecId_RU = MarkupTrans.RecIdMany TaxTransHistory_RU records → zero or one MarkupTrans record
OffsetLedgerDimension_RU→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension_RU = DimensionAttributeValueCombination.RecIdMany TaxTransHistory_RU records → zero or one DimensionAttributeValueCombination record
TaxTrans→TaxTransHistoryJoin on
TaxTrans = TaxTransHistory.RecIdZero or one TaxTransHistory_RU record → exactly one TaxTransHistory record
VATOperationCodeTable_RU→VATOperationCodeTable_RUJoin on
VATOperationCode_RU = VATOperationCodeTable_RU.OperationCodeMany TaxTransHistory_RU records → exactly one VATOperationCodeTable_RU record
VATTaxAgentVendTable→VendTableJoin on
VendTable.VATTaxAgent_RU = 1,VATTaxAgentVendAccount_RU = VendTable.AccountNumMany 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.