Professional Documents
Culture Documents
Voluntary Deduction Third Party Payment Setup
Voluntary Deduction Third Party Payment Setup
Do the same on the Results element but also Change the Priority of the Results
element to 8510
Update The VOL_DEDN_CALCULATOR formula to add the following (in blue)
/**********************************************************************
FORMULA NAME: GMBATU_668_TPP_VOL_DEDN_CALCULATOR
FORMULA TYPE: Payroll
***********************************************************************/
ALIAS NET_REL_RUN AS Net_Earnings
ALIAS NET_REL_NOCB_RUN AS Net_Earnings_NOCB
ALIAS GROSS_EARNINGS_REL_RUN AS Gross_Earnings
ALIAS GROSS_EARNINGS_REL_NOCB_RUN AS Gross_Earnings_NOCB
ALIAS GMBATU_668_TPP_ELIGIBLE_COMP_REL_NOCB_RUN AS Eligible_Compensation_NOCB
DEFAULT FOR Net_Earnings IS 0
DEFAULT FOR Net_Earnings_NOCB IS 0
DEFAULT FOR Gross_Earnings IS 0
DEFAULT FOR Gross_Earnings_NOCB IS 0
Formula_Name = '[GMBATU_668_TPP_VOL_DEDN_CALCULATOR]'
ee_context_id = GET_CONTEXT(ELEMENT_ENTRY_ID,0)
CALL_FORMULA(
'GLB_DEDN_DUMMY_GUARANTEED_NET',
Guaranteed_net < 'Guaranteed_net' DEFAULT 0
)
CALL_FORMULA(
'GLB_DEDN_VDED_CALC',
Gross_Earnings > 'Gross_Earnings',
Gross_Earnings_NOCB > 'Gross_Earnings_NOCB',
Net_Earnings > 'Net_Earnings',
Net_Earnings_nocb > 'Net_Earnings_NOCB',
Eligible_Compensation > 'Eligible_Compensation',
Eligible_Compensation_NOCB > 'Eligible_Compensation_NOCB',
Arrears_Balance > 'Arrears_Balance',
Amount_Accrued > 'Amount_Accrued',
EE_ID > 'EE_ID',
Guaranteed_net > 'Guaranteed_Net',
Dedn_Amt < 'Dedn_Amt' DEFAULT 0,
To_Total_Owed < 'To_Total_Owed' DEFAULT 0,
To_Arrears < 'To_Arrears' DEFAULT 0,
Not_Taken < 'Not_Taken' DEFAULT 0,
Mesg < 'Mesg' DEFAULT 'ZZZ',
Error_Mesg < 'Error_Mesg' DEFAULT 'ZZZ',
Stop_Entry < 'Stop_Entry' DEFAULT 'N'
)
/* ------------------------------------------------------------------------
** We need to check if Stop_Entry is populated, as regardless of what value
** it holds, processing will stop if its returned
** ------------------------------------------------------------------------
*/
Payee = GMBATU_668_TPP_PAYEE_ASG_ENTRY_VALUE
Add the Formula Result on the Calculator Element going to the result Element
Create the link, defaulting in the Payee on the Input Values tab – we might need to
look and see how to do this using HDL