GetCompetenciesForAJob

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function retrieves competencies defined at the Job level.  If the competency was defined at this 

level, it is written to the B0800154 Cache Job Competencies For All Organizational Levels (Confirmed 

Competency Cache).  If the competency was not defined at this level it is written to the B0800154 

Unconfirmed Competency Cache.  If a competency defined at this level confirms a record in the Unconfirmed 

Competency Cache, it will write that record to the Confirmed Competency Cache.  

Setup Notes and Prerequisites


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB COMPETENCIES AT SOME 

LEVEL IN THE ORGANIZATION.*****


Special Logic

Technical Specification

-Get the Competencies attached to the Job from F0800605.


-If the UKID from F0800605 = PUKID from F0800605, then the competency was attached directly to the 

Job, so write it to the Confirmed Competency cache.


-If the Competency was not attached directly to the Job, place it in the

'Unconfirmed' cache to determine if it is an override of another level.

Data Structure

D0800153B - Get Competencies For A Job

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szJobTypeJBCDcharREQINPUT

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.

szJobStepJBSTcharREQINPUT

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.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQBOTH

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverridesUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

szJobCompetencyCodeJCCcharOPTNONE

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

Related Functions

None

Related Tables

None
GetCompetenciesForAJobGroup

GetCompetenciesForAJobGroup

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description
Purpose
This function retrieves competencies defined at the Job Group level.  If the competency was defined 
at this level, it is written to the B0800154 Cache Job Competencies For All Organizational Levels 

(Confirmed Competency Cache).  If the competency was not defined at this level it is written to the 

B0800154 Unconfirmed Competency Cache.  If a competency defined at this level confirms a record in the 

Unconfirmed Competency Cache, it will write that record to the Confirmed Competency Cache.  

Setup Notes and Prerequisites


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****


Special Logic


Technical Specification


-Get the Competencies attached to the Job Group from F0800603


-If the UKID from F0800603 is equal to the PUKID from F0800603 then the competency was attached 

directly to the Job Group, so write it to the Confirmed Competency Cache


-Otherwise, write it to the Unconfirmed Competency cache to determine if it is an override from 

another source in the Organizational Structure.

Data Structure

D0800153C - Get Competencies For A Job Group

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szJobGroupJGRPcharREQINPUT

A grouping of similar jobs that are linked together to form a unit. The jobs might be similar in functions within the organization, job duties, 
tasks, responsibilities, job evaluation methods, or pay philosophies. Typical job units are clerical or administrative; technical, engineering, 
scientific, and professional; factory jobs; management; and executive. Consider dividing groups into separate populations based on the 
differences between exempt and non-exempt employees, according to the rules and regulations of the Fair Labor Standards Act. For example, 
consider assigning all your managers to the Managers job group. A job category defines a specific job, and all related job categories are 
classified by a job group. You can define job group codes using user defined code table 08/JG.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

szJobCompetencyCodeJCCcharOPTNONE

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

Related Functions

None

Related Tables

None
GetCompetenciesForBusinessUnits

GetCompetenciesForBusinessUnits

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function retrieves the Job Competency Codes from the entered Business Unit as well as the Job 
Competency Codes from all the parent/grandparent Business Units.

Setup Notes and Prerequisites


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****

Special Logic

Technical Specification


-Get the Competencies defined at the Business Unit level from F0800604.

-If the UKID from F0800604 is equal to the PUKID from F0800604, then write the Competency to the 

Confirmed Competency Cache.


-Otherwise, write the record to the Unconfirmed Competency Cache to determine if it is an override of 

another level.


-When finished collecting competencies for the passed in Business Unit, the function will get the 

parent of that Business Unit and call itself to collect the competencies for the parent.





^

Data Structure

D0800153D - Get Competencies For Business Units

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szOrganizationalBusinessUnitORMCUcharREQINPUT

A business unit that is included in the organizational structure for job competencies. You use organizational business units to assign job 
competency information to levels within your organizational structure. This business unit is independent of an employee's home business unit 
and security business unit.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

szJobCompetencyCodeJCCcharOPTINPUT

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

Related Functions

None

Related Tables

None
GetCompetenciesForJobInABusUnit

GetCompetenciesForJobInABusUnit

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description
Purpose
This function retrieves competencies defined at the Job within a Business Unit level.  If the 
competency was defined at this level, it is written to the B0800154 Cache Job Competencies For All 

Organizational Levels (Confirmed Competency Cache).  If the competency was not defined at this level it is 

written to the B0800154 Unconfirmed Competency Cache.  If a competency defined at this level confirms a 

record in the Unconfirmed Competency Cache, it will write that record to the Confirmed Competency Cache.  


Setup Notes and Prerequisites


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****


Special Logic


Technical Specification


-Get the Competencies attached to the Job within a Business Unit from F0800610


-If the UKID from F0800610 is equal to the PUKID from F0800610 then the competency was attached 

directly to the Job Group, so write it to the Confirmed Competency Cache


-Otherwise, write it to the Unconfirmed Competency cache to determine if it is an override from 

another source in the Organizational Structure.

^

Data Structure

D0800153E - Get Competencies For Job In A Business Unit

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szOrganizationalBusinessUnitORMCUcharREQINPUT

A business unit that is included in the organizational structure for job competencies. You use organizational business units to assign job 
competency information to levels within your organizational structure. This business unit is independent of an employee's home business unit 
and security business unit.

szJobTypeJBCDcharREQINPUT

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.

szJobStepJBSTcharREQINPUT

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.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

szJobCompetencyCodeJCCcharOPTNONE

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

Related Functions

None

Related Tables

None
GetCompetenciesForOrganization

GetCompetenciesForOrganization

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description
Purpose
This function retrieves competencies defined at the Organization level.  If the competency was 
defined at this level, it is written to the B0800154 Cache Job Competencies For All Organizational Levels 

(Confirmed Competency Cache).  If the competency was not defined at this level it is written to the 

B0800154 Unconfirmed Competency Cache.  If a competency defined at this level confirms a record in the 

Unconfirmed Competency Cache, it will write that record to the Confirmed Competency Cache.  

Setup Notes and Prerequisites


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****


Special Logic


Technical Specification


-Get the Competencies attached to the Organization from F0800607


-If the UKID from F0800607 is equal to the PUKID from F0800607 then the competency was attached 

directly to the Job Group, so write it to the Confirmed Competency Cache


-Otherwise, write it to the Unconfirmed Competency cache to determine if it is an override from 

another source in the Organizational Structure.

^

Data Structure

D0800153F - Get Competencies For Organization

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

szJobCompetencyCodeJCCcharOPTNONE

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

Related Functions

None

Related Tables

None
GetJobCompetenciesAtAnOrganizati

GetJobCompetenciesAtAnOrganizati

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function gets all the Job Competencies that apply to the organizational level passed in.  The 

competencies are written to a cache (B0800154 Cache Job Competencies For All Organizational Levels) to 

be used by the calling program.  

Setup Notes and Prerequisites


Special Logic

Technical Specification

Verify that the data entered is correct before proceeding


If there are no errors, get the competencies for each level in the heirarchy. 

If the same competency is found at a lower organizational level, then it

overrides those defined at a higher level.  The levels from Lowest to Highest

are: 

1.  Job within a Business Unit

2.  Job

3.  Business Unit 

4.  Job Group 

5.  Organization 


If a Job was passed in and a Business Unit was passed in, then Get Competencies For Job In A Business 

Unit


If a Job was passed in Get Competencies for a Job


If a Business Unit was passed in Get Competencies For Business Units (which includes the Business 

Unit passed in as well as all its parent Business Units)


If a Job Group was passed in Get Competencies For A Job Group


Organizational Type structure is required, so get Competencies For Organization


Delete all records remaining in the Unconfirmed Competency Cache.


Get the Options for the Competencies built if the Build Competency Options flag is set to 1.


Data Structure

D0800153 - Get Job Competencies At An Organizational Level

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szJobGroupJGRPcharOPTBOTH


szOrganizationalBusinessUnitORMCUcharOPTINPUT

A business unit that is included in the organizational structure for job competencies. You use organizational business units to assign job 
competency information to levels within your organizational structure. This business unit is independent of an employee's home business unit 
and security business unit.

szJobTypeJBCDcharOPTINPUT

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.

szJobStepJBSTcharOPTINPUT

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.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQINPUT

Special Input Expected
This function will build cache B0800154 with this job number as part of the unique key.

^

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

Significant Data Values
1 - Get the UKID for the Option Overrides at the current level

0 - Do not get the Option Override UKID

cGetIncludeInGapApprFlagEV01charREQINPUT

Significant Data Values
1 - Get the Include in Gap/Performance Appraisal flag

0 - Do not get the Include in Gap/Performance Appraisal flag


cSuppressErrorMessageSUPPScharOPTINPUT

Significant Data Values
1 - Suppress Error Messages.  If a 1 is not entered, the appropriate error(s) is(are) set on the 

input fields.  


^

cErrorCodeERRCcharOPTOUTPUT

Special Output Returned
1 = The Organizational Structure is not effective as of the date

2 = Job Entered is not Valid

3 = Organizational Business Unit entered is not in the Organizational Structure

4 = Job entered is not in the Organizational Business Unit entered

5 = Organization Entered is Blank



^

cBuildOptionsInCacheEV01charOPTINPUT

Special Input Expected
0 - Only write Job Competency Code records to the B0800154 cache

1 - Write Job Competency Code and Option records to the B0800154 cache




szJobDescriptionDL01charOPTOUTPUT

Special Output Returned
If a Job Type/Step is entered, the Job Description from F08001 will be returned.  This is intended to 

save the application any unnecessary Table I/O.


cDraftFlagDFLAGcharOPTBOTH


jdStructureBeginDateEFTBJDEDATEOPTBOTH

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdStructureEndDateEFTEJDEDATEOPTBOTH

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

szJobCompetencyCodeJCCcharOPTINPUT

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

cUseZeroAsDefaultJCmpEV01charOPTNONE

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

Related Functions

None

Related Tables

None
GetJobCompetencyOptions

GetJobCompetencyOptions

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function retreives the Job Competency Options from F0800606 and stores them in the B0800154 

Cache Job Competencies For All Organizational Levels.  


Setup Notes and Prerequisites


*****This function should never be called from Event Rules.  Call Get Job Competencies At An 

Organization Level to build the cache.*****

Special Logic


Technical Specification

Go through the already built Job Competency Codes in the B0800154 cache.  For each cache record, get 

the option from F0800606 and write a new cache record for each line of the Job Competency Options.



Data Structure

D0800153I - Get Job Competency Options

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberAJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

szOrganizationTypeOTPScharOPTNONE

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

jdDateEffectiveRatesEFTJDEDATEOPTNONE

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

cDraftFlagDFLAGcharOPTNONE

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

cErrorCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None
ProcessConfirmedJobCompetency

ProcessConfirmedJobCompetency

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function is only called once a Competency has been confirmed to be in the current organizational 

structure.  Its purpose is to collect the remaining information about the competency and write a 

record to the B0800154 Cache Job Competencies For All Organizational Levels (Confirmed Competency Cache).


Setup Notes and Prerequisites


Special Logic


*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****



Technical Specification


Get the Default Unique ID for the Job Competency from F0800602


Write the current record to the Unconfirmed Cache so that all information is

in one place.


Select all records in the Unconfirmed Cache for the Parent UKID.



For each record fetched from the Unconfirmed Cache:

   1.  Check to see if this UKID is the one to use for the Options.  It is only necessary to do this 

if instructed, and if the UKID for the Options has not already been found.

   2.  Check to see if this is the UKID for the Include in Gap/Performance Appraisal

flag.  It is only necessary to do this if instructed, and if the flag has not

already been found.

   3.  Check to see if this is the UKID for the Description 1, if a USDD has been

input for the Description 1.

   4.  Check to see if this is the UKID for the Description 2, if a USDD has been

input for the Description 2.

   5.  Check to see if this is the UKID for the Description 3, if a USDD has been

input for the Description 3.

   6.  Check to see if this is the UKID for the Description 4, if a USDD has been

input for the Description 4.

   7.  Check to see if this is the UKID for the Description 5, if a USDD has been

input for the Description 5.

   8.  If a Unique ID was not found for the Options, Include in Gap flag, or any of

the 6 Descriptions, then use the default.


Write the final record for this Competency to the cache.



Data Structure

D0800153H - Process Confirmed Job Competency

Parameter NameData ItemData TypeReq/OptI/O/Both
szJobCompetencyCodeJCCcharREQINPUT

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

szJobCompetencySourceJCCScharREQINPUT

The location in the organizational structure where the competency is defined.

mnUniqueIDUKIDMATH_NUMERICREQINPUT

This field is a unique number used to identify a record in a file.

mnParentKeyIDInternalPUKIDMATH_NUMERICREQINPUT

A unique number that the system uses to identify a record in a file.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQBOTH

The job number (work station ID) which executed the particular job.

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

cGetOptionOverrideUKIDFlagEV01charREQINPUT

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

cGetIncludeInGapApprFlagEV01charREQINPUT

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

jdDateBeginningEffectiveEFTBJDEDATEREQINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdDateEndingEffectiveEFTEJDEDATEREQINPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

mnCompetencyWeightCMWTMATH_NUMERICOPTINPUT

A user defined code that indicates a job competency weight. For example, if a job is evaluated based on two competencies, each 
competency is assigned a weight. Thus, if a receptionist's job is evaluated based on a telephone skill competency and a typing competency, the 
telephone skill competency might be weighed more heavily than the typing competency if receptionists spend the majority of their time on the 
telephone.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

cDraftFlagDFLAGcharOPTINPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

Related Functions

None

Related Tables

None
VerifyValidN0800153FunctionInput

VerifyValidN0800153FunctionInput

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function verifies that the data input is valid to be able to retrieve Job Competencies.

Setup Notes and Prerequisites


Special Logic


Technical Specification


Error Codes: 

1 = The Organizational Structure is not effective as of the date.

2 = Job Entered is not Valid

3 = Organizational Business Unit entered is not in the Organizational

Structure

4 = Job entered is not in the Organizational Business Unit entered

5 = Organization Entered is Blank


Verify the Organization is effective as of the date.

   1.  Check to see if this is  a draft.  If Structure Type is not a Draft and it is not effective as 

of the date entered, set an error.

   2.  Date not entered and structure is not a draft, set an error


Verify the job is valid, and get the Job Group and Job 


Verify that the Job Entered is attached to the Organizational Business Unit

entered.


Verify the Business Unit entered is in the Organizational Structure




Data Structure

D0800153A - Verify Valid N0800153 Function Input

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

szOrganizationalBusinessUnitORMCUcharOPTINPUT

A business unit that is included in the organizational structure for job competencies. You use organizational business units to assign job 
competency information to levels within your organizational structure. This business unit is independent of an employee's home business unit 
and security business unit.

szJobGroupJGRPcharOPTBOTH

A grouping of similar jobs that are linked together to form a unit. The jobs might be similar in functions within the organization, job duties, 
tasks, responsibilities, job evaluation methods, or pay philosophies. Typical job units are clerical or administrative; technical, engineering, 
scientific, and professional; factory jobs; management; and executive. Consider dividing groups into separate populations based on the 
differences between exempt and non-exempt employees, according to the rules and regulations of the Fair Labor Standards Act. For example, 
consider assigning all your managers to the Managers job group. A job category defines a specific job, and all related job categories are 
classified by a job group. You can define job group codes using user defined code table 08/JG.

szJobTypeJBCDcharOPTINPUT

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.

szJobStepJBSTcharOPTINPUT

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.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

cErrorCodeERRCcharOPTOUTPUT

Error Code
Special Output Returned

1 = The Organizational Structure is not effective as of the date

2 = Job Entered is not Valid

3 = Organizational Business Unit entered is not in the Organizational Structure

4 = Job entered is not in the Organizational Business Unit entered

5 = Organization Entered is Blank


^

szJobDescriptionDL01charOPTOUTPUT

Job Description
Special Output Returned

If a Job Type/Step is entered, the Job Description from F08001 will be returned.  This is intended to 

save the application any unnecessary Table I/O.


^

cDraftFlagDFLAGcharOPTOUTPUT

A code that indicates whether an organizational structure is in draft mode and has not yet been activated. Valid values are: 1 Yes 0 No 

jdStructureBeginDateEFTBJDEDATEOPTOUTPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdStructureEndDateEFTEJDEDATEOPTOUTPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

Related Functions

None

Related Tables

None
WriteRecordToUnconfirmedCompCach

WriteRecordToUnconfirmedCompCach

Get Job Competencies At An Organizational Level

Minor Business Rule

Object Name: N0800153

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function writes records to the Unconfimed Competency Cache.  If the Competency is later 
determined to be valid, then the UKID at the lowest level (which is stored in this Unconfirmed Cache) is used.

Setup Notes and Prerequisites


Special Logic

*****THIS FUNCTION SHOULD NOT BE CALLED DIRECTLY FROM EVENT RULES.*****

*****CALL THE FUNCTION: Get Job Competencies At An Organizational Level TO GET THE DESIRED JOB 

COMPETENCIES AT SOME LEVEL IN THE ORGANIZATION.*****



Technical Specification



Check to see if this competency is already confirmed.  If it is, then skip processing.


Write the record to the Unconfirmed Competency Cache using the parameters passed in.


^

Data Structure

D0800153G - Write Record To Unconfirmed Competency Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szJobCompetencyCodeJCCcharREQINPUT

A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the 
goals and objectives of the company. These competencies are also the foundation of an employee's job and job description.

mnLevelMATH01MATH_NUMERICREQBOTH

- - - Good Performance Low Value. 

mnUniqueIDUKIDMATH_NUMERICREQINPUT

This field is a unique number used to identify a record in a file.

mnParentKeyIDInternalPUKIDMATH_NUMERICREQINPUT

A unique number that the system uses to identify a record in a file.

mnJobnumberA_B0800154JOBSMATH_NUMERICREQBOTH

The job number (work station ID) which executed the particular job.

szUserDefCompetencyDesc_01USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_02USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_03USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_04USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_05USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

szUserDefCompetencyDesc_06USDDcharOPTINPUT

User Defined Competency Descriptions are attached to a job competency to assist the end user in understanding and/or working with job 
competencies. There can be a number of different job competency descriptions for a single job competency. For example, there could be a 
description for Employees, a description for Managers, and a description for HR professionals.

jdDateBeginningEffectiveEFTBJDEDATEREQINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdDateEndingEffectiveEFTEJDEDATEREQINPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

cJCCAlreadyConfirmedFlagEV01charOPTOUTPUT

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

mnCompetencyWeightCMWTMATH_NUMERICOPTINPUT

A user defined code that indicates a job competency weight. For example, if a job is evaluated based on two competencies, each 
competency is assigned a weight. Thus, if a receptionist's job is evaluated based on a telephone skill competency and a typing competency, the 
telephone skill competency might be weighed more heavily than the typing competency if receptionists spend the majority of their time on the 
telephone.

Related Functions

None

Related Tables

None
Req/OptI/O/Both szOrganizationTypeOTPScharREQINPUT

A user-defined code (00/TS) that identifies the type of organization structure, such as financial or responsibility. Each type of organization 
structure can have a separate hierarchy.  

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identif