Use this function to retieve the Item Restrictions By Customer (ship to) or Supplier.  If the 
customer master file F0301 specifies that this customer is a restricted customer, then check F4013 to see if 
this item is excluded or included for sale.  If Item Restrictions Code = I  the item is Included in 
the allowed items for sale.  If Item Restrictions Code = E  the item is Excluded from the allowed items 
for sale
^
D4200270 - Check Item Restrictions
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| cItemRestrictionsCode | EDF2 | char | NONE | NONE | 
A code that designates whether restrictions have been placed on the sale of items to this customer.
Valid values are:
   Blank No restrictions.
 
  | ||||
| mnShipToCustomer | SHAN | MATH_NUMERIC | NONE | NONE | 
The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
  | ||||
| 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 
  | ||||
| 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 
  | ||||
| cSuppressErrorMsg | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szErrorMsgID | 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 
  | ||||
| szPrimaryItemNumber | UITM | char | NONE | NONE | 
A number that the system assigns to an item. It can be in short, long, or third item number format.  | ||||
| cTestForPurchaseOrSales | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| B0000083 Convert Math Numeric to String with Left Zero Pad | 
| F4013 Order Processing Cross Reference File |