FetchCompanyData

Business Function to fetch the company data - 42

Minor Business Rule

Object Name: N76B0003

Parent DLL: CLOC

Location: Client/Server

Language: NER

Data Structure

D76B0004 - Data Structure used to fetch company data             - 42

Parameter NameData ItemData TypeReq/OptI/O/Both
CompanyCodeAN8MATH_NUMERICREQINPUT

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

CompanyNameALPHcharOPTOUTPUT

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

CompanyNameMailingMLNMcharOPTOUTPUT

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

CGCNumberTAXcharOPTOUTPUT

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.

StateInscriptionTX2charOPTOUTPUT

An identification number assigned by a tax authority to an individual, in addition to the primary Tax ID number (TX1).

AddressADD1charOPTOUTPUT

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

StateADDScharOPTOUTPUT

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

ZipCodePostalADDZcharOPTOUTPUT

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

CityCTY1charOPTOUTPUT

A name that indicates the city associated with the address.

Related Functions

None

Related Tables

None