Fix [ 1880016 ] Import Accounts Hangs (if role hase maintain log checked)

This commit is contained in:
Carlos Ruiz 2008-02-15 08:36:21 +00:00
parent 8554fb8d24
commit 02d1330975
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ public class ImportAccount extends SvrProcess
}
else // Update existing
{
MElementValue ev = new MElementValue (getCtx(), C_ElementValue_ID, null);
MElementValue ev = new MElementValue (getCtx(), C_ElementValue_ID, get_TrxName());
if (ev.get_ID() != C_ElementValue_ID)
{
@ -474,7 +474,7 @@ public class ImportAccount extends SvrProcess
{
log.config("C_AcctSchema_ID=" + C_AcctSchema_ID);
MAcctSchema as = new MAcctSchema (getCtx(), C_AcctSchema_ID, null);
MAcctSchema as = new MAcctSchema (getCtx(), C_AcctSchema_ID, get_TrxName());
if (as.getAcctSchemaElement("AC").getC_Element_ID() != m_C_Element_ID)
{
log.log(Level.SEVERE, "C_Element_ID=" + m_C_Element_ID + " not in AcctSchema=" + as);