IDEMPIERE-2629 M_StorageOnHand Qty and Total M_Transaction Qty did not match
This commit is contained in:
parent
b375650101
commit
7c80d8caa4
|
@ -1362,6 +1362,8 @@ public class DB_Oracle implements AdempiereDatabase
|
|||
}
|
||||
rs = stmt.executeQuery();
|
||||
if (rs.next()) {
|
||||
// reload the record being locked - it could have changed in a different thread - IDEMPIERE-2629
|
||||
po.load(po.get_TrxName());
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
@ -1089,6 +1089,8 @@ public class DB_PostgreSQL implements AdempiereDatabase
|
|||
|
||||
rs = stmt.executeQuery();
|
||||
if (rs.next()) {
|
||||
// reload the record being locked - it could have changed in a different thread - IDEMPIERE-2629
|
||||
po.load(po.get_TrxName());
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue