F40071F40072GetUpdateCustItemGrp

F40071/F40072 Get/Update Cust/Item Group

Major Business Rule

Object Name: B4002140

Parent DLL: COPBASE

Location: Client/Server

Language: C

This function will retrieve, update, insert or delete from the F40071 - Customer Group Preference 
File or the F40072 - Item Group Preferences File by the processing mode, preference type, customer 

number(F40071 Key) or short item number (F40072 Key) passed in.

^

Data Structure

D4002140 - F40071/F40072 Get/Update Cust/Item Group

Parameter NameData ItemData TypeReq/OptI/O/Both
szPreferencePRFRcharNONENONE

A user defined code (40/PR) that identifies a preference type or a price adjustment hierarchy. In the user defined code table 40/PR, a 1 in 
the Special Handling Code field identifies a preference that J.D. Edwards supports. This field is hard coded for each preference. For 
Agreement Penalty Schedules, first set up a user defined code of PN (for penalty). Then enter it in this field.

mnCustomerNumberAN8MATH_NUMERICNONENONE

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

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szCustomerGroupCSTPcharNONENONE

Customer types that a customer can be grouped into for each of the different preference types.

szItemGroupITTPcharNONENONE

Item types that a item can be grouped into for each of the different preference types.

cSuppressErrorEV01charNONENONE

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

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cProcessingModeACTIcharNONENONE

A code that indicates the activity you want to perform.  Valid codes are:    A Add    C Change    I Inquire    D Delete    .     End the program    Blank 
Clear the screen  NOTE: Depending on how your company has set up action code security, you may not be authorized to use all action 
codes.

Related Functions

B9800100 Get Audit Information

Related Tables

F40071 Customer Preference Groups
F40072 Item Preference Groups