Functional Description
Purpose
The NER determines whether an individual has employees reporting to him/her. If requested, and
depending on the report view, it determines the number of direct reports or all reports underneath the
individual.
Setup Notes and Prerequisites
The required inputs are the address number of the individual, the compensation review type, model
name, the model owner, and the report view.
Report view of '1' means direct reports. Report view of '2' means all reports (direct and indirect
reports.
To request the number of reports, pass a '1' in the input field, cDetermineNumberOfReports.
The outputs are a flag of '1' is passed in the output field, cReportsFoundFlag, and if the number of
reports is requested, the number of reports is passed in the output field, mnNumberOfReports.
Special Logic
The business view, V08830WFJA, is a joined business view, joining F08830WF, and F05840, by AN8. The
supervisor and relationship level in F05840, are used for selecting reports under the individual. If
direct reports is requested, the relationship level being considered is only 1.
Employee records in F08830WF with model type 'T' are not considered, as these employees are to be
removed from compensation review, after being terminated.
Technical specification
If the report view is '1' //Direct reports//
Select V08830WFJC, where supervisor (F05840) = the address number passed in, model name = model name
passed in, review type = review type passed in, model name = model name passed in, model type <> 'T',
the relationship level (F05840) = 1, and supervisor # (F08830WF) <> 0
Else
Select V08830WFJC, where supervisor (F05840) = the address number passed in, model name = model name
passed in, review type = review type passed in, model name = model name passed in, model type <> T
and, supervisor # (F08830WF) <> 0.
End
FetchNext V8830WFJC
If not requesting number of reports,
If file I/O is successful, set the output field, cReportsFoundFlag = '1'. Otherwise, set '0' for the
flag
While file I/O is successful
Fetchnext V08830WFJC
If the number of reports > 0, set '1' for output field, cReportsFoundFlag. Otherwise, set '0' for
the flag
End
D0800173 - Determine Reports for Individual
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnSupervisor | ANPA | MATH_NUMERIC | REQ | INPUT |
The address book number of the supervisor. | ||||
cReportView | RVIEW | char | REQ | INPUT |
Flag to indicate Report View. UDC table (08/RV) is attached to this item. | ||||
cDetermineNumberOfReports | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
cReportsFoundFlag | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
mnNumberofreports | RPTNB | MATH_NUMERIC | OPT | OUTPUT |
This field indicates the number of reports. | ||||
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. | ||||
mnModelOwner | MOWNR | MATH_NUMERIC | REQ | INPUT |
The address book number of the person creating the model. |
None |
None |