Calculation procedures are a set of sequences that define the rules and calculation order for the salary calculation of an employee. They are processed separately for specific accruals and deductions.

You can use calculation procedures as input data or output data for other procedures that are interdependent. You can also group calculation procedures, and define a processing order for them. Procedures are usually added to groups that are independent of one another. To organize the dependency of procedures in a group, a hierarchy setting is used for the calculation procedures.

Note Note

You must activate the configuration keys to use the calculation procedures in Staff accounting.


Set up the calculation procedure groups

The calculation procedures can be processed in ascending order of the procedure group numbers. To organize the dependency of procedures in a group, establish a hierarchy setup. For example, calculation procedures for basic accruals, including basic wages, vacation, and sick pay, might be included in the first group. Raises that are dependent on these accruals might be in the second group, the calculation of income tax for private individuals might be in the third group, and other deductions, such as fines or maintenance, might be in the final group.

  1. Click Staff accounting> Setup> Calculation> Calculation procedure groupsto open the Calculation procedure groupsform.

  2. Press CTRL+N to create a new calculation procedure group.

  3. The Group codefield is automatically populated with the next group number in the sequence.

  4. In the Descriptionfield, enter a description of the procedure group.

  5. Press CTRL+S or close the form.

Set up calculation procedures

You can use the Calculation proceduresform to set up various calculation procedures. Calculation procedures are either automatic or manual. When you activate certain configuration keys in Staff accounting, you can generate calculation procedures automatically. The configuration keys include the following:

  • Employee average earned calculation

  • Lucre

  • Business trip calculation

  • By-worker correction

  • Contract calculation

  • Standard deductions

  • Periodical payments

  • Sick-lists

  • Tax calculations

  • Time Sheet

  • Vacation payment calculation

  1. Click Staff accounting> Setup> Calculation> Calculation procedures

    –or–

    Staff accounting> Setup> Calculation> Calculation procedure groups> Calculation procedures.

  2. Press CTRL+N to create a new calculation procedure.

  3. In the Group codefield, select the calculation procedure group to which the calculation procedure must be exported.

    Note Note

    Calculation procedures of the same hierarchy can be processed in any order. Calculation procedures that relate to several groups are calculated sequentially.


  4. In the Procedure codefield, enter the group code identifier for the general calculation procedure.

  5. In the Namefield, enter the name of the general calculation procedure.

    Note Note

    By default, for a newly created line, Not calculatedwill be displayed in the Calculation statusfield, on the Generaltab. Depending on the calculation status of the procedure, this field is displayed as either Calculatedor Exclude.


  6. Select the Delete previous calculationcheck box to delete the data from the previous calculation, before starting the new calculation.

    Note Note

    When you calculate procedures for the second and subsequent calculation dates in a calculation period, the salary lines that have been calculated on the previous calculation date will be deleted, and new salary lines on the current calculation date will be created.


  7. In the Main group codefield, select the main procedure that the selected sub-procedure belongs to.

    Note Note

    You can define the order of processing a specific procedure. For example, the main calculation procedure might not be calculated until all subordinate procedures are calculated.


  8. Click the Calculation ordertab to view a list of all calculation procedure groups, sorted by their group codes.

    Note Note

    The set of calculation procedures that belong to each group will be displayed here. You can also change the hierarchical order of the procedures and the linking of procedures to a certain main group, without resetting the setup on the Overviewand Generaltabs.

    For this, you must select a procedure and then drag and drop it to another group or procedure. This will automatically modify the values for the Group codeand Main groupfields on the Overviewand Generaltabs.


  9. Click Sequencesto open the Sequence of calculationform, and view the calculation sequences used by the current procedure.

  10. Press CTRL+S or close the form.

  11. Click Queryto open Employee average earned calculationform, and then specify the calculation criteria for each procedure.

    Note Note

    For example, you can specify the employees to be included in or excluded from the calculation procedure.


  12. Press CTRL+S or close the Employee average earned calculationform.

  13. Press CTRL+S or close the Calculation proceduresform.

Set up calculation sequences

A calculation sequence defines the calculation order of the necessary values for the pay types and counters. You can use the Sequence of calculationform for this purpose. However, you can use a particular sequence for only one calculation procedure.

  1. Click Staff accounting> Setup> Calculation> Sequences

    –or–

    Staff accounting> Setup> Calculation> Calculation procedure groups> Calculation procedures> Sequences

    –or–

    Staff accounting> Setup> Calculation> Calculation procedures> Sequences.

  2. In the Procedure codefield, select the calculation procedure for which you are creating a new calculation sequence.

    Note Note

    If you open this form from the Calculation proceduresform, the code for the selected calculation procedure will automatically be displayed. In this case, you cannot select any other calculation procedure.


  3. Press CTRL+N to create a new calculation sequence.

  4. In the Sequencefield, view or modify a unique identifier for the calculation sequence.

    Note Note

    When you create a new calculation sequence, this field is populated automatically with the next number in the sequence. When you start a calculation procedure, the sequences that relate to it are calculated in ascending order, according to their codes.


  5. In the Namefield, enter a description for the calculation sequence.

  6. Click Countersto open the Counter setupform, and then set up the calculation method for a created counter.

  7. Press CTRL+S or close the Counter setupform.

  8. Press CTRL+S or close the Sequence of calculationform.

Set up counters

A counter is a structural unit of a calculation method. You can enter formulas for calculating pay types in these counters. Counters are calculated according to the calculation method that is set for them. Although you can specify the values of pay types manually, counters receive their values while a calculation is being processed. The result of a calculation can be saved in the counter and is reflected in the pay type.

  1. Click Staff accounting> Setup> Calculation> Sequences

    –or–

    Staff accounting> Setup> Calculation> Calculation procedure groups> Calculation procedures> Sequences

    –or–

    Staff accounting> Setup> Calculation> Calculation procedures> Sequences.

    Note Note

    Select the calculation procedure that a sequence was created for, and that you set up a calculation method for. Then click Sequencesto select a sequence for the selected calculation procedure.


  2. Click Countersto open the Counter setupform.

    Note Note

    Alternatively, you can also open the form from Staff accounting> Setup> Calculation> Counters. However, when you open the form from this locator, the counter that you create will not be attached to the calculation procedure and the calculation sequence. You can use these counters as the values of rates with a counter value type.


  3. Press CTRL+N to create a new counter.

    Note Note

    The Sequencefield is automatically populated with the number of the sequence that was selected in the Sequence of calculationform. The counter is linked with a defined calculation procedure.


  4. In the Counterfield, enter a unique identifier for the counter.

  5. In the Namefield, enter a description of the code.

  6. In the Pay typefield, select the pay type to be used to include the calculated counter value.

  7. Click the Overviewtab in the lower pane.

  8. Press CTRL+N to create a new line and enter the required details about the calculation.

  9. In the Criteria Tofield, specify the condition for calculating the current counter line. This value depends on the value of the counter that was calculated on the previous line.

  10. Select the Zerocheck box to specify whether the current counter value should be set to zero.

    Note Note

    The value is set to zero if the conditions that are specified for the current counter value in the Criteria Tofield are satisfied.


  11. Select the Stopcheck box to specify whether the calculation of the current counter should be stopped.

    Note Note

    The counter calculation will be stopped if the conditions that are specified for the current counter value in the Criteria Tofield are satisfied.


  12. Select the Skipcheck box to specify whether the calculation of the current counter line should be skipped to the next line according to the serial number.

    Note Note

    The current calculation will be skipped if the conditions that are specified for the current counter value in the Criteria Tofield are satisfied.


  13. In the Line typefield, select the calculation method parameters from the list of line type options. Depending on the selected line type, the options in the list will change in the Fromand Tofields.

    Note Note

    You can run the calculation method parameters based on the entities that correspond with the line types, such as pay types, rates, funds, time codes, and time groups. To do so, you must specify the corresponding interval in the Fromand Tofields. The value that is returned for all entities that are specified for corresponding line types is aggregated, and future mathematical operations will be run using this total.

    For more information on line type options, see (RUS) About counter calculation line types.


  14. In the Periodfield, select the period that the value of the selected parameter is calculated for. You can select the period field as No, Month, Quarter, Half-year, Years, or Accumulated in total.

    Note Note

    These fields are used together with the Indexfield.


  15. In the Indexfield, select or enter the values from the following options, based on the requirement:

    • -1– Indicates previous period.

    • 0– Indicates current period.

    • 1– Indicates next period.

  16. In the Specificationfield, specify the method of totaling values for the selected period from the following options:

    • Period only– The values for the period defined in the Periodand Indexfields are added.

    • From period– The values for the period from the start of the period, as defined in the Periodand Indexfields, to the current calculation period, are added.

    • From employment– The values for the period from the date of hire to the current calculation period are added.

  17. In the Line criteriafield, specify the condition placed on amount of the current line to process the operation. If the condition is not met, the operator will not be processed and the current counter value will remain unchanged.

  18. In the Operatorfield, specify the mathematical operator for the expression as +, -, *, or /.

    Note Note

    If the operator is not specified, the value of the current line will be used as a parameter for the following line.


  19. In the Sequence numberfield, view or modify the sequence number.

    Note Note

    This field is automatically populated with the next number in the sequence. When you enter values in the Fromand Next linefields, this number is used to sort counter lines, for the Calculation lineand Line totalcounter line types.


  20. In the Next linefield, select or modify the number of the line from which the counter calculation will continue.

    Note Note

    The value of the Next linefield defines the sequence of action in the calculation method.


  21. Click the Generaltab.

  22. In the Maximumand Minimumfields, view or modify the maximum and minimum values of the result for the line.

    Note Note

    These values define the interval of available values for the result.


  23. In the Roundingfield, select the rounding method for the line as Up/Down, Down, or Up.

  24. In the Precisionfield, enter the precision value for the rounding.

  25. Click Dependenciesto open the Dependenciesform and view information about the counter or statistics statement that uses a particular counter.

  26. Press CTRL+S to close the Dependenciesform.

  27. Press CTRL+S to close the Counter setupform.

See Also