This page (revision-24) was last changed on 26-Nov-2021 10:22 by kparrott

This page was created on 26-Nov-2021 10:22 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
24 26-Nov-2021 10:22 7 KB kparrott to previous
23 26-Nov-2021 10:22 7 KB kparrott to previous | to last
22 26-Nov-2021 10:22 7 KB kparrott to previous | to last
21 26-Nov-2021 10:22 7 KB Judy Lawler to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 2 added 48 lines
!!!CERTIFY LEAVE RECORDS
The Certify Leave Records form is used by an employer to review leaves requiring certification. A leave record will still be picked up in the payroll process if is not certified.
The following Work Flow trigger is used to generate the certification record:
WF_AAL on the [P2K_AT_LEAVE_LINES] table.
\\
The following is an example work flow that may be used to create the leave line for certification and to notify an employee there are leaves waiting to be certified.
!!Notification of a Leave Needing Certification
When an employee enters a qualifying leave time code, an email should be sent to the notifying the appropriate Administrator there are outstanding leaves needing certification.
;[Step 1 - Define Work flow Action in IMWA|]
The first step is to define the work flow action in [IMWA] that will be triggered when an employee enters a qualifying leave.
;[Action |EVENT_CODE]:Suggest prefixing all Attendance work flow actions with AT. In this example, the work flow is named AT LV CERT.
;[Status|EVENT_STATUS]:The status must be set to “In Production” in order for [IMUC] to recognize the action.
;[Triggered in Product |WORKFLOW PRODUCTS]:This field should be set to WF_AAL since the email will fire when a new qualifying leave record is inserted in the [P2K_AT_LEAVE_LINES] table.
;[Action Directed To |EVENT_RECIPIENT_TYPE]:This is going to a specific person and we will define the [person code|PERSON_CODE|] for our specified person in [IMUC].
;[Type |EVENT_MEDIA]:The type will be email.
;[Email|MEDIA_NAME]:If Email was specified for Type, the From email address must be specified.
\\
;[Step 2 – Define User Calc in IMUC|]
The second step requires a user calc to be created to send the email to the Administrator.
;[User Calc|USER_CALC_CODE]:It is suggested to prefix the user calc code with WF_AT to easily identify the workflow user calcs for Attendance.
;[Description|DESCRIPTION]:Should state what the user calc is meant for.
;[Product|PRODUCT_CODE]: This field should be set to WF_AAL since the work flow action will fire when a new qualifying leave record is inserted in the [P2K_AT_LEAVE_LINES] table.
;[Status|USER_CALC_STATUS]: This will default to 'Under Construction' and will updated to 'To Be Published' after using the Pre Publish Icon. In order for the action to be processed, the user calc must have a status of “In Production”. User calcs are published in [IMUCA].
;[User Calc Type |USER_CALC_TYPE]:All workflow user calcs must have the type set to ‘Calculation’.
__Lines__
||Line||CMD||Type 1||Operand 1||OPER||Type 2||Operand 2||Type 3||Operand 3||If GOTO||Else GOTO||Description
|10|IF|CF|INSERTING|EQ|B|TRUE| | |15 |99999 |
|15|IF|NV|AAL.DTC_ID|EQ|N|101| | |20|99999|
|20|LET|NV|AAL.LEAVE_CERTIFIED|EQ|A|03| | |99999
|20|ACT|AC|AT LV CERT|LOG|$S|CURRENT-DATE|RT|10001|99999| |<<EID.FIRST_NAME>> <<EID.LAST_NAME>> has entered a leave line requiring certification.
|99999|EXIT|AC| | | | | | | | |
Line 10: This line checks to see if an insert into the table has been done.
Line 15: This line checks to see if the time code entered has the [DTC_ID] of 101. If so, certification is required.
Line 20: This line sets the value of the leave line certification field to '03'.
Line 25: This line calls the work flow action (AT LV CERT) which was defined in the first step and will send the email notice to employee 10001.
Line 99999: This line will indicate the end of the usercalc.