Removed Pending Inventory Adjustment (PIA) record keeping from OLX.
Formerly, inventory adjustments that occurred as the result of a synchronization from an outside data feed, may result in PIA records when the adjustments were considered undo able. The most common cause for un-doable adjustments was that there were no order items in a status that could be moved to Back Ordered because they had moved to far along in their processing lifecycle to place in this status. PIA's could be reconciled by manually choosing items to back order, from items that were already paid or in the process of shipping. This process was the source of some confusion however and had some technical issues as well.
This patch changes the adjustment process so that quantities at locations can only be adjusted down to the minimum allowable amount, while maintaining internal consistency of inventory counts. If possible, items will be back ordered to allow for the full adjustment down to desired amount (to be in sync with quantities provided by external systems)