BF [ 2549348 ] I not receiving the MRP-080 Notification

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2549348&group_id=176962
This commit is contained in:
teo_sarca 2009-01-30 15:15:21 +00:00
parent ba6001b42f
commit 8ea9bd3cb5
1 changed files with 1 additions and 1 deletions

View File

@ -693,13 +693,13 @@ public class MRP extends SvrProcess
// Check Order Min // Check Order Min
if(QtyPlanned.signum() > 0 && m_product_planning.getOrder_Min().signum() > 0) if(QtyPlanned.signum() > 0 && m_product_planning.getOrder_Min().signum() > 0)
{ {
QtyPlanned = QtyPlanned.max(m_product_planning.getOrder_Min());
if (m_product_planning.getOrder_Min().compareTo(QtyPlanned) > 0) if (m_product_planning.getOrder_Min().compareTo(QtyPlanned) > 0)
{ {
String comment = Msg.translate(getCtx(), I_PP_Product_Planning.COLUMNNAME_Order_Min) String comment = Msg.translate(getCtx(), I_PP_Product_Planning.COLUMNNAME_Order_Min)
+ ":" + m_product_planning.getOrder_Min(); + ":" + m_product_planning.getOrder_Min();
createMRPNote("MRP-080", AD_Org_ID, PP_MRP_ID, M_Product , null, QtyPlanned, comment ); createMRPNote("MRP-080", AD_Org_ID, PP_MRP_ID, M_Product , null, QtyPlanned, comment );
} }
QtyPlanned = QtyPlanned.max(m_product_planning.getOrder_Min());
} }
// Check Order Max // Check Order Max