The description save not when the consolidate document is N
http://sourceforge.net/tracker/?func=detail&aid=2807284&group_id=176962&atid=879332
This commit is contained in:
parent
5d5f0fae94
commit
91a57b1253
|
@ -1059,12 +1059,12 @@ public class DistributionRun extends SvrProcess
|
|||
//line.setTargetQty(detail.getActualAllocation());
|
||||
line.setTargetQty(Env.ZERO);
|
||||
//line.setConfirmedQty(detail.getActualAllocation());
|
||||
line.setDescription(m_run.getName());
|
||||
if (!line.save())
|
||||
{
|
||||
log.log(Level.SEVERE, "OrderLine not saved");
|
||||
return false;
|
||||
}
|
||||
String Description ="";
|
||||
if (m_run.getName() != null)
|
||||
Description =Description.concat(m_run.getName());
|
||||
line.setDescription(Description + " " +Msg.translate(getCtx(), "Qty")+ " = " +detail.getActualAllocation()+" ");
|
||||
line.saveEx();
|
||||
|
||||
}
|
||||
addLog(0,null, detail.getActualAllocation(), order.getDocumentNo()
|
||||
+ ": " + bp.getName() + " - " + product.getName());
|
||||
|
|
Loading…
Reference in New Issue