1.Functional Description
1.1Purpose
Retrieve the first telephone number from the first record under Address Number (AN8) and Who's Who Line Number (IDLN) with smallest Line Number
(RCK7).
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
mnAddressNumber Address Number IYes
(AN8)
mnLineNumberID Who's Who Line NumberIYesFrom Constants Information File (F08040).
(IDLN)
szPhoneAreaCode1 Phone Area Code ON"Before Image"
(AR1)
szPhoneNumber Phone Number ON
(PH1)
mnErrorCodeReturned Error Code OYes0 = no errors 1 = error while fetching data
(MATH06)
2.2Related Tables
Table Table Description
F0115Address Book - contact Phone Numbers
2.3Related Business Functions - Review and Copy Code
Source NameFunction Name
2.4Processing
1.0F0115.FetchSingle using keys AN8 and IDLN. Data sorted by AN8, IDLN, and RCK7. The record fetched, if successful, will be with the smallest
RCK7.
Function returns area code and phone number from
^
DN0500031 - Retrieve First Phone Number of Contact from F0115
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnLineNumberID | IDLN | MATH_NUMERIC | REQ | INPUT |
This field is used to identify the line ID number for a Who's Who record. | ||||
szPhoneAreaCode1 | AR1 | char | OPT | OUTPUT |
The first segment of a telephone number. In the United States, the prefix is the three-digit area code. | ||||
szPhoneNumber | PH1 | char | OPT | OUTPUT |
A number without the prefix or special characters, such as hyphens or periods, that makes up the telephone number for an entity. You can
| ||||
mnErrorCodeReturned | MATH06 | MATH_NUMERIC | REQ | OUTPUT |
Event point for Math Numeric. |
None |
None |