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.
^
D4002140 - F40071/F40072 Get/Update Cust/Item Group
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szPreference | PRFR | char | NONE | NONE | 
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 
  | ||||
| mnCustomerNumber | AN8 | MATH_NUMERIC | NONE | NONE | 
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
  | ||||
| mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE | 
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
  | ||||
| szCustomerGroup | CSTP | char | NONE | NONE | 
Customer types that a customer can be grouped into for each of the different preference types.  | ||||
| szItemGroup | ITTP | char | NONE | NONE | 
Item types that a item can be grouped into for each of the different preference types.  | ||||
| cSuppressError | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cErrorCode | ERRC | char | NONE | NONE | 
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
  | ||||
| szErrorMessageID | DTAI | char | NONE | NONE | 
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 
  | ||||
| cProcessingMode | ACTI | char | NONE | NONE | 
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 
  | ||||
| B9800100 Get Audit Information | 
| F40071 Customer Preference Groups | ||||
| F40072 Item Preference Groups |