Functional Description
Purpose
This NER is to allow the normal file I/O operations on the Position Master file (F08101). The user
must pass in a Operation variable to specify which operation is being performed.
Setup Notes and Prerequisites
If the NER is being run to perform an add or an update to the Position Master file, the user must
pass in a complete key (Home Business Unit, Fiscal Year, and Position ID) as well as audit information
(User ID, Workstation ID, Date Updated and Program ID).
Special Logic
It is possible to perform inquiries and deletes on partial keys. On an inquiry, the NER will search
for any record that matches the partial key and return the values of the first record found.
On a deletion, the NER will delete all records that match the partial key. WARNING: IT IS POSSIBLE TO
DELETE ALL RECORDS FROM THE FILE IF ALL THREE PARTS OF THE KEY ARE LEFT BLANK.
Technical Specification
cOperation - Required input field.
All fields from F08101 - Input/output.
cErrorCode - Output field.
The 'Operation' values are as follows:
I = Inquire on existing record (partial keys allowed)
D = Delete existing record(s) (partial keys allowed)
A = Add record to F08101.
U = Update F08101 record.
The 'Error Code' values are as follows:
0 = No errors. Operation performed successfully.
1 = Error. Key field (Home Business Unit, Fiscal Year, and or Position ID) required.
2 = Error. Audit information required.
3 = File I/O error. Operation could not be performed.
4 = Error. Invalid operation requested.
Overview of logic:
If Operation = 'I'
Find match in F08101 with full or partial key
If found,
Return information of first record found
Else
Error = 3
Endif
Endif
If Operation = 'D'
Find all records in F08101 with a matching full or partial key
If found,
Delete records
Else
Error = 3
Endif
Endif
If Operation = 'I' or Operation = 'U'
If missing key fields
Error = 1
Else
If missing audit information
Error = 2
Else
If Operation = 'A'
Add record
Else
Update Record
Endif
Endif
Endif
Else
If Operation is not a valid value
Error = 4
Endif
Endif
D0800143 - F08101 Position Master Operations
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cOperation | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
szCostCenterHome | HMCU | char | OPT | BOTH |
The number of the business unit in which the employee generally resides. | ||||
mnFiscalYear1 | FY | MATH_NUMERIC | OPT | BOTH |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
szPositionID | POS | char | OPT | BOTH |
A code that you use for budgetary (position) control purposes. The position ID consists of:
o Position (position code and its description)
| ||||
szCostCenter | MCU | char | OPT | BOTH |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szDescription001 | DL01 | char | OPT | BOTH |
A user defined name or remark. | ||||
szDescription01002 | DL02 | char | OPT | BOTH |
Additional text that further describes or clarifies a field in the system. | ||||
jdDateEffectiveFrom | EFTS | JDEDATE | OPT | BOTH |
The date on which a requisition, a position, or activity within a position takes effect. | ||||
jdDateEffectiveThru | EFST | JDEDATE | OPT | BOTH |
The date on which a requisition, a position, or an activity within a position is no longer in effect. In position activity, the default value for this
| ||||
cPositionStatus | PSTC | char | OPT | BOTH |
A code that indicates the status of the position budget. The system uses the first character in the second description in the user defined
| ||||
mnAmountPositionBudget | CURB | MATH_NUMERIC | OPT | BOTH |
The salary amount that is budgeted for a particular position within a business unit. This figure, which comes from the Position Master table
| ||||
mnBudgetedFte | BFTE | MATH_NUMERIC | OPT | BOTH |
The number of full-time equivalents (FTEs) that your organization has budgeted for the position. A full-time equivalent is the portion of a
| ||||
mnBudgetedPositionHours | HRB | MATH_NUMERIC | OPT | BOTH |
The number of hours that are budgeted for a position within a business unit for a period of one year. This is the total number of hours allotted
| ||||
szParentCostCenter | PMCU | char | OPT | BOTH |
A code that identifies the Business Unit (MCU) that this Position reports to, such as the Supervisor's Business Unit.
The Parent Position /
| ||||
szParentPositionId | PPOS | char | OPT | BOTH |
A code that identifies the higher level position this position reports to, such as the supervisor position ID.
NOTE: The parent position/parent
| ||||
szJobCategory | JBCD | char | OPT | BOTH |
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 | BOTH |
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
| ||||
szSalaryDataLocality | SLOC | char | OPT | BOTH |
A user defined code (07/SL) that defines the different salary localities within an organization. For example, you can compare salaries for
| ||||
szCategoryCodePositio001 | PX01 | char | OPT | BOTH |
A user defined code (08/P1) that classifies Position Master records (unique by fiscal year, business unit, and position ID) for reporting
| ||||
szCategoryCodePositio002 | PX02 | char | OPT | BOTH |
A user defined code (system 08, type P2) used to classify Position Master records (unique by fiscal year, business unit, and position ID) for
| ||||
szCategoryCodePositio003 | PX03 | char | OPT | BOTH |
A user defined code (system 08, type P3) used to classify Position Master records (unique by fiscal year, business unit, and position ID) for
| ||||
szCategoryCodePositio004 | PX04 | char | OPT | BOTH |
A user defined code (system 08, type P4) used to classify Position Master records (unique by fiscal year, business unit, and position ID) for
| ||||
szCategoryCodePositio005 | PX05 | char | OPT | BOTH |
A user defined code (system 08, type P5) used to classify Position Master records (unique by fiscal year, business unit, and position ID) for
| ||||
szUserId | USER | char | OPT | BOTH |
The code that identifies a user profile. | ||||
szProgramId | PID | char | OPT | BOTH |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | BOTH |
The date that specifies the last update to the file record. | ||||
szWorkStationId | JOBN | char | OPT | BOTH |
The code that identifies the work station ID that executed a particular job. | ||||
szPositionType | TPOS | char | OPT | BOTH |
A code that identifies the type of job position an employee holds. | ||||
mnAmountSpendingAuthorizat | SPAM | MATH_NUMERIC | OPT | BOTH |
The spending level authorized for this position. | ||||
jdBudgetStatusDate | PBSD | JDEDATE | OPT | BOTH |
The date the current budget status became active. | ||||
cPosStat | PSST | char | OPT | BOTH |
The current activity level of the position.
When you attach an employee record to a vacant position, the system updates the position status
| ||||
jdPositionStatusDate | PSSD | JDEDATE | OPT | BOTH |
The date the current status of the position became active. | ||||
mnHeadcount | HDCT | MATH_NUMERIC | OPT | BOTH |
The number of employees requested, budgeted, or approved for a position or requisition. | ||||
mnAmountEffectiveBudget | EFFB | MATH_NUMERIC | OPT | BOTH |
The salary amount that is budgeted for a particular position within a business unit. This figure, which comes from the Position Master table
| ||||
mnHoursEffectiveBudget | EFHR | MATH_NUMERIC | OPT | BOTH |
The number of hours budgeted for a particular position within a business unit.
The system uses the effective from and effective through
| ||||
mnFullTimeEquivalentsEffec | FTEE | MATH_NUMERIC | OPT | BOTH |
The number of full-time equivalents (FTEs) that your organization has budgeted for the position. A full-time equivalent is the portion of a
| ||||
cErrorCode | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. |
None |
None |