Implementation the Safety Stock in MRP

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2928680
This commit is contained in:
vpj-cd 2010-01-11 11:15:59 +00:00
parent 2ddaac9cbe
commit d0911da112
3 changed files with 7 additions and 11 deletions

View File

@ -35,7 +35,6 @@ mrp.pp_order_bomline_id,
mrp.dd_order_id,
mrp.dd_orderline_id,
mrp.qty,
mrp.name,
mrp.s_resource_id,
mrp.planner_id,
mrp.priority,
@ -84,7 +83,6 @@ null, --pp_order_bomline_id
null, --mrp.dd_order_id,
null, --mrp.dd_orderline_id,
pp.safetystock - bomqtyonhand(pp.M_Product_ID,pp.M_Warehouse_ID, 0) AS qty, --mrp.qty,
null, --mrp.name,
pp.s_resource_id,
null, --planner_id
null, --mrp.priority,

View File

@ -35,7 +35,6 @@ mrp.pp_order_bomline_id,
mrp.dd_order_id,
mrp.dd_orderline_id,
mrp.qty,
mrp.name,
mrp.s_resource_id,
mrp.planner_id,
mrp.priority,
@ -84,7 +83,6 @@ null, --pp_order_bomline_id
null, --mrp.dd_order_id,
null, --mrp.dd_orderline_id,
pp.safetystock - bomqtyonhand(pp.M_Product_ID,pp.M_Warehouse_ID, 0) AS qty, --mrp.qty,
null, --mrp.name,
pp.s_resource_id,
null, --planner_id
null, --mrp.priority,

View File

@ -65,13 +65,13 @@ null, --name
null, --description
null, --mrp.c_order_id
null, --mrp.c_orderline_id
CURRENT_TIMESTAMP, --mrp.dateordered,
CURRENT_TIMESTAMP, --mrp.dateconfirm,
CURRENT_TIMESTAMP, --mrp.datepromised,
CURRENT_TIMESTAMP, --mrp.datestartschedule,
CURRENT_TIMESTAMP, --mrp.datefinishschedule,
CURRENT_TIMESTAMP, --mrp.datestart,
CURRENT_TIMESTAMP, --mrp.datesimulation,
SYSDATE, --mrp.dateordered,
SYSDATE, --mrp.dateconfirm,
SYSDATE, --mrp.datepromised,
SYSDATE, --mrp.datestartschedule,
SYSDATE, --mrp.datefinishschedule,
SYSDATE, --mrp.datestart,
SYSDATE, --mrp.datesimulation,
'CO', --mrp.docstatus,
null, --mrp.m_forecast_id,
null, --mrp.m_forecastline_id,