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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AssetRulePoints to the business rule for fixed assets that this local record refers to.Int64
RefRecId
YesAssetRule.RecIdNone
BuyingLegalEntityPoints to the legal entity that buys the asset under this rule.Int64
RefRecId
YesCompanyInfo.RecIdNone
ActiveYes or No flag showing whether this local rule is active.Enum
NoYesId
NoYes (enum)
NoNone
AssetGroupDataAreaIdCompany of the fixed asset group. It is used with the group ID to find the group.String
DataAreaId
NoAssetGroup.dataAreaIdNone
AssetGroupIdCode of the fixed asset group that applies to this local rule.String
AssetGroupId
NoAssetGroup.GroupIdNone
HasQualifiersYes or No flag showing whether the local rule uses qualifiers.Enum
NoYesId
NoYes (enum)
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • AssetGroupId → AssetGroup

    Join on AssetGroupDataAreaId = AssetGroup.dataAreaId, AssetGroupId = AssetGroup.GroupId

    Many AssetRuleLocal records → zero or one AssetGroup record

  • AssetRule → AssetRule

    Join on AssetRule = AssetRule.RecId

    Many AssetRuleLocal records → exactly one AssetRule record

  • BuyingLegalEntity → CompanyInfo

    Join on BuyingLegalEntity = CompanyInfo.RecId

    Many 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.

Email sales@drdynamics.co.uk