IDEMPIERE-1902 Minor bug in MWorkflow.runDocumentActionWorkflow

This commit is contained in:
Heng Sin Low 2014-04-16 17:16:03 -05:00
parent d3b618511b
commit a4f0254bc4
1 changed files with 1 additions and 0 deletions

View File

@ -973,6 +973,7 @@ public class MWorkflow extends X_AD_Workflow
if (!docAction.equals(po.get_Value(column.getColumnName()))) if (!docAction.equals(po.get_Value(column.getColumnName())))
{ {
po.set_ValueOfColumn(column.getColumnName(), docAction); po.set_ValueOfColumn(column.getColumnName(), docAction);
po.saveEx();
} }
ProcessInfo processInfo = new ProcessInfo (((DocAction)po).getDocumentInfo(),column.getAD_Process_ID(),po.get_Table_ID(),po.get_ID()); ProcessInfo processInfo = new ProcessInfo (((DocAction)po).getDocumentInfo(),column.getAD_Process_ID(),po.get_Table_ID(),po.get_ID());
processInfo.setTransactionName(po.get_TrxName()); processInfo.setTransactionName(po.get_TrxName());