LIMDESC()

This formula enables the limit of discount in payroll, that is, it calculates the payroll limiting the discount according to the percentage informed in the Employees file.
It is used in the calculation of payroll and rescission, using the following mnemonics:
| • | P_VRBLIMDES - Mnemonic parameter that defines the items to be considered in the calculation of limit of payroll discount. |
Practical application:
To activate calculation, some information is necessary:
| 1. | In the Employee register (SRA table), the field Limit of Payroll Discount (RA_LIMDESC) must include maximum percentage for discount. |
| 2. | In the Mnemonic register, the parameter mnemonic P_VRBLIMDES must include items in order of priority of discount. |
| 3. | The formula calculates net value from salary, subtracting mandatory discounts (Income Tax and INSS). |
| 4. | Next, it ascertains the limit from the field percentage RA_LIMDESC. |
| 5. | Lastly, it discounts each item entered in parameter mnemonic P_VRBLIMDES. |
| 6. | The value not calculated is entered in field Value Not Applied of Entries per period (SRC table). It is generated in the next period by Payroll Closing. |
See Also
Routines involved with formulas to calculate inactive employees' INSS: