Main > Knowledge Base > Knowledge Base > Knowledge base > Practical developer guide 8.3 > Lesson 17 (1:00). Charts of calculation types and calculation registers > Adding a calculation register > In Designer mode > Practical developer guide 8.3 > Lesson 17 (1:00). Charts of calculation types and calculation registers > Adding a calculation register > In Designer mode

In Designer mode

Let us create the calculation register.

  1. In Designer, create a CalculationRegister object named Accruals.
  2. In the Extended list presentation field, enter Accruals register records.
  3. In the Chart of calculation types field, select MainAccruals.
  4. Specify that the register uses an action period.
  5. In the Schedule field, select the WorkSchedules information register.
  6. In the Schedule value field, select the Value resource.
  7. In the Schedule date field, select the Date dimension.
  8. Specify that the calculation register uses a base period and has the Month periodicity (fig. 17.13).


    Fig. 17.13. Accruals calculation register editor
  9. On the Subsystems tab, include the calculation register in the Payroll subsystem.  
  10. On the Data tab, create the following items (fig. 17.14):
    • Employee dimension. Type: CatalogRef.Employees, Base
    • Result resource. Type: Number, length: 15, precision: 2
    • WorkSchedule attribute. Type: CatalogRef.WorkScheduleTypes, link to schedule: WorkSchedule
    • SourceData attribute. Type: Number, length: 15, precision: 2
    The WorkSchedule attribute links each register record to a work schedule, while the SourceData attribute stores data that you might need for calculating or recalculating (in this example you will calculate salary).


    Fig. 17.14 Calculation register dimensions, resources, and attributes
  11. On the Recalculations tab, create a Recalculation configuration object named Recalculation
  12. For this object, create a single Employee dimension.
  13. For the Employee dimension, in the Register Dimension property, select Employee, and in the Leading registers data property, select the same Employee dimension of the Accruals calculation register (fig. 17.15).


    Fig. 17.15. Register recalculations

    Finally, let us edit the command interface to make the command that opens the register records available in the Payroll section.
  14. In the configuration tree, right-click the Payroll subsystem and then click Open command interface.
    This opens the window that lists all commands of the selected subsystem.
  15. In the Navigation panel.Normal group, select the check box next to the Accruals command.

    This completes the creation of the Accruals calculation register configuration object.
Next page: Quiz



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.