I've been tasked with creating a stock replenishment form to help keep our stockroom levels at preset levels. I have a Form with an IDO that extends (but not replaces) SLItemWhses. The stock room sets the minimum QOH and the maximum QOH for each item's Rank 1 location. The "Refill location" is being pulled from SLItemLocs based on filter criteria determined by the stock room manager. What I'm trying to figure out how to do is to fill in the "Restock Qty" based off of the available QtyOnHand in the location shown. Depending on QtyOnHand, the value would either be: all on hand, the difference between rank 1 on hand and maximum or zero if none is available.
How would I store the calculated value in the Grid cell? Both the "Refill Loc" and "Restock QTY" are unbound properties in my IDO.
