[OFBiz] Users - generating minimum stock requirements

Jacopo Cappellato tiz at sastau.it
Fri Jul 29 07:06:31 EDT 2005


Hi Si,

please see my comments inline:

Si Chen wrote:
> Jacopo,
> 
> All done (SVN r5409).  You can try it with this patch file (sorry, I 
> can't commit to the product component).

Ok, I've added the new requirement method to the product's seed data.

> I also re-factored some of your simple-methods to re-use the code 
> better.  I had to implement a new feature in checkCreateStockRequirement 
> -- if requirements already exist, I have to check if the total 
> quantities from past requirements is already sufficient to cover the 
> inventory shortfall.  Does this apply to the rest of your application?
> 

I had a quick look at your work and it seems excellent: many thanks for
all the improvements you've introduced.

> Also, noticed a couple of other things along the way:
> 1.  You can add requirements which aren't approved to the purchase order

This is now fixed in svn rev 5413

> 2.  The link to EditRequirement in Manufacturing from the order items is 
> broken

Are you sure? It works for me... could you give me more info please?

> 3.  When you add the same item from multiple requirements, they are 
> consolidated to one item on the purchase order.  Hence, the PO-SO link 
> could not go back to all the items.  Maybe we need to fix it so that 
> items from separate requirements aren't added to the same shopping cart 
> item?
> 

This should be fixed in SVN with rev 5414.


> Thanks,
> 
> Si
> 

Thanks,

Jacopo



More information about the Users mailing list