CreateAndLoadEEHistoryCache

Batch Employee Master History Cache

Minor Business Rule

Object Name: B0800410

Parent DLL: CHRM

Location: Client/Server

Language: C

Business Function Specification
1.Functional Description


1.1Purpose

This business function should be used when updates to the employee master are performed in batches (i.e. payroll final update).  The main focus is to 

improve performance by caching information from tables that are accessed several times for each employee, such as constants.  Also the handle to the 

history table is cached so that buffered inserts can be performed for all history data across the batch.


1.2Setup Notes and Prerequisites

There are three sub functions for this business function.  One is used to start and load the cache, one is for fetching the cache record and the last is for 

destroying the cache after it is not needed any more.  The cache name must be unique.  The onus is on the calling application, UBE or function to 

assure that the cache name sent in will be unique across users and batches.


1.3Special Logic

None


2.Technical Specifications


2.1Parameters: D0800410A

Data Item Data Structure DescriptionI/ORequiredNotes                                                                   

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.


Parameters: D0800410B

Data Item Data Structure DescriptionI/ORequiredNotes

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.

GENLNGhRequestF08042ONoStores the Handle for the F08042 this table is opened when the cache is created 

and closed when cache is destroyed, all using this handle.

XCODcSGItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcADPNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcLCDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPNBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPCCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPYCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNRDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcHRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBSTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPHRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNBDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPBRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNPDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPWRNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSHFTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUPMJItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUSERItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPIDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJOBNItemHistoryONoF08041 Value of Y/N If tracked or not

MEOWcUCRCommonSettingONoF05004  Value of 1/0 if yes or no

MEOWcCMPSYNCCommonSettingONoF05004  Value of 1/0 if yes or no

EMPHcEmployeeHistoryONoF08040  Value from table

EH02cEmpHistoryPrompt002ONoF08040  Value from table

EH03cEmpHistoryPrompt003ONoF08040  Value from table


2.2Related Tables 

Table Table Description

F08040HR History Constants

F08041Select Data Items for History Tracking

F08042HR History

F05004Common Settings for HR Employee Self Service Programms


2.3Related Business Functions

Source NameFunction Name

N0800146GetaSpecificEmployeeSelfSerice


2.4Processing 


CreateAndLoadEEHistoryCache


'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache


'a7Only continue if cache init succeeds
oFetch values from constants tables F08040, F05004, F08041 and open table F08042 to cache handle

'a7Fetch values from F08040
'b7Open F08040 Table
'b7Fetch the record 
'b7Put values in cache data structure

'b7Close F8040  Table


'a7Fetch values from F08041
'b7Open F08041Table
'b7Fetch History on/off for ALL 25 Data Items
'b7Close F08041 Table



'a7Get UCR and CMPSYNC Common Settings Values

'a7Open F08042 table and save handle

'a7Add values to cache


DestroyBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
oInit data structures
oInit control structure
oInitialize the Cache

'a7if init succeeded perform fetch
'b7Fetch record to get table handle
'b7Close table
oDestroy Cache

FetchBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache

oif init succeeded perform fetch
'a7Open Cursor
'a7Fetch record into lpDS
'a7Close Cursor



Data Structure

D0800410A - Batch Employee Master History Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheNameUSRcharREQINPUT

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.

cErrorFlagEV01charOPTOUTPUT

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

Related Functions

N0800146 Get a Specific Employee Self Service Common Setting

Related Tables

F05004 Common Settings for HR Employee Self Service Programs
F08040 HR History Constants
F08041 Select Data Items for History Tracking
F08042 HR History
DestroyBatchEEHistoryCache

DestroyBatchEEHistoryCache

Batch Employee Master History Cache

Minor Business Rule

Object Name: B0800410

Parent DLL: CHRM

Location: Client/Server

Language: C

Business Function Specification
1.Functional Description


1.1Purpose

This business function should be used when updates to the employee master are performed in batches (i.e. payroll final update).  The main focus is to 

improve performance by caching information from tables that are accessed several times for each employee, such as constants.  Also the handle to the 

history table is cached so that buffered inserts can be performed for all history data across the batch.


1.2Setup Notes and Prerequisites

There are three sub functions for this business function.  One is used to start and load the cache, one is for fetching the cache record and the last is for 

destroying the cache after it is not needed any more.  The cache name must be unique.  The onus is on the calling application, UBE or function to 

assure that the cache name sent in will be unique across users and batches.


1.3Special Logic

None


2.Technical Specifications


2.1Parameters: D0800410A

Data Item Data Structure DescriptionI/ORequiredNotes                                                                   

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.


Parameters: D0800410B

Data Item Data Structure DescriptionI/ORequiredNotes

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.

GENLNGhRequestF08042ONoStores the Handle for the F08042 this table is opened when the cache is created 

and closed when cache is destroyed, all using this handle.

XCODcSGItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcADPNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcLCDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPNBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPCCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPYCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNRDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcHRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBSTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPHRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNBDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPBRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNPDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPWRNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSHFTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUPMJItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUSERItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPIDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJOBNItemHistoryONoF08041 Value of Y/N If tracked or not

MEOWcUCRCommonSettingONoF05004  Value of 1/0 if yes or no

MEOWcCMPSYNCCommonSettingONoF05004  Value of 1/0 if yes or no

EMPHcEmployeeHistoryONoF08040  Value from table

EH02cEmpHistoryPrompt002ONoF08040  Value from table

EH03cEmpHistoryPrompt003ONoF08040  Value from table


2.2Related Tables 

Table Table Description

F08040HR History Constants

F08041Select Data Items for History Tracking

F08042HR History

F05004Common Settings for HR Employee Self Service Programms


2.3Related Business Functions

Source NameFunction Name

N0800146GetaSpecificEmployeeSelfSerice


2.4Processing 


CreateAndLoadEEHistoryCache


'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache


'a7Only continue if cache init succeeds
oFetch values from constants tables F08040, F05004, F08041 and open table F08042 to cache handle

'a7Fetch values from F08040
'b7Open F08040 Table
'b7Fetch the record 
'b7Put values in cache data structure

'b7Close F8040  Table


'a7Fetch values from F08041
'b7Open F08041Table
'b7Fetch History on/off for ALL 25 Data Items
'b7Close F08041 Table



'a7Get UCR and CMPSYNC Common Settings Values

'a7Open F08042 table and save handle

'a7Add values to cache


DestroyBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
oInit data structures
oInit control structure
oInitialize the Cache

'a7if init succeeded perform fetch
'b7Fetch record to get table handle
'b7Close table
oDestroy Cache

FetchBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache

oif init succeeded perform fetch
'a7Open Cursor
'a7Fetch record into lpDS
'a7Close Cursor




Data Structure

D0800410A - Batch Employee Master History Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheNameUSRcharREQINPUT

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.

cErrorFlagEV01charOPTOUTPUT

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

Related Functions

N0800146 Get a Specific Employee Self Service Common Setting

Related Tables

F05004 Common Settings for HR Employee Self Service Programs
F08040 HR History Constants
F08041 Select Data Items for History Tracking
F08042 HR History
FetchBatchEEHistoryCache

FetchBatchEEHistoryCache

Batch Employee Master History Cache

Minor Business Rule

Object Name: B0800410

Parent DLL: CHRM

Location: Client/Server

Language: C

Business Function Specification
1.Functional Description


1.1Purpose

This business function should be used when updates to the employee master are performed in batches (i.e. payroll final update).  The main focus is to 

improve performance by caching information from tables that are accessed several times for each employee, such as constants.  Also the handle to the 

history table is cached so that buffered inserts can be performed for all history data across the batch.


1.2Setup Notes and Prerequisites

There are three sub functions for this business function.  One is used to start and load the cache, one is for fetching the cache record and the last is for 

destroying the cache after it is not needed any more.  The cache name must be unique.  The onus is on the calling application, UBE or function to 

assure that the cache name sent in will be unique across users and batches.


1.3Special Logic

None


2.Technical Specifications


2.1Parameters: D0800410A

Data Item Data Structure DescriptionI/ORequiredNotes                                                                   

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.


Parameters: D0800410B

Data Item Data Structure DescriptionI/ORequiredNotes

USRszCacheNameIYesThis is the name of the cache needed for all caching functions.

EV01cErrorFlagONoA 1 will be returned if any errors are encountered during processing.

GENLNGhRequestF08042ONoStores the Handle for the F08042 this table is opened when the cache is created 

and closed when cache is destroyed, all using this handle.

XCODcSGItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcADPNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcLCDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPNBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPCCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPYCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBCBItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNRDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSALItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcHRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBCDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJBSTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPHRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNBDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcBRTNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPBRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcNPDTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPWRNItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPPRTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcSHFTItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUPMJItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcUSERItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcPIDItemHistoryONoF08041 Value of Y/N If tracked or not

XCODcJOBNItemHistoryONoF08041 Value of Y/N If tracked or not

MEOWcUCRCommonSettingONoF05004  Value of 1/0 if yes or no

MEOWcCMPSYNCCommonSettingONoF05004  Value of 1/0 if yes or no

EMPHcEmployeeHistoryONoF08040  Value from table

EH02cEmpHistoryPrompt002ONoF08040  Value from table

EH03cEmpHistoryPrompt003ONoF08040  Value from table


2.2Related Tables 

Table Table Description

F08040HR History Constants

F08041Select Data Items for History Tracking

F08042HR History

F05004Common Settings for HR Employee Self Service Programms


2.3Related Business Functions

Source NameFunction Name

N0800146GetaSpecificEmployeeSelfSerice


2.4Processing 


CreateAndLoadEEHistoryCache


'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache


'a7Only continue if cache init succeeds
oFetch values from constants tables F08040, F05004, F08041 and open table F08042 to cache handle

'a7Fetch values from F08040
'b7Open F08040 Table
'b7Fetch the record 
'b7Put values in cache data structure

'b7Close F8040  Table


'a7Fetch values from F08041
'b7Open F08041Table
'b7Fetch History on/off for ALL 25 Data Items
'b7Close F08041 Table



'a7Get UCR and CMPSYNC Common Settings Values

'a7Open F08042 table and save handle

'a7Add values to cache


DestroyBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
oInit data structures
oInit control structure
oInitialize the Cache

'a7if init succeeded perform fetch
'b7Fetch record to get table handle
'b7Close table
oDestroy Cache

FetchBatchEEHistoryCache

'a7Call to the Initialize Behavior Routine
'a7Initialize data structures
'a7Init control structure

'a7Initialize the Cache

oif init succeeded perform fetch
'a7Open Cursor
'a7Fetch record into lpDS
'a7Close Cursor




Data Structure

D0800410B - Batch Employee Master History Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheNameUSRcharREQINPUT

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.

cErrorFlagEV01charOPTOUTPUT

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

hRequestF08042GENLNGIDOPTOUTPUT

General purpose ID variable.

cSGItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cADPNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cLCDTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPPNBItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPCCDItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPYCBItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cBCBItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cNRDTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cSALNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cSALItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cHRTNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cJBCDItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cJBSTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPHRTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cNBDTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cBRTNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPBRTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cNPDTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPWRNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPPRTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cSHFTItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cUPMJItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cUSERItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cPIDItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cJOBNItemHistoryXCODcharOPTOUTPUT

The code in this field indicates whether the adjoining piece of information should be tracked for Human Resources history purposes. Valid 
codes are:    Y Yes, track this piece of information.    N or blank   No, do not track this piece of information. The program automatically puts a Y 
in this field for Address Number (data item AN8) because the address number must be tracked with history. Note: If the code is changed 
from N to Y, history tracking begins at that point in time. Previous information cannot be retrieved.

cUCRCommonSettingMEOWcharOPTOUTPUT

A code to indicate a particular module has been installed in your system.

cCMPSYNCCommonSettingMEOWcharOPTOUTPUT

A code to indicate a particular module has been installed in your system.

cEmployeeHistoryEMPHcharOPTOUTPUT

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.

cEmpHistoryPrompt002EH02charOPTOUTPUT

A code that determines whether the system creates employee turnover records when you change employee information. Turnover 
information consists of any records in the Employee Turnover Analysis table (F08045) with a change reason that is not blank. For World: Before the 
system can create turnover records, you must start the Human Resources subsystem and monitor.

cEmpHistoryPrompt003EH03charOPTOUTPUT

A code that indicates whether you want the system to create records in the Position Activity table (F08111) when you enter or change 
position-related information for an employee. If you choose to use this feature, you must also choose to track employee history.

Related Functions

N0800146 Get a Specific Employee Self Service Common Setting

Related Tables

F05004 Common Settings for HR Employee Self Service Programs
F08040 HR History Constants
F08041 Select Data Items for History Tracking
F08042 HR History
ition: absolute; left: 0.663194in">F05004  Value of 1/0 if yes or no

EMPHcEmployeeHistoryONoF08040  Value from table

EH02cEmpHistoryPrompt002ONoF08040  Value from table

EH03cEmpHistoryPrompt003ONoF08040  Value from table


2.2Related Tables 

Table Table Description

F08040