Today we are going to see how to delete the absence enrollment of workers in bulk.
Create
Fast Formula of Type “Person Selection”
Include
List of person numbers for which Accrual Enrollment needs to be deleted. Below
is the formula text for sample 2 person numbers
Formula Text:
/*******************************************************************
PERSON_SELECTION
Person
Selection rule used to limit the process
************************************************************************/
/*===========
DATABASE ITEM DEFAULTS BEGIN =====================*/
DEFAULT
for PER_ASG_PERSON_NUMBER IS '-1'
/*===========
DATABASE ITEM DEFAULTS ENDS======================*/
/*================
FORMULA SECTION BEGIN =======================*/
l_output
= 'N'
l_per_number
= PER_ASG_PERSON_NUMBER
if
(
l_per_number
= '1234' OR
l_per_number
= '12345'
)
then
(
l_output = 'Y' )
return
l_output
/*================
FORMULA SECTION END =======================*/
Go
to Absences and Click on Task Pane. Click on option “Schedule and Monitor
Absence Processes”
Click
on “Withdraw Accruals and Balances” (Run Button)
Parameter Details:
Run as test
|
Check it if it is for test purpose. If checked
the accrual enrollments will not be deleted. If unchecked the accrual
enrollments will be deleted.
|
Include trace statements in audit log
|
Check it if logs are needed
|
Processing Option
|
Enrollment Deletion
|
Person Selection Rule
|
Select the Person Selection Fast Formula Which we
created
|
Absence Plan
|
Select the corresponding Absence Plan
|
Select the appropriate parameters and click submit.
Initially do a test run with logs enabled and validate the deletion of enrollment and then do the final run.
Please post your questions and feedback in the comments section.
This comment has been removed by a blog administrator.
ReplyDelete