SALARIOG() and GRVSALGP()

These formulas calculate and record the salary from the server.

They are used in the calculation of payment role using the following calculation identifiers (each of them in their respective item):

654 - Category 1 - POSITION IN COMMISSION
643 - Category 2 - POLITICAL AGENT
620 - Category 3 - TUTOR COUNCIL
641 - Category 4 - MAYOR
642 - Category 5 - VICE- MAYOR

Practical application:

For the mentioned categories, this formula restarts the employee's month salary, day salary and hour salary and then, it calculates the salary item according to the worked days.

For employees registered with System 2 = Statutory and Payment Type M = Monthly, this formula erases the item already calculated of salary to record a new obtained item, according to the restart of variables, and performs a new calculation according to worked days.

See Also

Routines involved with formulas to calculate inactive employees' INSS:

Employee Register
Payroll Item Register
Payroll Calculation