BF [ 2549326 ] I not receive notification MRP-120
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2549326&group_id=176962
This commit is contained in:
parent
8ea9bd3cb5
commit
ece8b5ce20
|
|
@ -1049,11 +1049,14 @@ public class MRP extends SvrProcess
|
|||
qty = qty != null ? qty : Env.ZERO;
|
||||
|
||||
MMessage msg = MMessage.get(getCtx(), code);
|
||||
String message = Msg.getMsg(getCtx(), msg.getValue());
|
||||
|
||||
int user_id = 0;
|
||||
if (PP_MRP_ID == 0 && m_product_planning != null)
|
||||
if (m_product_planning != null)
|
||||
{
|
||||
user_id = m_product_planning.getPlanner_ID();
|
||||
String message = Msg.getMsg(getCtx(), msg.getValue());
|
||||
}
|
||||
|
||||
if (documentNo.length() > 0)
|
||||
message += " " + Msg.translate(getCtx(), MPPOrder.COLUMNNAME_DocumentNo) +":" + documentNo;
|
||||
if (qty != null)
|
||||
|
|
@ -1074,7 +1077,6 @@ public class MRP extends SvrProcess
|
|||
log.info(code+": "+note.getTextMsg());
|
||||
count_Msg += 1;
|
||||
}
|
||||
}
|
||||
|
||||
private int getDDOrder_ID(int AD_Org_ID,int M_Warehouse_ID, int M_Shipper_ID,int C_BPartner_ID, Timestamp DatePromised)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue