BuildEmployeeNoDisplay

Build Employee Number Display

Minor Business Rule

Object Name: N0800001

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description

Purpose

The purpose of this Named ER is to determine the employee mode from the payroll constant if it is not 

passed in.  From the employee mode, it determines whether the address number, alternate employee no 

(OEMP) or employee's tax id (SSN) is to be returned in the EmployeeNoDisplay parameter.  In addition, 

it also returns the proper label identification retrieved from the data dictionary for data item 

(EENOW, OEMP or SSN) used for the employee no description.


Technical Specification


Parameters


Data Item Data Structure DescriptionI/ORequired  TableNotes

EMEENoModeI & OPass in the value if known, to avoid table 

I/O to file, F069096.

AN8AddressNumberIR

SSNTaxIDIR

OEMPAlternateNoIR

DL20EmployeeNoDisplayOReturns either AN8, OEMP or SSN

DL30EmployeeNoDescOReturns the data dictionary description of 

either EENOW, OEMP or SSN


Related Tables 


Table Table Description

F069096Payroll Constant


Processing


1. Get Employee Mode from payroll constant if the employee No Mode (EM) is not passed in.  The employee Mode 
is retrieved from F069096 for key company '00000'.


2. If the employee mode is not 1, 2 or 3, then default the employee mode to '1'.

3. If  the EmployeeNoDesc parameter is equal to blank,  call business function 'Retrieve Data Dictionary Alpha 
Desc', passing in the appropriate data item depending on the employee mode.

a. If employee mode is '1', pass 'EENOW' as data item to the above business function.
b. If employee mode is '2', pass 'SSN' as data item to the above business function.

c. If employee mode is '3', pass 'OEMP' as data item to the above business function.


Pass the alpha description from the above business function to EmployeeNoDesc 
parameter.


4. a. If employee mode is '1',  right pad address number, which is numeric with blank to
    make a total length of 20 and store the result in EENoMode parameter.

b. If employee mode is '2', EENoMode parameter = TaxID parameter.
c. If employee mode is '3', EENoMode parameter = AlternateNo Parameter






Data Structure

DN0800001 - Build Employee No Display

Parameter NameData ItemData TypeReq/OptI/O/Both
EENoModeEMcharNONENONE

A code that specifies the type of employee number displayed on inquiry screens. Valid values are:    1   Display the eight-digit Address 
Book number (default).    2   Display the nine-digit Social Security number.    3   Display the eight-digit Additional Employee number preceded by a 
forward slash (/). All forms of employee number remain valid.

AddressnumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

TaxIDSSNcharNONENONE

A number that indicates the tax ID. In the United States, the tax ID is the social security number. In Canada, it is the social insurance number. 
If you add employee information for a non-US or non-Canadian company, you can leave this field blank. However, if the international code is 
set to Y and the default company is non-Canadian and non-United States, you can enter a 16-character number for the tax ID. The system 
does not permit duplicate tax ID numbers. Also, the number cannot include dashes. For example, if a social security number of nn-nn-nnnn is 
used, the number should be entered as follows: 123456789.

AlternateNoOEMPcharNONENONE

An alternate employee number, typically the number from the employee tracking system that your organization used prior to converting to 
the J.D. Edwards system. To search using this number, preface the number with a slash (/).

EmployeeNoDisplayDL20charNONENONE

A description, remark, name or address.

EmployeeNoDescDL30charNONENONE

A description, remark, name or address.

Related Functions

None

Related Tables

None