ProcessEmployeeStatusChange

Process Employee Status Change

Minor Business Rule

Object Name: B0800161

Parent DLL: CHRM

Location: Client/Server

Language: C

Data Structure

D0800161 - Process Employee Status Change

Parameter NameData ItemData TypeReq/OptI/O/Both
mnInstanceIdSTCIMATH_NUMERICREQNONE

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

szStatusChangeTypeSTCTYcharREQNONE

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_NUMERICREQNONE

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

szChangeReasonTRScharOPTNONE

A code that indicates the reason for one of the following:   o  Changing an active employee's record   o  Terminating an employee   o  
Recommending a change in salary or rate This is a user defined code (06/T). If you are reactivating an employee, the code must be numeric. The 
code for new hires is the default reason code.

szProgramIdPIDcharOPTNONE

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.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

cGroupLockoutCodeGLCKcharOPTNONE

A field that determines if the employee is locked to a pre-payroll. Valid codes are:    Blank   The employee is included in a pre-payroll but 
has no active time entry records. This occurs when a payroll is run that has a specific pay cycle group code, and the employee falls under the 
group code but has no time entry records for the pay period start and pay period end dates of the payroll.    Y         The employee is included 
in a pre-payroll.

Related Functions

B0800016 HR History - Write Record to JDECache - Segment 1
B0800018 HR History - Write Additional Information to JDECache
N0500032 Synchronize EE/Supervisor in EE Master &&&& Org Structure
N0500059 Get World/OneWorld Payroll Lockout Status
N0500350 Additional Employee Information Add/Chg/Inq
N0800020 Update Employee Job (F060118) Server
N0800160 Get/Update Employee Status Change

Related Tables

F060116 Employee Master Information
F08721 Employee Status Change Details