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