This article describes the standards that apply to set the Active property of register records. All of the listed recommendations are mandatory unless noted otherwise.
If your configuration includes functionality that changes the Active property of register records (for example, you might use this for manual record correction), we recommend the following:
1. All queries to register records and reports based on those records must take into account the value of the Active property. Use the following condition to filter out inactive records:
WHERE Active = TRUE
If your query selects records from virtual tables linked to registers, 1C:Enterprise always retrieves active records only (because virtual register tables only contain active records).
2. In particular, the Active property of register records must be taken into account in universal reports (and in the universal business logic in general) that utilize data from various configuration registers because those registers might store inactive records.
3. When a document that allows manual correction of register records is unposted, do not delete its records, make them inactive instead. An example of such a document is General Ledger Entry (this document is intended for manual adding of general ledger entries).
See also: