GetEmployeeSelfServiceDisplayIn

Get Employee Self-Service Common Display Information

Minor Business Rule

Object Name: N0800217

Parent DLL: CHRM

Location: Client/Server

Language: NER

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



Data Structure

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 NameData ItemData TypeReq/OptI/O/Both
szUserIdUSERcharOPTINPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
USERab  ab  szUserIdab  ab  ab  Iab  Oab User Id. If left Blank Employee Address must be passed.


mnAddressNumberAN8MATH_NUMERICOPTBOTH

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
AN8ab  ab  mnAddressNumberab  ab  I/Oab  Oab Employee Address. If left Blank User Id must be passed. 

Address Number will be passed back.


szTaxIdTAXcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
TAXab  ab  szTaxIdab  ab  ab  Oab  ab Employee Tax Id from F060116


szEmployeeNumberThirdOEMPcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
OEMPab  ab  szEmployeeNumberThridab  Oab  ab Employee third number from F060116


szNameMailingMLNMcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
MLNMab  ab  szNameMailingab  ab  Oab  ab Employee mailing name from F0111



szNameAlphaALPHcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
ALPHab  ab  szNameAlphaab  ab  ab  Oab  ab Employee alpha name from F060116


szEmployeeIdentificationENDYOWcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
ENDYOWab  szEmployeeIdentificationOab  ab Employee Identification as defined by Payroll Consents table. 

Field will contain the employee address, tax id or employee third number.


cDisplayAddressMEOWcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
MEOWab  ab  cDisplayAddressab  ab  Oab  ab Flag to indicate if the employee's address should be displayed 

0  No  1  Yes


cDisplayTaxIdMEOWcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
MEOWab  ab  cDisplayTaxIdab  ab  Oab  ab Flag to indicate if the employee's Tax Id should be displayed 0  

No    1  Yes


cErrorCodeERRCcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
ERRCab  ab  cErrorCodeab  ab  ab  Oab  ab Flag 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


cModeEmployeeNumberEMcharOPTOUTPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab  Tableab  Notesab 
EMab  ab  cModeEmployeeNumberab  Oab  ab HRM 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 


Related Functions

None

Related Tables

None