Overview
Inserts a new set of payroll parameters intotab_pmtros with company settings and legal values.
Signature
Parameters
Company name
Payment period: ‘Q’ (biweekly) or ‘M’ (monthly)
Minimum wage value (SMLV)
Transportation allowance value
Number of transportation allowances
Payroll year
Payroll month
Interest percentage for severance
Number of days in the month
Returns
VOID (no return value)Example Usage
Validation Rules
- Company name cannot be NULL
- Payment period must be ‘Q’ or ‘M’
- All numeric values must be positive
- Year must be valid
- Month must be between 1-12
Source
source/func/pmtros/fun_insert_pmtros.sql