Functional Description
Purpose
The NER process Submit or Return request of a particular supervisor's compensation review.
Setup Notes and Prerequisites
The input fields required are the supervisor number, model name, review type, model owner, and the
submit or return flag. Other input fields are the message text, and the highest authority for approval
of compensation review. The message text is used as the text for the message sent to the work center.
To request a processing of a submit, pass '1' as the submit/return flag. To request a processing of
a return, pass '2' as the submit/return flag.
The output field is an error flag, cErrorFlag.
Special Logic
When a submit is processed successfully, the NER does the followings:
Updates all reports of the passed supervisor in F08830WF with the person submitting/approving, the
date submitted/approved, and approval status of '1'.
Update the supervisor's record in F08830WF, the field 'JTTRS' with '1' to indicate that he/she has
submitted his/her work.
Writes a approval record for each report of the supervisor, to F08542. (Approval type used is 'COMP'
Sends a message (using template, LM08801), to the work center, notifying the next supervisor above,
of the submission of the supervisor's compensation review.
If the last level supervisor (i.e the supervisor has no upper level supervisor) submitted his/her
work, the NER sends the message to the highest level authority for the last approval.
When a return is processed successfully, the NER does the followings:
Updates all reports of the passed supervisor in F08830WF with the person returning/rejecting, the
date returned/rejected, and approval status of '2'.
Updates the supervisor's record in F08830WF, the field 'JTTRS' with '2' to indicate that the
individual has his/her work returned.
Writes a rejected record for each report of the supervisor, to F08542. (Approval Type used is
'COMP')
Sends a message (using template, LM08802), to work center, notifying the supervisor that his/her
work has been returned.
The business view used in the NER is V08830WFJC, which joins F08830WF, and F05840. The business view
contains all the reports (direct and indirect) of a particular supervisor. Compensation review of all
reports are to be submitted or returned at one time. The functionality does not allow submitting or
returning of compensation review of selected reports at different times.
Employee records in F08830WF with Model Type 'T' are to be omitted, as they are terminated employees,
who are to be removed from the compensation review process.
Technical Specification
Get audit information
Get the address number of the user id.
Get the mailing name of the user id.
If submit/return flag <> '1' and '2' //Invalid submit/return flag//
Set cErrorgflag = '1'
Return
End
If submit/Return flag = '2' //Request is return//
Select V08830WF, where the supervisor # (F05840) = supervisor number passed in, the model name =
model name passed in, review type = review type passed in, model owner = model owner passed in, and the
model type <> 'T'
FethNext V08830WF, getting the employee number
While file I/O is successful,
returning/rejecting, and the date returned/rejected.
FetchNext V08830WF, getting the next employee or report.
Update the supervisor's record in F08830WF, with '2' in the field, 'JTTRS', to indicate a return of
his/her work.
Send a work center message to the supervisor whose work was returned.
Else //Else request is not return//
If submit/Return flag = '1' //request is submit//
model name passed in, review type = review type passed in, model owner = model owner passed in, and
the model type <> 'T'
FethNext V08830WF, getting the employee number
While file I/O is successful,
submitting/approving, and the date submitted/approved.
FetchNext V08830WF, getting the next employee or report.
submission of his/her work.
0. //This is possible, if the supervisor submitting, is the last level supervisor, and the last
level supervisor is usually not in the compensation review process as the other employees//
If there is a supervisor above,
review
highest authority passed in.
End
D0800176 - Process Submit/Return of Compensation Review
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnSupervisor | ANPA | MATH_NUMERIC | REQ | INPUT |
The address book number of the supervisor. | ||||
cSubmitReturnFlag | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
szModelName9 | MNAME | char | REQ | INPUT |
The model name. Valid values are:
MASTER is a model name to be used for the Final Submitted Compensation.
PUBLIC model is
| ||||
cReviewType | RWTYP | char | REQ | INPUT |
A code that indicates the last compensation review type. | ||||
cErrorFlag | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
mnHighestAuthority | ANHA | MATH_NUMERIC | OPT | INPUT |
The final authority in the approval process. This could be an individual or a department. | ||||
szMessageText | DL01 | char | OPT | INPUT |
A user defined name or remark. | ||||
mnModelOwner | MOWNR | MATH_NUMERIC | REQ | INPUT |
The address book number of the person creating the model. |
None |
None |