This is from an old thread about auto requirements and ATP levels.
I have now implemented (rev. 449366) a new service that essentially does
what Scott asked in question #2; so now we have three different
requirement services that look at inventory levels:
STOCK_QOH: when qoh goes under minimum stock a requirement is created
for the reorder qty
STOCK_ATP (new): when atp goes under minimum stock a requirement is
created for the reorder qty
ATP (was STOCK_ATP): this is Si's service that creates requirement on
ATP levels and links them to the order item that caused the reservations
Jacopo
Scott Gray wrote:
Hi All
I’m trying to figure out the workings of the product requirement methods
(STOCK_QOH & STOCK_ATP), and I’ve noticed a couple of things in the
OrderServices.xml:
1. Why are ATP minimums and QOH minimums checked at different points?
For example, when inventory is shipped for orders the ATP minimum
is not checked even though the ATP value has changed (QOH
requirements are checked).
2. Why do ATP minimums not account for the inventoryItems reorder
quantity. I noticed Si Chen’s comment in the code about needing to
link original orders with the requirement, but I can’t figure out
why that is required. If there was stock available when the order
was placed it would be reserved, and when the stock from the
requirement arrives it will also be reserved for the order, so why
do we need the link from PO to SO? If I had to chose I would
rather have the reorder qty than the link.
3. Neither ATP or QOH requirement methods are checked when an
inventory variance is recorded, is there a reason for this or has
it not been looked at yet?
I’m happy to make changes if things aren’t where they need to be or
maybe I’m looking at things all wrong.
Thanks
Scott
------------------------------------------------------------------------
_______________________________________________
Dev mailing list
[EMAIL PROTECTED]
http://lists.ofbiz.org/mailman/listinfo/dev