WriteToHistory

HR History Monitor - Write to History

Minor Business Rule

Object Name: B080301

Parent DLL: CFND

Location: Client/Server

Language: C

Functional Description
The purpose of this function is to write HR History & Turnover information to the files, F08042 & F08045, respectively.


Technical Specifications


Parameters


Data Item Data Structure DescriptionI/ORequiredNotes



Related Tables 


Table Table Description

F08041Select Data For Tracking

F08042HR History File

F08045HR Turnover File


Processing


If input parameter cEETurnFlag = 'Y'

Write Turnover information to File (F08045).

Else

Retrieve info from Select Data For Tracking File (F08041).


If History is being tracked for this Data Item.

Write History Information to File (F08042).
Endif

Endif

Data Structure

D080301 - HR History - Monitor

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataItemDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

mnDataItemSizeDTASMATH_NUMERICNONENONE

The field size of the data item. Note: All amount fields should be entered as 15 bytes, 0 decimals, and the data item type should be P 
(packed).

cDataItemTypeDTATcharNONENONE

Defines the type of data to be stored in the field. The data item types are user defined codes (98/DT). Note: All amount fields should be 
entered as 15  bytes, 0 decimals, and data item type P(packed).

szChangeReasonTRScharNONENONE

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.

jdEffectiveDateEFTOJDEDATENONENONE

A future date when all changes will take effect or the date when the changes went into effect. If you do not enter a date in this field, the system 
uses the current date as the effective date.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

szProgramIdPIDcharNONENONE

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.

szWorkStationIdJOBNcharNONENONE

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

szUserIdUSERcharNONENONE

The code that identifies a user profile.

cEEHistFlagEMPHcharNONENONE

A code that determines whether the system creates employee history records when you enter or change employee information. The 
system can create employee history records for only that information that is stored in the Employee Master table (F060116). To specify the 
information for which you want to track history, use the program, Select Data Items for History Tracking (P08041). Employee history records are 
stored in the HR History table (F08042). For World:  Before the system can create history records, you must start the Human Resources subsystem 
and monitor.

cEETurnFlagEH01charNONENONE

A code that indicates the date on which the system creates employee history and turnover records, in relation to the date of the change. 
This field controls the dates that appear on history and turnover reports and review forms. It does not function as a suspense operation that 
allows you to enter a change now, and update the history and turnover tables at a later time. When this field is activated, the system tracks both 
the effective date of a change and the date that the change was entered into the system. Valid values for World are:    Y  Yes, use the effective 
date of the change (data item EFTO) to track employee history and turnover    N  No, instead of using the effective date of change, use the 
date on which you entered changes into the system  Valid values for OneWorld are:    On  Use the effective date of the change (data item EFTO) 
to track employee history and turnover    Off  Instead of using the effective date of change, use the date on which you entered changes into the 
system If you choose  to use the effective date of the change, the system prompts you to enter an effective date each time you change any 
employee information for which you are tracking history or turnover. If you choose to use the effective date of the change, you must also 
choose to track employee history, employee turnover, or both.

szHMCOBefHMCOcharNONENONE

The company number where the employee records generally reside.

szHMCOAftHMCOcharNONENONE

The company number where the employee records generally reside.

szHMCUBefHMCUcharNONENONE

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

szHMCUAftHMCUcharNONENONE

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

szJBCDBefJBCDcharNONENONE

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJBCDAftJBCDcharNONENONE

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJBSTBefJBSTcharNONENONE

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

szJBSTAftJBSTcharNONENONE

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

szMAILBefMAILcharNONENONE

A user defined code (07/CR) that specifies the check routing or mail-stop code. Use this code to sequence the printing of payroll checks to 
facilitate their handling and delivery.

szMAILAftMAILcharNONENONE

A user defined code (07/CR) that specifies the check routing or mail-stop code. Use this code to sequence the printing of payroll checks to 
facilitate their handling and delivery.

szTRSAftTRScharNONENONE

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.

szTRSBefTRScharNONENONE

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.

cActionACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

szHistoryDataD240charNONENONE

A free-form 240 character description field. You can use this field to explain either the need for the requisition, or why the requisition was 
refused.

jdHistoryDataDATE01JDEDATENONENONE

Event point for JDE Date.

mnHistoryDataMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

szPayrollLockoutIDCacheUSRcharOPTNONE

This code is a combination of the IBM user ID and the batch number assigned to a prepayroll selection. It is used to prohibit one employee 
from being processed in more than one concurrent payroll cycle. It also locks out everyone but the user who is running the payroll (or 
prepayroll) from updating the employee's master file or time records until either the the cycle is complete or a reset of the payroll lockout is 
executed.

Related Functions

B9800420 Get Data Dictionary Definition
F08045 Employee Turnover Analysis

Related Tables

F08041 Select Data Items for History Tracking
F08042 HR History
F08045 Employee Turnover Analysis