Functional Description
Purpose
The purpose of this function is to return the normal display elements that are used in most forms for
Employee Self Service. The function must be passed either the User Id or Employee Address Number. If
the function is passed the User Id it will fetch the F0092 record for the User Id to get the employee
address number. Then using the employee address the function will return the following employee
information:
Address number AN8
Tax Id TAX
Employee third number OEMP
Mailing name MLNM
Alpha name ALPH
Employee Identification ENDYOW
0/1 Flag to indicate if Employee address is to be displayed MEOW
0/1 Flag to indicate if Employee tax Id is to be displayed MEOW
Error flag ERRC
The Error flag will indicate if any errors where found try to retrieve the employee information the
follow error codes can be returned:
0 Function completed successful
1 User Id and Employee Address not passed
2 User Id not found in F0092
3 Address record not found in F0111
4 Employee master not found in F060116
5 BSFN N0800001 failed
6 BSFN N0800106 failed
Technical Specification
Parameters
Data Item Data Structure DescriptionI/OReqTableNotes
USERszUserIdIOUser Id. If left Blank Employee Address must be
passed.
AN8mnAddressNumberI/OOEmployee Address. If left Blank User Id must be
passed. Address Number will be passed back.
TAXszTaxIdOEmployee Tax Id from F060116
OEMPszEmployeeNumberThridOEmployee third number from F060116
MLNMszNameMailingOEmployee mailing name from F0111
ALPHszNameAlphaOEmployee alpha name from F060116
ENDYOWszEmployeeIdentificationOEmployee Identification as defined by Payroll
Consents table. Field will contain the employee address, tax id or employee third number.
MEOWcDisplayAddressOFlag to indicate if the employee's address should be
displayed 0 No 1 Yes
MEOWcDisplayTaxIdOFlag to indicate if the employee's Tax Id should be
displayed 0 No 1 Yes
ERRCcErrorCodeOFlag returned to indicate what error was found
0 No Errors
1 Both user Id and Employee address not passed
2 User Id not found in F0092
3 Address Book not found in F0111
4 Employee master not found in F060116
5 BSFN N0800001 failed ENDYOW not returned
6 BSFN N0800106 failed MEOW not returned
Related Tables
TableTable Description
F0092Library List - UserP InputUser Id
F0111Address Book Whos WhoP InputEmployee Address
F060116Employee masterP InputEmployee Address
Processing
'b7If User Id and Address Number not passed set cErrorCode 1 return
'b7If User Id passed and address number Blank fetch F0092 for Address Number
'b7Fetch Address Book Who's Who F0111 for mailing name
'b7Fetch Employee master F060116 for Alph name, Tax Id and Third number
'b7Call BSFN N0800001 to return ENDYOW employee identification
'b7Call BSFN N0800106 to return the flags if employee address and Tax Id should be displayed
D0800217 - Get Employee Self-Service Common Display Information
Parameters
Data Item Data Structure DescriptionI/OReqTableNotes
USERszUserIdIOUser Id. If left Blank Employee Address must be
passed.
AN8mnAddressNumberI/OOEmployee Address. If left Blank User Id must be
passed. Address Number will be passed back.
TAXszTaxIdOEmployee Tax Id from F060116
OEMPszEmployeeNumberThridOEmployee third number from F060116
MLNMszNameMailingOEmployee mailing name from F0111
ALPHszNameAlphaOEmployee alpha name from F060116
ENDYOWszEmployeeIdentificationOEmployee Identification as defined by Payroll
Consents table. Field will contain the employee address, tax id or employee third number.
MEOWcDisplayAddressOFlag to indicate if the employee's address should be
displayed 0 No 1 Yes
MEOWcDisplayTaxIdOFlag to indicate if the employee's Tax Id should be
displayed 0 No 1 Yes
EMcModeEmployeeNumberOHRM constant setting for field EM from table F069096
company "00000". Flag will control what should be display for a employee, Value returned 1- Display
Employee Address AN8 2- Display Employee Tax Id SSN 3- Display Employee Alternate Number OEMP
ERRCcErrorCodeOFlag returned to indicate what error was found
0 No Errors
1 Both user Id and Employee address not passed
2 User Id not found in F0092
3 Address Book not found in F0111
4 Employee master not found in F060116
5 BSFN N0800001 failed ENDYOW not returned
6 BSFN N0800106 failed MEOW not returned
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szUserId | USER | char | OPT | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | BOTH |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
szTaxId | TAX | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
szEmployeeNumberThird | OEMP | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
szNameMailing | MLNM | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
szNameAlpha | ALPH | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
szEmployeeIdentification | ENDYOW | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
cDisplayAddress | MEOW | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
cDisplayTaxId | MEOW | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
| ||||
cModeEmployeeNumber | EM | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Tableab Notesab
|
None |
None |