Functional Description
This NER returns the values in the F08040 (Payroll Company Constants/HR History Constants) table. If the key value is Null then the NER assumes
that the file is still a single record table and returns the values of the first record found. If the key value is non-Null then the NER will return the values
in the record with the matching key. All error conditions are returned in cErrorCode; no hard errors are generated.
SetUp Notes
Technical Specifications
Parameters
Data Item Data Structure DescriptionI/ORequired TableNotes
DTALszDataFileLibraryI/O F08040If specified, will match record.
HRSSszHrSubSystemI/O F08040If specified, will match record.
EMPHcemployeeHistoryOF08040
EH01cEmpHistoryPrompt001OF08040
EH02cEmpHistoryPrompt002OF08040
EH03cEmpHistoryPrompt003OF08040
EH04cEmpHistoryPrompt004OF08040
EH05cEmpHistoryPrompt005OF08040
EH06cEmpHistoryPrompt006OF08040
EH07cEmpHistoryPrompt007OF08040
EH08cEmpHistoryPrompt008OF08040
EH09cEmpHistoryPrompt009OF08040
EH10cEmpHistoryPrompt010OF08040
USERszUserIdOF08040
PIDszProgramIdOF08040
UPMJjdDateUpdatedOF08040
JOBNszWorkStationIdOF08040
FLXCmnFlexCreditsPerDollarOF08040
YORNcUseAssignmentWindowOF08040
PRSRcPayRateSourceOF08040
SPRScStepProgressionRateSourcOF08040
PBF1cPositionBudgetEditSalaryOF08040
PBF2cPositionBudgetEditFTEOF08040
PBF3cPositionBudgetEditHoursOF08040
PBF4cPositionBudgetEditHeadctOF08040
PRF1cPayRangeEditOF08040
SDFScSalaryDefaultSourceOF08040
SIPcSalaryIncreasesinProjectOF08040
SALDcSalaryDisplayOF08040
EV01cErrorCodeO
cErrorCode values:
0 = no errors; program processed successfully
1 = No record found
2 = Record not found
Related Tables
Table Table Description
F08040HR History Constants
Processing
cErrorCode = 0
if szDataFileLibrary is not blank or szHrSubSystem is not blank
FetchSingle the F08040 record and return all values
if File_IO_Status is equal to CO_Error then
cErrorCode = 2
end if
else /* Both szDataFileLibrary and szHrSubSystem are blank */
Open F08040 table
Select All F08040
FetchNext the F08040 record and return all values
if File_IO_Status is equal to CO_Error then
cErrorCode = 1
end if
end if
DN0800069 - F08040 - Get HR Constants Information
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szDataFileLibrary | DTAL | char | OPT | BOTH |
The name of the data file library in which the data queue exists. Whenever a change is made to the History Constants Information, the
| ||||
szHrSubSystem | HRSS | char | OPT | BOTH |
This is the name of the HR subsystem. This subsystem is created (if it doesn't already exist) when the option to start the HR subsystem is
| ||||
cEmployeeHistory | EMPH | char | OPT | OUTPUT |
A code that determines whether the system creates employee history records when you enter or change employee information. The
| ||||
cEmpHistoryPrompt001 | EH01 | char | OPT | OUTPUT |
A code that indicates the date on which the system creates employee history and turnover records, in relation to the date of the change.
| ||||
cEmpHistoryPrompt002 | EH02 | char | OPT | OUTPUT |
A code that determines whether the system creates employee turnover records when you change employee information.
Turnover
| ||||
cEmpHistoryPrompt003 | EH03 | char | OPT | OUTPUT |
A code that indicates whether you want the system to create records in the Position Activity table (F08111) when you enter or change
| ||||
cAutoReqPrompt | EH04 | char | OPT | OUTPUT |
This field specifies whether the system automatically creates a requisition for the position when you terminate an employee. | ||||
cPositionControlPrompt | EH05 | char | OPT | OUTPUT |
This code determines whether you are using the position control feature and,if so, whether all employees are required to have a position
| ||||
cEmpHistoryPrompt006 | EH06 | char | OPT | OUTPUT |
An HR Employee History flag reserved for future use. | ||||
cEmpHistoryPrompt007 | EH07 | char | OPT | OUTPUT |
An HR Employee History flag reserved for future use. | ||||
cEmpHistoryPrompt008 | EH08 | char | OPT | OUTPUT |
An HR Employee History flag reserved for future use. | ||||
cEmpHistoryPrompt009 | EH09 | char | OPT | OUTPUT |
An HR Employee History flag reserved for future use. | ||||
cEmpHistoryPrompt010 | EH10 | char | OPT | OUTPUT |
An HR Employee History flag reserved for future use. | ||||
szUserId | USER | char | OPT | OUTPUT |
The code that identifies a user profile. | ||||
szProgramId | PID | char | OPT | OUTPUT |
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 | OUTPUT |
The date that specifies the last update to the file record. | ||||
szWorkStationId | JOBN | char | OPT | OUTPUT |
The code that identifies the work station ID that executed a particular job. | ||||
mnFlexCreditsPerDollar | FLXC | MATH_NUMERIC | OPT | OUTPUT |
This field determines how many Flex Credits equal one Dollar. This field is for informational purposes only and will not affect how the
| ||||
cUseAssignmentWindow | YORN | char | OPT | OUTPUT |
This field specifies whether the system displays the Employee Assignment window when an employee changes to a new job, position, or
| ||||
cPayRateSource | PRSR | char | OPT | OUTPUT |
This constant specifies the default source for employee pay rates. When you add or change employee information, the system uses this
| ||||
cStepProgressionRateSourc | SPRS | char | OPT | OUTPUT |
This field specifies the default pay grade step that the system uses to locate a pay rate for employees who have a salary forecast change
| ||||
cPositionBudgetEditSalary | PBF1 | char | OPT | OUTPUT |
This field specifies whether you want the system to use position budget editing, and if so, whether the system displays a warning or error
| ||||
cPositionBudgetEditFTE | PBF2 | char | OPT | OUTPUT |
This field specifies whether you want the system to use position budget editing for full-time equivalents (FTE), and if so, whether the system
| ||||
cPositionBudgetEditHours | PBF3 | char | OPT | OUTPUT |
This field specifies whether you want the system to use position budget editing for work hours, and if so, whether the system displays a
| ||||
cPositionBudgetEditHeadct | PBF4 | char | OPT | OUTPUT |
This field specifies whether you want the system to use position budget editing for headcount, and if so, whether the system displays a
| ||||
cPayRangeEdit | PRF1 | char | OPT | OUTPUT |
This field specifies pay range minimum and maximum, or pay grade step amount editing.
Allowed values are:
blank No Edit
1
| ||||
cSalaryDefaultSource | SDFS | char | OPT | OUTPUT |
This field specifies the salary/rate default source for creating new positions or defining vacancies when the Create Next Year's Position
| ||||
cSalaryIncreasesinProject | SIP | char | OPT | OUTPUT |
This constant determines if future rate changes, based on an employee's salary forecast change date, will be taken into account in the
| ||||
cSalaryDisplay | SALD | char | OPT | OUTPUT |
A field that specifies whether the system displays annual or effective salaries for employees.
An employee's annual salary is the number of
| ||||
cErrorCode | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. |
None |
None |