Functional Description
Purpose
This function provides the caching manipulation for the Job and Competency Tree Structures. The
cache holds information specific to the tree on the form. When the tree is changed, those changes are
stored in cache. When the user presses Submit, the changes stored in cache are committed to the
database.
Setup Notes and Prerequisites
Records can be Read, Added, Deleted, or Updated to the cache, depending on Cache Action Code, CACTN,
passed in. The following is a list of the modes used to select cache processing options:
Input
Processing TypeType
============
Cache Get 1
Cache Add 2
Cache Update 3
Cache Delete 4
Cache Delete All 5
Cache Get Next 6
Cache Add/Update 7 (Do Not Use)
Cache End 8
Cache Close Cursor 9
Return errors through Error Message ID, DTAI.
The cache Key is as follows:
There are 4 indexes for this cache. Enter an index number corresponding index as follows:
1 (unique):
Job Number (JOBS)
Node Value (MATH01)
2 (not unique):
Job Number (JOBS)
Parent Business Unit (MCU1)
Node Type (EV01)
Organizational Business Unit (ORMCU)
Job Type (JBCD)
3 (not unique):
Job Number (JOBS)
Add or Delete Flag (EV01)
4 (not unique):
Job Number (JOBS)
Organizational Business Unit (ORMCU)
Node Type (EV01)
Special Logic
Technical Specification
Based on the action code passed, this function will perform an action on the Job and Competency Tree
Structure cache. The function can be used in Event Rules the same way as Table I/O to manipulate
cache records.
D0800151 - Cache Job And Competency Tree Structure
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobnumberA | JOBS | MATH_NUMERIC | REQ | INPUT |
The job number (work station ID) which executed the particular job. | ||||
mnNodeValue | MATH01 | MATH_NUMERIC | OPT | NONE |
Special Input Expected
| ||||
cNodeType | EV01 | char | OPT | NONE |
| ||||
szNodeDescription | D200 | char | OPT | NONE |
| ||||
szParentBusinessUnit | MCU1 | char | OPT | NONE |
The primary level in a business unit hierarchy. A parent in one hierarchy can be a child in a different hierarchy. | ||||
szOrganizationalBusinessUnit | ORMCU | char | OPT | NONE |
A business unit that is included in the organizational structure for job competencies. You use organizational business units to assign job
| ||||
szJobCompetencyCode | JCC | char | OPT | NONE |
A code that uniquely identifies each job competency. Competencies are high-level human attributes that help an employee achieve the
| ||||
szJobType | JBCD | char | OPT | NONE |
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
| ||||
szJobStep | JBST | char | OPT | NONE |
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
| ||||
cAddOrDeleteFlag | EV01 | char | OPT | NONE |
| ||||
cNodeOpenOrClosedFlag | EV01 | char | OPT | NONE |
| ||||
mnSequenceNumber | SEQ | MATH_NUMERIC | OPT | NONE |
| ||||
szErrorMessageID | DTAI | char | OPT | OUTPUT |
Special Output Returned
| ||||
idCacheCursor | GENLNG | ID | REQ | BOTH |
| ||||
szCacheActionCode | CACTN | char | REQ | INPUT |
Significant Data Values
| ||||
mnNumberKeys | NKEYS | MATH_NUMERIC | REQ | INPUT |
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
Significant Data Values
| ||||
mnIndexID | NKEYS | MATH_NUMERIC | REQ | INPUT |
Significant Data Values
| ||||
jdF0800601DateBeginEffective | EFTB | JDEDATE | OPT | NONE |
The date that an address, item, transaction, or table record becomes active. The meaning of this field differs, depending on the program.
| ||||
jdF0800601DateEndEffective | EFTE | JDEDATE | OPT | NONE |
The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used
| ||||
mnUniqueID | UKID | MATH_NUMERIC | OPT | NONE |
This field is a unique number used to identify a record in a file. | ||||
mnParentUniqueID | PUKID | MATH_NUMERIC | OPT | NONE |
A unique number that the system uses to identify a record in a file. |
None |
None |