RetrieveEmployeeAddress

Retrieve User ID Address Number

Minor Business Rule

Object Name: N0800023

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

To retrieve the address number, mailing name, and tax ID for the user ID passed in.


Setup Notes and Prerequisites


Special Logic




Technical Specification

Error Codes:  0 = No Errors, 1 = Missing User ID, 2 = Could not retrieve Address Number from F0092 

using the User ID as the key.  3 = Could not retrieve Mailing Name from F0111.  4 = Could not retrieve 

Tax ID from F0101


Data Structure

DN0800023 - Retrieve User ID Address Number

Parameter NameData ItemData TypeReq/OptI/O/Both
szUserIdUSERcharREQINPUT

The code that identifies a user profile.

mnAddressNumberAN8MATH_NUMERICOPTOUTPUT

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

szNameMailingMLNMcharOPTOUTPUT

The company or person to whom billing or correspondence is addressed.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szTaxIdTAXcharOPTOUTPUT

The identification code required by various tax authorities. This can be a social security number, federal or state corporate tax ID, sales tax 
number, and so on. The system verifies the number and prints the separators in their correct format, according to the value of TAXC 
(Person/Corporation Code). If no value exists for TAXC, the system uses the Corporate Entity. Attention Accounts Payable users: The Supplier Master 
record supplies the default value for the tax ID for 1099 processing.

Related Functions

None

Related Tables

None