Calculation Register
In the 1C:Enterprise system, Calculation Register objects are used to store the results of calculations that are performed with a certain frequency, are closely linked to each other according to some rules and affect each other within a specific period.
Calculation Register Properties
In addition to common properties of all metadata objects, calculation registers also have a number of specific properties.
You can edit a calculation register in the edit window.
When you edit a calculation register, you specify a chart of calculation types, action period and base period support, and periodicity, as well as develop register's structure: create sets of dimensions, resources and attributes. If necessary, you can also create screen and print forms for viewing register records.
Chart of Calculation Types is the main characteristic of the register. You should select one of the Chart of Calculation Types objects.
Action Period – if this property is set, it determines competitive mutual impact of this register's records. Salary accrual and sick pay are good examples of competitive movements – you cannot be sick and working at the same time, that is, receive both a salary and sick pay. These calculations are mutually exclusive for each point in time, and the system must guarantee that entering one of them will exclude the other.
Schedule – this property is available if the Action Period property is set. It provides a link to the information register describing a time schema for the source data of calculation. The Schedule property should be specified for the calculations that depend on source data allocated within the action period according to a certain rule. For example, it can be an organizational timesheet broken down into days, a lecture schedule in hours, and so on.
Schedule Value – this property is available if the Action Period property is set. For this property value you select resource of the information register defined in the Schedule property.
Schedule Date – the property is available if the Action Period property is set. For this property value you select a dimension of the information register defined in the Schedule property and having the Date type. Based on the value of this property, the system creates links to the values of the information register resource specified in the Schedule Value property.
Base Period – if this property is set, it determines the coherent mutual impact of this register's records. The dependency of pay calculated by averages on the pay calculated in the basic period is a good example of coherent register records.
Periodicity defines the period for which register records are made and within which they can affect each other (for registers that support action period).
Recalculations are register subordinate objects that allow you to define rules of register records' mutual impact. The object properties palette in the Register Dimension property of the Relationships group indicates the main dimension of the current register that is to be recalculated in case of changes of the leading registers' data defined in the Leading Registers Data property. For example, an individual's withholdings are recalculated at changes in accruals (salary, bonuses).
If the Base Period property is set, recalculation data are created automatically. If the property is not set, user has to create the recalculation data manually (a special form to enter recalculation and their mechanism should be developed at the design stage).