Deriving the Assignment ID for elements created at Payroll Relationship Level is not working
Summary:
Deriving the Assignment ID for elements created at Payroll Relationship Level is not working
Content (required):
While processing the deduction element (created at payroll relationship level) , we need to derive the assignment information for which the element is getting processed (in case of multiple assignments).
But when we are using the below code its only bringing the primary assignment id.
Can you please tell us how to fetch the processed assignment id.
i = 1
while (RUN_INCLUDED_PAYROLL_ASGS.EXISTS(i)) LOOP
(
CHANGE_CONTEXTS(PAYROLL_ASSIGNMENT_ID = RUN_INCLUDED_PAYROLL_ASGS[i])
(
HR_ASGS[i] = ASG_HR_ASG_ID
l_assignment_id = HR_ASGS[i]
0