0 pts.
 Limiting quantities on sales order
We have two measures for quantity: each and truckload. I am trying to limit the amount of truckloads that can be ordered. Example user can order 50 each of product but not 50 truckloads. the difference would be in the qty field. Thanks

Software/Hardware used:
ASKED: May 25, 2005  8:41 PM
UPDATED: May 28, 2005  6:46 PM

Answer Wiki:
you do input validation I assume.. (you do don't you) then it is just add another validation i.e. if (input_truckload) >= 50 then return ('Invalid Input Truckoad is greater than maximum for one order') or You have entered as %input_truckload% instead of Each are you sure that it is Truckloads of product and not Quanity Each of this item (y/n) (default entry is n (no) or simply remove the truckload field entirely and instruct salesmen that 1 truckload is 'x' quantity of items and dynamically change the ea to truckloads for the shipping department
Last Wiki Answer Submitted:  May 28, 2005  6:46 pm  by  Ve3ofa   80 pts.
All Answer Wiki Contributors:  Ve3ofa   80 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _