Functionality Function module to calculate the PRICE field of the CATS system usinginput actual labor pricing values. The input file contains employeenumber, starting period, ending period, attendant code (optional),hourly rate or total salary amount, and currency type. If hourly rate inputed, PRICE will contains this value. Otherwise,total amount is divided into total hours to get the average rate. This module can be called before or after data transferred to theappropriate application area; status flags will be updated accordingly. However, if a transferred record has changed, the new record need to tobe transferred to update new costs and reverse the old one. Tables of updated records, prior records, error messages, and recordcounts are return to the calling program. Notes The input hourly rate and total amount should be a two decimal displaynumeric field. Further information Comments within the function module. |