ReturnAlternateAddress

Return Alternate Address

Minor Business Rule

Object Name: N0400123

Parent DLL: CFIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

The purpose of this business function is to return the requested alternate address number (e.g., Factor/Special Payee or Parent) for the payee 

(supplier) or payer (company), based on a processing option passed from the calling 1099 UBE or application. 


1.2Setup Notes and Prerequisites

• Before calling N0400123 to get the alternate address for the payer (company), call B0000047 (F0010 
Get Company Address) to get the company's address.  This function will return the Address Number (AN8) 

if one is defined in the Company Master (F0010); otherwise, the company's own number will be returned 

in address number format.

• If the combining method is "7", the Parent Number (PA8) for the default Structure Type (OSTP) of 
 will be returned from the Address Organization Structure Master (F0150).

• If the combining method is "6", the Factor/Special Payee (AN85) will be returned from the Address 
Book Master (F0101).

• If the combining method is "5", the 5th Address Number (AN86) will be returned from the Address Book 
Master (F0101).

• If the combining method is "4", the 4th Address Number (AN84) will be returned from the Address Book 
Master (F0101).

• If the combining method is "3", the 3rd Address Number (AN83) will be returned from the Address Book 
Master (F0101).

• If the combining method is "2", the 2nd Address Number (AN82) will be returned from the Address Book 
Master (F0101).

• If the combining method is "1", the 1st Address Number (AN81) will be returned from the Address Book 
Master (F0101).

• 

Data Structure

D0400123 - Return Alternate Address

Parameter NameData ItemData TypeReq/OptI/O/Both
cCombiningMethodEV01charNONENONE

An option that specifies the type of processing for an event.

mnSupplierOrCompanyAddressAN8MATH_NUMERICNONENONE

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

mnAlternateAddressAN81MATH_NUMERICNONENONE

An alternate address number in the Address Book system. You can use this field for any secondary business address that relates to the 
primary address. For example:     o Salesperson     o Law firm     o Accountant     o Securities agent     o Bonding agent  If you leave this field blank 
on an entry form, the system supplies the primary address from the Address Number field.

Related Functions

None

Related Tables

None