CustomerMasterRetrievalFucntion

Retrieve Customer Master Information Function (F03012)

Minor Business Rule

Object Name: N48S0621

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0621 - Retrieve Customer Master Information Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataAliasCustMaster_R01PCMR01PCMcharREQINPUT

Use this parameter to retrieve information from the Customer Master table (F03012). 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    ARC (G/L Class)    MCUR (Business Unit - A/R Default)    OBAR (Object - A/R Default)    AIDR (Subsidiary - A/R 
Default)    KCOR (Document Company (A/R Model Document))    DTAR (Document Type (A/R Default for Model)    CRCD (Currency Code - 
From)    TXA1              (Tax Rate/Area)    EXR1              (Tax Explanation Code 1)    TRAR (Payment Terms - A/R)    ALGM (Auto Receipt Algorithm 
Method)    CYCM(Statement Cycle)    TSTA (Temporary Credit Message)    PLCR (Person Completing Last Credit Limit Review)    CMGR(Credit 
Manager)    CLMG (Collection Manager)    DB (Dun Bradstreet Rating)    TRW (TRW Rating)    CRCA (Currency code - A/B Amounts)    POPN 
(Person Opening Account)    CPGP (Customer Price Group)    ORTP (Order Template)    INMG (Print Message)    HOLD(Hold Orders 
Code) ROUT (Route Code)    STOP (Stop Code)    ZON (Zone Number)    DEL1              (Delivery Instructions Line 1)    DEL2              (Delivery Instructions 
Line 2)    FRTH (Freight Handling Code)    VUMD(Unit of Measure - Volume Display)    WUMD(Unit of Measure - Weight Display)    URCD (User 
Reserved Code)    URRF (User Reserved Reference)    ASN (Price and Adjustment Schedule)    ARL (Auto Receipts Execution List)    AC01          
    (Category Code - Address book 01)    AC02              Category Code - Address book 02)    AC03              (Category Code - Address book 03)    
AC04              (Category Code - Address book 04)    AC05              (Category Code - Address book 05)    AC06              (Category Code - 
Address book 06)    AC07              (Category Code - Address book 07)    AC08              (Category Code - Address book 08)    AC09              (Category 
Code - Address book 09)    AC10              (Category Code - Address book 10)    AC11              (Sales Region)    AC12              (Category Code - 
Address book 12)    AC13              (Category Code - Address book 13)    AC14              (Category Code - Address book 14)    AC15              (Category 
Code - Address book 15)    AC16              (Category Code - Address book 16)    AC17              (Category Code - Address book 17)    AC18              
(Category Code - Address book 18)    AC19              (Category Code - Address book 19)    AC20              (Category Code - Address book 20)    AC21   
           (Category Code - Address book 21)    AC22              (Category Code - Address book 22)    AC23              (Category Code - Address book 
23)    AC24              (Category Code - Address book 24)    AC25              (Category Code - Address book 25)    AC26              (Category Code - 
Address book 26)    AC27              (Category Code - Address book 27)    AC28              (Category Code - Address book 28)    AC29              (Category 
Code - Address book 29)    AC30              (Category Code - Address book 30)    SLPG (Program Name - Shipping Lables)    SLDW (Version 
Name - Shipping Label Program)    CFPP (Configuration Pick and Pack)    CFSP (Configuration Standard Carton Pack)    DR03              (Default 
Identification Code Qualifier 1)    DR04              (Default Identification Code Qualifier 2)    DR08              (Default Reference Number Qualifier 1)    
DR09              (Default Identification Code Qualifier)   

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_NUMERICREQINPUT

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

mnAddressNumberJobAr_AN8OAN8OMATH_NUMERICREQINPUT

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

szCostCenter_MCUMCUcharREQINPUT

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_SBLSBLcharREQINPUT

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_SBLTSBLTcharREQINPUT

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_NUMERICREQINPUT

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_DCTODCTOcharREQINPUT

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_KCOOKCOOcharREQINPUT

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.

mnPrevAddressNumber_AN8AN8MATH_NUMERICREQINPUT

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

mnPrevAddressNumberJobAr_AN8OAN8OMATH_NUMERICREQINPUT

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

szPrevCostCenter_MCUMCUcharREQINPUT

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_SBLSBLcharREQINPUT

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_SBLTSBLTcharREQINPUT

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  

mnPrevDocumentOrderInv_DOCODOCOMATH_NUMERICREQINPUT

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_DCTODCTOcharREQINPUT

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_KCOOKCOOcharREQINPUT

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_FTSCFTSCcharREQINPUT

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.

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.

szCompany_COCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szPrevCompany_COCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

Related Functions

None

Related Tables

None