CopyJobCompetencyDescription

Job Competency Description

Minor Business Rule

Object Name: B0800157

Parent DLL: CHRM

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to copy a job competency description and its media objects. 

• A job competency description can be copied from one organizational structure to another 
organizational structure or from one job competency to another job competency. 

The function requires User Defined Competency Description, Unique Key ID, Language Preference, and an 

Action Code. 

If the Action Code is equal to '2', this business function will copy the job competency description.  

Previously, if '1' or '3' were entered in the Action Code this business function would delete a 

description and determine if a description exists, but this functionality was moved to B0800158.  Thus, '2' 

is the only Action Code to be used for this business function.


Setup Notes and Prerequisites


Special Logic




Technical Specification


1.If the Action Code is equal to '2' - Copy Job Competency Description:

1.1.To copy a job competency description from a job competency to another job competency this function must receive From Job Competency 
Code (JCC), To Job Competency Code (JCC), User Defined Competency Description (USDD), From Unique Key ID (UKID), To Unique Key ID 

(UKID), Language Preference (LNPG) and Action Code (CACTN). A '1' will be returned in the Status Code if the Copy Job Competency 

Description completed successfully or a '0' will be returned if Copy Job Competency Description completed unsuccessfully.

1.2.To copy a job competency description from one organizational structure to another organizational structure this function must receive 

From Organizational Structure (OTPS), To Organizational Structure (OTPS), From Job Competency Code (JCC), To Job Competency Code 

(JCC), User Defined Competency Description (USDD), From Unique Key ID (UKID), To Unique Key ID (UKID), Language Preference (LNPG) and 

Action Code (CACTN). ).  A '1' will be returned in the Status Code if the Copy Job Competency Description completed successfully or a '0' will 

be returned if Copy Job Competency Description completed unsuccessfully.


Data Structure

D0800157 - Job Competency Description

Parameter NameData ItemData TypeReq/OptI/O/Both
szFromOrganizationTypeOTPScharOPTINPUT

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.  

szToOrganizationTypeOTPScharOPTINPUT

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.  

szUserDefinedCompetencyDesUSDDcharREQINPUT

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.

mnFromUniqueKeyIDInternalUKIDMATH_NUMERICOPTINPUT

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

szFromJobCompetencyCodeJCCcharOPTINPUT

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.

szToJobCompetencyCodeJCCcharOPTINPUT

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.

szLanguagePreferenceLNGPcharREQINPUT

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

cStatusCodeEV01charOPTOUTPUT

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

mnToUniqueKeyIDInternalUKIDMATH_NUMERICOPTNONE

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

Related Functions

None

Related Tables

F00165 Media Objects storage
F0800612 User Defined Job Competency Description Reference