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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
StartDateStart date of the period from which these values apply. | DateRAssetPeriod | Yes | None | |
AssetIdThe fixed asset this history record applies to. | String (20)RAssetId | Yes | RAssetTable.AccountNum | None |
RAssetDistributionThe distribution by owners and positions record that this history refers to. | Int64RefRecId | No | RAssetDistribution.RecId | None |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DenominatorShareDenominator of the allowance share. | IntegerRAssetTaxPrivilegeShare | No | None | |
DenominatorShareOwnedDenominator of the owned share. | IntegerRAssetOwnedShare | No | None | |
LandCadastralNumCadastral number of the land. | String (80)LandCadastralNum_W | No | None | |
LandTypeLand category, taken from the ground area categories. | String (20)LandType_W | No | LandTypeTable_W.LandType | None |
NumeratorShareNumerator of the allowance share. | IntegerRAssetTaxPrivilegeShare | No | None | |
NumeratorShareOwnedNumerator of the owned share. | IntegerRAssetOwnedShare | No | 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 | |
RoomCadastralNumCadastral number of the room. Used for Russia. | String (80)RoomCadastralNum_RU | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAllowance395RecIdTax allowance code for the land tax exemption under article 395. | Int64RAssetTaxAllowanceExemption | No | RAssetTaxAllowance.RecId | None |
TaxAllowanceRecIdTax allowance code for the land tax exemption under article 387. | Int64RAssetTaxAllowanceRecId | No | RAssetTaxAllowance.RecId | None |
TaxBaseTax base value for the period. | RealTaxBase | No | None | |
UntaxedAreaPartAllowanceRecIdTax allowance code for the land tax allowance given as a non-taxable share. | Int64RAssetTaxAllowanceUntaxedAreaPart | No | RAssetTaxAllowance.RecId | None |
Indexes (4)
StartDateIdxPrimary indexReplacement keyStartDate,AssetId,RAssetDistributionUnique, alternate key.
TaxAllowanceIdxNot unique.
UntaxedAreaPartAllowanceIdxNot unique.
TaxAllowance395idxNot unique.
Relations (6)
Each relation joins RAssetTaxAllowanceHistory to another table on the fields shown.
RAssetTable→RAssetTableJoin on
AssetId = RAssetTable.AccountNumOne or more RAssetTaxAllowanceHistory records → exactly one RAssetTable record
TaxAllowance→RAssetTaxAllowanceJoin on
TaxAllowanceRecId = RAssetTaxAllowance.RecIdMany RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record
TaxAllowance395→RAssetTaxAllowanceJoin on
RAssetTaxAllowance.TaxType = null,RAssetTaxAllowance.TaxType = 8,RAssetTaxAllowance.TaxAllowanceType = 2,TaxAllowance395RecId = RAssetTaxAllowance.RecIdMany RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record
UntaxedAreaPartAllowance→RAssetTaxAllowanceJoin on
RAssetTaxAllowance.TaxType = null,RAssetTaxAllowance.TaxType = 8,RAssetTaxAllowance.TaxAllowanceType = 4,UntaxedAreaPartAllowanceRecId = RAssetTaxAllowance.RecIdMany RAssetTaxAllowanceHistory records → zero or one RAssetTaxAllowance record
RAssetDistribution→RAssetDistributionJoin on
RAssetDistribution = RAssetDistribution.RecIdMany RAssetTaxAllowanceHistory records → zero or one RAssetDistribution record
LandTypeTable_W→LandTypeTable_WJoin on
LandType = LandTypeTable_W.LandTypeMany 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.