Fixed big issues with the new trx management

BF [1920179] - VPayment completing documents outside of Trx
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1920179&group_id=176962
PO is marking the key as null on VPayment
This commit is contained in:
Carlos Ruiz 2009-08-13 18:12:19 +00:00
parent 5c2db95c02
commit 1250197eef
1 changed files with 1 additions and 1 deletions

View File

@ -1885,7 +1885,7 @@ public abstract class PO
//
for (int i = 0; i < m_IDs.length; i++)
{
if (m_IDs[i].equals(I_ZERO))
if (m_IDs[i].equals(I_ZERO) || m_IDs[i] == Null.NULL)
continue;
return false; // one value is non-zero
}