HistoryTriggerStatusControl

HR History - Disable/Enable History Triggers

Minor Business Rule

Object Name: B0800021

Parent DLL: CFND

Location: Client/Server

Language: C

Functional Description
The purpose of this function is to disable the database triggers associated with the Employee Master File (F060116).


This function utilizes JDECache to store a value of 'E' or 'D', Enabled or Disable.  When the actual table event occurs, it 

will call this function to determine wheather or not to perform the functions associated with HR History.


Technical Specifications


Parameters


Data Item Data Structure DescriptionI/ORequiredNotes

FLG2cDisableEnableI/OYIf input is blank, it returns current status. 

If input is 'D' or 'E', it changes status this value.  If input is 'C' then cache is 

cleared.


Related Tables 


Table Table Description



Processing


• Check the value of parameter passed in - cDisableEnable
'b7

• If no value in JDECache and cDisableEnable is not 'D' or 'C'

'b7Set value of cDisableEnable to 'E'.
     Endif

• If cDisableEnable is 'D', 'E', or 'C'
'b7Clear out existing JDECache memory.

If cDisableEnable is not 'C'

Set the value in JDECache memory this the value passed in.
Endif

      Endif 


Data Structure

D0800021 - HR History - Disable/Enable History Triggers

Parameter NameData ItemData TypeReq/OptI/O/Both
cDisableEnableFLG2charNONENONE

An option that specifies whether the system displays employee records that add to or reduce employee turnover. Valid settings 
are: + Displays employee records that add to employeee turnover  - Displays employee records that reduce turnover

Related Functions

None

Related Tables

None