PhoneNumbersRetrievalFunction

Retrieve Address Book Phone Numbers Info Function (F0115)

Minor Business Rule

Object Name: N48S0619

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0619 - Retrieve Address Book Phone Numbers Info Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szPhoneNumbersDataAlias_R01PPNR01PPNcharOPTINPUT

Use this parameter to retrieve information from the Address Book - Contact Phone Numbers table (F0115). Each piece of information is 
associated with a unique field name. A one to eight character "Data Alias" identifies the field name. Enter the Data Alias (in upper case 
characters) which is associated with the information you want to retrieve from the table. Select Data Aliases from the group associated with the Smart 
Field you are using. (Only use Alpha fields if using an Alpha Smart Field, Character fields if using a Character Smart Field, etc.) The following 
Data Aliases are available in this table: Alpha Fields PHTP (Phone Number Type)       PAR1     (Prefix)       PPH1     (Phone Number)       USER 
(User ID)       PID (Program ID)       JOBN (Work Station ID) Date Fields        UPMJ (Date Updated) Numeric Fields        UPMT (Time Last Updated)

cAddressNumbSource_R02PR02PcharOPTINPUT

A code that specifies which Address Number the system uses for retrieving Address Book information. Valid values are:    1   
Employee/Supplier (F4812/AN8)    2   Customer (F4812/AN8O)    3   Job/Business Unit (F4812/MCU)    4   Job Site Number (F0006/AN8)    5   Job Customer 
(F0006/AN8O)    6   Company Number (F0006/CO)    7   Tax Entity (F0006/TXJS)    8   Originator (F4801/ANO)    9   Assigned To (F4801/ANP)    A 
Supervisor (F4801 / ANPA)    B Manager (F4801 / ANSA)    C Inspector (F4801 / ANT)    D Work Order Customer (F4801 / AN8)    E Next Address 
Number (F4801 / NAN8) The following address book numbers apply only to Contract Billing only:    F Alternate Billing (F5201 / ANOB)    G 3rd 
Party (F5201 / AN8K)    H Customer (F5201 / AN8O)    I User Address 1 (F5201 / USA1)    J User Address 2 (F5201 / USA2)    K User Address 3 
(F5201 / USA3)    L Remit To (F5201 / USA4)    M Send To (F5201 / USA5)

cBillingAddressNumb_R03PR03PcharOPTINPUT

A code that specifies which of the alternate billing address numbers is used. Valid values are:    Blank Do not use an alternate billing 
address.    1       Use the number indicated by Send Invoice To Value.    2       Use the Parent Address Number.    3       Use the 1st Address Number.    4  
     Use the 2nd Address Number.    5       Use the 3rd Address Number.    6       Use the 4th Address Number.    7       Use the 5th Address 
Number.    8       Use the Factor/Special Payee.

szBillPhoneNumbType_R21PR21PcharOPTINPUT

Use this parameter to specify the type of phone number that the system retrieves. If you leave this field blank, the system retrieves the first 
phone number in the Contact Phone Number table (F0115).  Valid values for these record types are setup in User Defined Codes, system 01/ 
user code PT.

mnAddressNumber_AN8AN8MATH_NUMERICOPTINPUT

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

mnAddressNumberJobAr_AN8OAN8OMATH_NUMERICOPTINPUT

The address book number to which the system posts billing and accounts receivable transactions.

szCostCenter_MCUMCUcharOPTINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szSubledger_SBLSBLcharOPTINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerType_SBLTSBLTcharOPTINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

mnDocumentOrderInvoiceE_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderType_DCTODCTOcharOPTINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyOrderNo_KCOOKCOOcharOPTINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnNumericField_MATH01MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

cCharacterField_A101A101charOPTOUTPUT

A code that identifies whether a document originates in the Engineering Project Management system.

jdDateField_DTEDTEJDEDATEOPTOUTPUT

You can enter a date with or without slashes (/) or dashes (-) as separators. If you leave a date entry field blank, the system supplies the 
current date.

szAlphaField_DS01DS01charOPTOUTPUT

A free-form, 80-character text field.

szErrorCode_ERNOERNOcharOPTOUTPUT

The error number assigned by the JDE edit/update programs designating the exact error that occured.

cBillPhoneNumbFormat_R22PR22PcharOPTINPUT

A code that determines how the system displays the billing phone number. Valid values are:    Blank The system displays the previously 
entered data item.    1       Area Code and Phone Number with parentheses. For example, (999) 999-9999    2       1 + Area Code and Phone 
Number with parentheses. For example, 1 (999) 999-9999    3       Area Code and Phone Number with hyphens. For example, 999-999-9999    4       1 + 
Area Code and Phone Number with hyphens. For example, 1-999-999-9999

cFooterSection_FTSCFTSCcharOPTINPUT

A hidden flag, embedded in the Invoice Print with Smart Fields program (R48507), that indicates whether a section is a footer or non-footer 
section. These values are passed into the smart fields when you design a version of the Invoice Print with Smart Fields program to determine 
whether the logic should use the Business View field or Previous Business View field. Valid values are: Blank Non-footer section. 1 Footer 
section.

mnPrevAddressNumber_AN8AN8MATH_NUMERICOPTINPUT

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

mnPrevAddressNumberJobAr_AN8OAN8OMATH_NUMERICOPTINPUT

The address book number to which the system posts billing and accounts receivable transactions.

szPrevCostCenter_MCUMCUcharOPTINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szPrevSubledger_SBLSBLcharOPTINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cPrevSubledgerType_SBLTSBLTcharOPTINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

mnPrevDocOrderInvoiceE_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szPrevOrderType_DCTODCTOcharOPTINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szPrevCompanyKeyOrderNo_KCOOKCOOcharOPTINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

Related Functions

None

Related Tables

None