Functional Description
Operate as a central business function for employee history and turnover modification. This function
will "call" other history business functions based on a parameter called cFunctionMode_VC01A. A
allowable values for cFunctionMode_VC01A are 1, 2, and 3 being equivalant to the events before update,
after update, and after insert, respectively.
Purpose
Provide a central location for calling the Employee Master (F060116) business functions.
Setup Notes and Prerequisites
Both parameters are required.
Technical Specification
Parameters
Data Item Data Structure DescriptionI/ORequiredNotes
AN8mnAddressNumber_AN8IY
VC01AcFunctionMode_VC01AIY1 = before update, 2 = after update, 3 = after insert
Processing
Read the Employee Master (F060116) record for mnAddressNumber_AN8. Store all current information in
local variables.
Read the F08040 table to determine if position control is used.
Call HR History - Disable/Enable History Triggers (B0800021) to determine the current status of
history/turnover modification.
If cFunctionMode_VC01A is 1 (before update) then
If trigger status is on then
Call Write Record to JDECache - Segement 1 (B0800016)
Call Write Record to JDECache - Segement 2 (B0800019)
Endif
If position control is tracked then
Call Write Position Control Parameters to Cache (B0800032)
Endif
Else
If cFunctionMode_VC01A is 2 (after update) then
If trigger status is on then
Call HR History - Process EE Master Changes - Segement 1 (B0800017)
Call HR History - Process EE Master Changes - Segement 2 (B0800020)
Endif
If position control is tracked then
Call Launch Position Control Monitor (B0800033)
Endif
Else
If cFunctionMode_VC01A is 3 (after insert)then
If trigger status is on then
Call HR History - Process EE Master Changes - Segement 1
(B0800017)
Call HR History - Process EE Master Changes - Segement 2
(B0800020)
Endif
If position control is tracked then
Call Write Position Control Parameters to Cache (B0800032)
Call Launch Position Control Monitor (B0800033)
Endif
Endif
Endif
Endif
If trigger status is on then
Call HR History - Disable/Enable History Triggers (B0800031) to clear cache
Endif
D0500060 - F060116 History Driver
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber_AN8 | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
cFunctionMode_VC01A | VC01A | char | REQ | INPUT |
This is a generic field used for video constants display. | ||||
jdDateEffectiveOn | EFTO | JDEDATE | OPT | INPUT |
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
| ||||
szPayrollLockoutID_USR | USR | char | OPT | BOTH |
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
|
None |
None |