IDEMPIERE-4231
This commit is contained in:
parent
61098bdf3c
commit
154d8fb0de
|
@ -345,8 +345,10 @@ public class Process {
|
|||
try
|
||||
{
|
||||
processOK = process.processIt(pi, trx, false);
|
||||
if (trxName == null)
|
||||
trx.commit();
|
||||
if (trxName == null && processOK)
|
||||
trx.commit();
|
||||
else if (trxName == null && !processOK)
|
||||
trx.rollback();
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue