Bypass Product Qty checks/warnings in CalloutOrder when order is DropShip
Description
When adding products in Sales Orderline, CalloutOrder checks for Qty Available, whether or not the order was flagged as DropShip. It is our belief that these checks do not have value in the case of a Drop Ship order, and that users would find the warning popups to be a nuisance.
Environment
Ubuntu 14.04.2 LTS
Attachments
1
07 May 2015, 12:50 AM
Activity
Show:
Carlin Reed May 11, 2015 at 3:01 PM
Tested the patch, and it works like we would expect. The pop-up warnings are now suppressed for Drop Ship orders.
Carlos Ruiz May 7, 2015 at 12:51 AM
@Carlin Reed, after reading the spec of drop shipment from @Joel Stangeland and adaxa, I think you're right - the drop ship orders are not intended to be delivered, so they don't need the stock validation.
Can you please test the attached patch (I just took your patch from the forums and added the same validation on the qty method).
When adding products in Sales Orderline, CalloutOrder checks for Qty Available, whether or not the order was flagged as DropShip. It is our belief that these checks do not have value in the case of a Drop Ship order, and that users would find the warning popups to be a nuisance.