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:
parent
ba6001b42f
commit
8ea9bd3cb5
|
@ -693,13 +693,13 @@ public class MRP extends SvrProcess
|
|||
// Check Order Min
|
||||
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)
|
||||
{
|
||||
String comment = Msg.translate(getCtx(), I_PP_Product_Planning.COLUMNNAME_Order_Min)
|
||||
+ ":" + m_product_planning.getOrder_Min();
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue