max_unit_price_diff_percent Behavior Changed in v18
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
In a previous version, we were instructed to set the setenv max_unit_price_diff_percent to 9999 to prevent the error message when adding line items.
In v18, this is no longer working.
The system is now only reading the first 3 characters (as 999%) of the environment variable and is applying the 999% upper limit to the order price and presents the "Actual unit price exceeds the estimated unit price by more than 999%". We have many orders which were converted with a default price of .01. This means that any line item added for more than .10 (.01* 9.99) is generating the error.
Is there a way to configure the system so that this check is not made?
Resolution:
In order to *not* receive the alert message:
"Actual unit price ($1 $2) exceeds the estimated unit price ($3 $4) by more than $5 percent. Continue?"
Please comment out the line
setenv max_unit_price_diff_percent
in the file pc_server_defaults, which is located under $alephe_root.
Additional Information
unit price, max_unit_price_diff_percent
- Article last edited: 10/8/2013