Generate Automated email notifications when Work Permits are expiring <= 45 days {PAOPR1-9}


This menu option is used to kick off route 'WRKP' where email notifications will be sent as set up on {GROU-1}, when a Work Permit{PBOP-23} is expiring in <= 45 days’ time (validated to sysdate when the process is run). 


This allows the HR Department to keep track of expiring Work Permits, prior to them expiring.

This menu options allows you to run the report in Trial or in Update Mode.

Running the menu option in Trial Mode will enable the user to see which Work Permits are expiring in <= 45 days’ time without an email being generated.

If the report is run in Update Mode, routing type ‘WRKP’ {GROU-1} is kicked off, a routing request number is created {GROU-2} and an email notification is generated.
The routing setup can be defined to send an email to HR and/or the personnel member within X number of days, prior to the Work Permit expiring.

The following details are written to Routing Type ‘WRKP’, Sequence 0 and can be used when defining the email contents:

Line Number Field Name
1 Routing Request Number
2 Personnel Number
3 Personnel Title, Initials, Surname
4 Post Code & Post Code Description
5 Job Title
6 Primary Department Description
7 Personnel primary email address
8 Personnel primary cell number
9 Personnel primary work number
10 Personnel ID Number
11 Personnel Passport Number
12 Passport Expiry date
13 Passport Country of  Issue
14 Work Permit Number
15 Work Permit Start Date
16 Work Permit End Date
17 Senior Personnel Number
18 Senior Title, Initials, Surname
19 Senior primary email address
20 EE Number of person running the process
from {PAOPR1-9} ,if run through a scheduled job {BATCH-8}, this line will be null

It is recommended that this process is defined in {BATCH-8} to run as a scheduled task, to automate the process.

Batch prompts:

Field Type
&
Length
Description
Run in Update or Trial mode (T/U) A1 Indicate whether the report should be run in (T)rial or (U)pdate.

Example:


Report

Example of Email generated, using the default routing setup:

 


History of Changes

Date System Version By Whom Job Description
04-Feb-2022
v04.1.0.0
Sanele Chiliza
t252930
Original