Table
AssetRuleLocal
Asset acquisition rules - local
Holds the company-level (local) version of the asset acquisition rules. Each record is identified by a rule and a buying legal entity. It can also set a fixed asset group and mark the record as active.
- Table name
AssetRuleLocal- Module
Fixed assets- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
Asset- Primary index
RecId- Replacement key
FK_AssetRuleRecId- Key fields
AssetRule, BuyingLegalEntity- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AssetRulePoints to the business rule for fixed assets that this local record refers to. | Int64RefRecId | Yes | AssetRule.RecId | None |
BuyingLegalEntityPoints to the legal entity that buys the asset under this rule. | Int64RefRecId | Yes | CompanyInfo.RecId | None |
ActiveYes or No flag showing whether this local rule is active. | EnumNoYesIdNoYes (enum) | No | None | |
AssetGroupDataAreaIdCompany of the fixed asset group. It is used with the group ID to find the group. | StringDataAreaId | No | AssetGroup.dataAreaId | None |
AssetGroupIdCode of the fixed asset group that applies to this local rule. | StringAssetGroupId | No | AssetGroup.GroupId | None |
HasQualifiersYes or No flag showing whether the local rule uses qualifiers. | EnumNoYesIdNoYes (enum) | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
FK_AssetRuleRecIdReplacement keyUnique, alternate key.
Relations (3)
Each relation joins AssetRuleLocal to another table on the fields shown.
AssetGroupId→AssetGroupJoin on
AssetGroupDataAreaId = AssetGroup.dataAreaId,AssetGroupId = AssetGroup.GroupIdMany AssetRuleLocal records → zero or one AssetGroup record
AssetRule→AssetRuleJoin on
AssetRule = AssetRule.RecIdMany AssetRuleLocal records → exactly one AssetRule record
BuyingLegalEntity→CompanyInfoJoin on
BuyingLegalEntity = CompanyInfo.RecIdMany AssetRuleLocal records → exactly one CompanyInfo record
Get this data out
No public entity reads from AssetRuleLocal. Its data is only reachable through the application, a custom entity or a database export.
Need help with AssetRuleLocal in a report, an integration or a migration? Talk to Dr Dynamics.