UpdateGAPCompetencyLevel

Update GAP Competency Level

Minor Business Rule

Object Name: N0500530

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose


The purpose of this function is to determine if the competency level within records in the Gap Analysis table, F0800609, are updateable 
based on the gap status in records in the Appraisal table, F087711.  If the competency level is updateable, then the function determines if any 

records exist in F0800609 to be updated.  The function must be passed the employee's address number, the competency type and the 

competency code.  The function will return a Competency Level Updateable flag and Found Records to Update flag.


The Competency Level Updateable flag indicates if the employee competency level is updateable.  The Found Records to Update flag 

indicates if there are any records in the Gap Analysis table, F0800609 to update.  Therefore if the Competency Level Updateable flag = '1' the 

competency level is updateable and if Competency Level Updateable flag = '0' the competency level is not updateable.  Additionally, if the 

Records Found flag = '1' there are records present in the F0800609 to update and if Records Found flag = '0' there are no records in F0800609 to 

update.


There are basically three scenarios that can take place, which are all based upon the gap status in records in F087711.  A gap status of 

'3' or '4' means the performance appraisal is locked and under review.  Therefore, no records should be updated.  If there are any 

performance appraisals with a status less than'3' then there are records to update.  The first scenario is, if no records have a status of '3' or '4' and 

there is a record with a status less than '3' the Competency Level Updateable flag = '1' and the Records Found flag = '1'.  This means the 

Competency Level is updateable and there are records to update.  The second scenario is, if no records have a status of '3' or '4' and there is 

no record with a status less than '3' the Competency Level Updateable flag = '1' and Records Found flag = '1'.  This means the competency 

level is updateable, but there are no records in F0800609 to update.  The third scenario is, if one or more records have a status of '3' or '4' 

the Competency Level Updateable flag = '0' and therefore the competency level is not updateable so no F0800609 records need to be updated.


Setup Notes and Prerequisites


Special Logic


Technical Specification


The Competency Level Updateable flag indicates if the employee competency level is updateable.  The Found Records to Update flag 

indicates if there are any records in the Gap Analysis table, F0800609 to update.  Therefore if the Competency Level Updateable flag = '1' the 

competency level is updateable and if Competency Level Updateable flag = '0' the competency level is not updateable.  Additionally, if the 

Records Found flag = '1' there are records present in the F0800609 to update and if Records Found flag = '0' there are no records in F0800609 to 

update.




Data Structure

D0500530 - Update GAP Competency Level

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

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

szCompentencyTypeCMPEcharREQINPUT

A code that identifies a competency table or category for which you can track employee competencies. Valid values 
are: 01 Training 02 Skill 03 Accomplishment 04 Certification 05 Degree 06 Language  It is a user defined code (05/CY), but the values are hard-coded and cannot be 
changed. Therefore, each of the competencies that you track must pertain to one of these competency types. Adding additional values to this 
list requires system customizations.

szCompentencyCodeCMPCcharREQINPUT

A code that specifies a competency within a competency type. For example, a competency for the competency type "Skill" might be "C 
programming" or  "Driving a forklift."

cFoundRecordsToUpdateFlagEV01charOPTOUTPUT

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

cCompLevelUpdateableEV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None