MRP days to ship and inventory event planned dates issues
---------------------------------------------------------
Key: OFBIZ-1242
URL: https://issues.apache.org/jira/browse/OFBIZ-1242
Project: OFBiz
Issue Type: Bug
Reporter: Si Chen
I noticed a couple of interesting issues with the MRP algorithm:
It was using ProductFacility.daysToShip to create a buffer time for
requirements, but it was doing it for all requirements, so even manufactured
parts were having this buffer time added. I fixed it in 575413 by limiting
days to ship to only sales order related requirements. However, I believe that
daysToShip should be eliminated altogether in MRP, because I think this field
should be used as an average value for customer-related "how long it takes to
ship this order." The actual time to manufacture or order and receive an item
may vary, depend on the priority of the order, etc. If a buffer process is
required, it should be added for example as a manufacturing routing task.
The other issue is that MRP will create inventory events in the past (ie,
before the time when it's run.) I think we should limit it so that inventory
events created should be now or in the future.
If there are no comments to the contrary I will make these changes and commit
them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.