Functional Description
The purpose of  this business function is to calculate the total current salary, the total new salary and the total percent salary change for a specified 
supervisor's reports.
Technical Specifications
Parameters
Data ItemRequiredI/ODescription
MNAMEYIModel Name
RWTYPYIReview Type
ANPAYISupervisor Number
RVIEWYIReports View: 1=Direct reports, 2=Direct and Indirect Reports
TCSRVNOTotal Current Salaries
TNSRVNOTotal New Salaries
TPSRVNOTotal Percent Salary Change
MOWNRYIModel Owner
Related Tables 
Table Table Description
F05840Employee/Supervisor Relationship Level
F08830WFCompensation Root Work Table
Processing
 If reports view = '1' //direct reports//
  Select V08830WFJB, by model name, review type, supervisor number, relationship level = 1, and model 
owner
 Else  //Else all reports//
 Select V08830WFJB, by model name, review type, supervisor number, and model owner
 End  //end of if report view = '1'//
 FetchNext V08830WFJB
 While fetchnext operation is successful
 Accumulate the total current salaries
 Accumulate the total new salaries
 FetchNext  V08830WFJB
 EndWhile
Total Salary Change= Total New Salaries - Total Current Salaries
D0800184 - Get Compensation Summary Totals
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szModelName | 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.  | ||||
| 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.  | ||||
| mnTotalCurrentSalaries | TCSRV | MATH_NUMERIC | OPT | OUTPUT | 
This field refers to the total current salaries for the report view requested.  | ||||
| mnTotalNewSalaries | TNSRV | MATH_NUMERIC | OPT | OUTPUT | 
Total New Salaries for the report view requested.  | ||||
| mnTotalPercentSalChange | TPSRV | MATH_NUMERIC | OPT | OUTPUT | 
This field indicates the total percent of the salary change for the report view requested.  | ||||
| mnModelOwner | MOWNR | MATH_NUMERIC | OPT | INPUT | 
The address book number of the person creating the model.  | ||||
| mnTotalSalaryChange | TCSRV | MATH_NUMERIC | OPT | OUTPUT | 
This field refers to the total current salaries for the report view requested.  | ||||
| None | 
| None |