This preference is set by site (IMST)
The custom wage rate logic identified in this scenario must be defined in as a function in the database which takes no parameters and returns a boolean TRUE;
This data base function has access to all the P2K_PPGENR8 package variables including complete table structures like Pay headers (K_PPH), Pay lines (K_PPL) and Pay line details (K_PPLD). The output of the custom wage rate function is populated into package variables that are then used in the subsequent payroll calculation:
Care should be taken to ensure that there are no places where the function can abort due to data problems. This is usually done with a construct at the end like
EXCEPTION WHEN OTHERS THEN p2k_ppgenr8.k_wage_message := p2k_pmgen.error_stack; p2k_ppgenr8.k_wage_output := 0; RETURN TRUE; END;
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation