Table

RAssetTaxAllowanceHistory

History of tax allowance changing

Keeps a history of changes to tax allowances for a fixed asset, starting from a given date. It links to the fixed asset, the distribution by owners and positions, and tax allowance codes. It also holds land and room cadastral numbers, land category, ownership shares and tax base.

Table name
RAssetTaxAllowanceHistory
Module
Fixed assets (Russia)
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
RAsset
Primary index
StartDateIdx
Replacement key
StartDateIdx
Key fields
StartDate, AssetId, RAssetDistribution
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
StartDateStart date of the period from which these values apply.Date
RAssetPeriod
YesNone
AssetIdThe fixed asset this history record applies to.String (20)
RAssetId
YesRAssetTable.AccountNumNone
RAssetDistributionThe distribution by owners and positions record that this history refers to.Int64
RefRecId
NoRAssetDistribution.RecIdNone
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
DenominatorShareDenominator of the allowance share.Integer
RAssetTaxPrivilegeShare
NoNone
DenominatorShareOwnedDenominator of the owned share.Integer
RAssetOwnedShare
NoNone
LandCadastralNumCadastral number of the land.String (80)
LandCadastralNum_W
NoNone
LandTypeLand category, taken from the ground area categories.String (20)
LandType_W
NoLandTypeTable_W.LandTypeNone
NumeratorShareNumerator of the allowance share.Integer
RAssetTaxPrivilegeShare
NoNone
NumeratorShareOwnedNumerator of the owned share.Integer
RAssetOwnedShare
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
RoomCadastralNumCadastral number of the room. Used for Russia.String (80)
RoomCadastralNum_RU
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAllowance395RecIdTax allowance code for the land tax exemption under article 395.Int64
RAssetTaxAllowanceExemption
NoRAssetTaxAllowance.RecIdNone
TaxAllowanceRecIdTax allowance code for the land tax exemption under article 387.Int64
RAssetTaxAllowanceRecId
NoRAssetTaxAllowance.RecIdNone
TaxBaseTax base value for the period.Real
TaxBase
NoNone
UntaxedAreaPartAllowanceRecIdTax allowance code for the land tax allowance given as a non-taxable share.Int64
RAssetTaxAllowanceUntaxedAreaPart
NoRAssetTaxAllowance.RecIdNone

Indexes (4)

Relations (6)

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

  • RAssetTable → RAssetTable

    Join on AssetId = RAssetTable.AccountNum

    One or more RAssetTaxAllowanceHistory records → exactly one RAssetTable record

  • TaxAllowance → RAssetTaxAllowance

    Join on TaxAllowanceRecId = RAssetTaxAllowance.RecId

    Many RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record

  • TaxAllowance395 → RAssetTaxAllowance

    Join on RAssetTaxAllowance.TaxType = null, RAssetTaxAllowance.TaxType = 8, RAssetTaxAllowance.TaxAllowanceType = 2, TaxAllowance395RecId = RAssetTaxAllowance.RecId

    Many RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record

  • UntaxedAreaPartAllowance → RAssetTaxAllowance

    Join on RAssetTaxAllowance.TaxType = null, RAssetTaxAllowance.TaxType = 8, RAssetTaxAllowance.TaxAllowanceType = 4, UntaxedAreaPartAllowanceRecId = RAssetTaxAllowance.RecId

    Many RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record

  • RAssetDistribution → RAssetDistribution

    Join on RAssetDistribution = RAssetDistribution.RecId

    Many RAssetTaxAllowanceHistory records → zero or one RAssetDistribution record

  • LandTypeTable_W → LandTypeTable_W

    Join on LandType = LandTypeTable_W.LandType

    Many RAssetTaxAllowanceHistory records → exactly one LandTypeTable_W record

Get this data out

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

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

Email sales@drdynamics.co.uk