AddBookMasterRetrievalFunction

Retrieve Address Book Master Information Function (F0101)

Minor Business Rule

Object Name: N48S0602

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0602 - Retrieve Address Book Master Information Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataAliasAddBookMast_R01PABR01PABcharOPTINPUT

Use this parameter to retrieve information from the Address Book Master (F0101). 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    ALKY (Long Address Number)     TAX (Tax ID)     ALPH (Alpha Name)     DC (Description - Compressed)     MCU 
(Business Unit)     SIC (Industry Classification)     LNGP (Language)     AT1         (Search Type)     CM (Credit Message)     AC01       (Category 
Code 01)     AC02       (Account Representative)     AC03       (Category Code 03)     AC04       (Geographic Region)     AC05       (Category Code 05)     
AC06       (Category Code 06)     AC07       (1099 Reporting)     AC08       (Category Code 08)     AC09       (Category Code 09)     AC10       (Category 
Code 10)     AC11       (Sales Region)     AC12       (Category Code 12)     AC13       (Line of Business)     AC14       (Sales Volume)     AC15       
(Category Code 15)     AC16       (Category Code 16)     AC17       (Category Code 17)     AC18       (Category Code 18)     AC19       (Category Code 19)     
AC20       (Category Code 20)     AC21       (Category Code 21)     AC22       (Category Code 22)     AC23       (Category Code 23)     AC24       
(Category Code 24)     AC25       (Category Code 25)     AC26       (Category Code 26)     AC27       (Category Code 27)     AC28       (Category Code 28)     
AC29       (Category Code 29)     AC30       (Category Code 30)     GLBA (G/L Bank Account)     RMK (Remark)     TXCT (Certificate)     TX2          (Add'l 
Ind Tax ID)     ALP1        (Secondary Alpha Name)     URCD (User Reserved Code)     URRF (User Reserved Reference)     USER (User ID)     
PID (Program ID)     JOBN (Work Station ID) Character Fields     TAXC (G/L Bank Account)     AT2         (AR/AP Netting (Y))     AT3         (Address 
Type 3 Y/N)     AT4         (Address Type 4 Y/N)     AT5         (Address Type 5 Y/N)     ATP (Payables Y/N/M)     ATR (Receivables Y/N)     ATPR 
(User Code)     AB3         (Miscellaneous Code)     ATE (Employee Y/N)     SBLI (Subledger Inactive Code)     MSGA (Cleared (Y)) Date Fields       
EFTB (Start Effective Date)       PDI (Date Scheduled In)       URDT (User Reserved Date)       UPMJ (Date Updated) Numeric Fields       AN81        
(1st Address Number)       AN82        (2nd Address Number)       AN83        (3rd Address Number)       AN84        (4th Address Number)       AN86        
(5th Address Number)       AN85        (Factor/Special Payee (Hard Coded))       PTI (Time Scheduled In)       URAT (User Reserved Amount)       
URAB (User Reserved Number)       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.

mnAccumRegisterNumb_R25PR25PMATH_NUMERICOPTINPUT

A value used to identify a register for storing retrieval code information. You can set up to 99 user defined registers. You can define 
additional retrieval references to print, or calculate and print, the contents of the register. For example, you could use this field to calculate grand 
totals. Valid values are: 1-99

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.

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.

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.

Related Functions

None

Related Tables

None