GetNextApprover

Get Next Approver

Minor Business Rule

Object Name: N0800159

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0800159 - Get Next Approver

Parameter NameData ItemData TypeReq/OptI/O/Both
mnInstanceIdSTCIMATH_NUMERICOPTINPUT

The code that creates unique status change records. You use this code in conjunction with the Status Change Type field (STCTY).

szStatusChangeTypeSTCTYcharOPTINPUT

A code that specifies the type of status change. The status change type is validated against UDC 08/S4. An example of a status change 
type is PROMO for Promotion. To define a new type of status change, you must first add the change type to the UDC table.

mnAddressNumberAN8MATH_NUMERICOPTINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cInsertF05842RecordEV01charOPTINPUT

An option that specifies the type of processing for an event.

szCompanyHomeHMCOcharOPTBOTH

The company number where the employee records generally reside.

szCostCenterHomeHMCUcharOPTBOTH

The number of the business unit in which the employee generally resides.

szApprovalType9APPTYcharOPTBOTH

A user defined code (05/AP) that specifies the type of change that requires an approval. For example, the approval type code required to 
approve a compensation change is COMP.

nLevelInRelationToEmployeeLVELintegerOPTBOTH

The number of organizational levels between an employee and a higher level supervisor. An employee's direct supervisor would be a 
level 1 relationship.

mnSupervisorANPAMATH_NUMERICOPTBOTH

The address book number of the supervisor.

nLevelFromLVELFintegerOPTBOTH

The minimum numeric level above an employee that a manager must be for the manager to be included in the approval hierarchy. Any 
manager with a numeric level between the value in LVELF and LVELT will be included in the approval hierarchy. Note: LVELF is not used in 
Basic Compensation Approval Type COMP.

nLevelToLVELTintegerOPTBOTH

The maximum numeric level above an employee that a manager can be for the manager to be included in the approval hierarchy. Any 
manager with a numeric level between the value in LVELF and LVELT will be included in the approval hierarchy. Note: LVELT is not used in 
Basic Compensation Approval Type COMP.

mnHighestAuthorityANHAMATH_NUMERICOPTBOTH

The final authority in the approval process. This could be an individual or a department.

Related Functions

None

Related Tables

None
InsertF05842Record

InsertF05842Record

Get Next Approver

Minor Business Rule

Object Name: N0800159

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0800159A - Insert F05842 Record

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnSupervisorANPAMATH_NUMERICREQINPUT

The address book number of the supervisor.

nLevelInRelationToEmployeeLVELintegerREQINPUT

The number of organizational levels between an employee and a higher level supervisor. An employee's direct supervisor would be a 
level 1 relationship.

szApprovalType9APPTYcharOPTINPUT

A user defined code (05/AP) that specifies the type of change that requires an approval. For example, the approval type code required to 
approve a compensation change is COMP.

mnRespondingSupervisorANABMATH_NUMERICOPTINPUT

The supervisor responding to a request.

cApprovalStatusAPPSTcharOPTINPUT

A code that indicates whether an employee status change has been approved. Valid values are:    Blank Pending    1       Approved    2       
Rejected

szUserIdUSERcharOPTINPUT

The code that identifies a user profile.

szProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnInstanceIdSTCIMATH_NUMERICREQINPUT

The code that creates unique status change records. You use this code in conjunction with the Status Change Type field (STCTY).

szStatusChangeTypeSTCTYcharREQINPUT

A code that specifies the type of status change. The status change type is validated against UDC 08/S4. An example of a status change 
type is PROMO for Promotion. To define a new type of status change, you must first add the change type to the UDC table.

mnKeyValueSerialNumberSERKMATH_NUMERICOPTINPUT

A key identification number used internally to identify a composite key structure.  The actual key items must be stored in another file and 
given this serial number.  This is to avoid repeating a very large key structure with repeating data items.

cReturnCodeEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None