BT 2788726 Reordering acct schema elements fails to update accounts
Clear cache happens too late
This commit is contained in:
parent
33ee0e0cf3
commit
e515fb3d8e
|
@ -478,12 +478,15 @@ public final class MAcctSchemaElement extends X_C_AcctSchema_Element
|
||||||
else if (ELEMENTTYPE_Project.equals(getElementType()))
|
else if (ELEMENTTYPE_Project.equals(getElementType()))
|
||||||
updateData (COLUMNNAME_C_Project_ID, getC_Project_ID());
|
updateData (COLUMNNAME_C_Project_ID, getC_Project_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear Cache
|
||||||
|
s_cache.clear();
|
||||||
|
|
||||||
// Resequence
|
// Resequence
|
||||||
if (newRecord || is_ValueChanged(COLUMNNAME_SeqNo))
|
if (newRecord || is_ValueChanged(COLUMNNAME_SeqNo))
|
||||||
MAccount.updateValueDescription(getCtx(),
|
MAccount.updateValueDescription(getCtx(),
|
||||||
"AD_Client_ID=" + getAD_Client_ID(), get_TrxName());
|
"AD_Client_ID=" + getAD_Client_ID(), get_TrxName());
|
||||||
// Clear Cache
|
|
||||||
s_cache.clear();
|
|
||||||
return success;
|
return success;
|
||||||
} // afterSave
|
} // afterSave
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue