IDEMPIERE-892 in window generate charge, not work create new record

This commit is contained in:
Richard Morales 2013-05-04 14:52:54 -05:00
parent 27c8f4b306
commit b2c2245e83
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ public class Charge
MElementValue.ACCOUNTSIGN_Natural, MElementValue.ACCOUNTSIGN_Natural,
false, false, null); false, false, null);
ev.setAD_Org_ID(m_AD_Org_ID); ev.setAD_Org_ID(m_AD_Org_ID);
ev.setC_Element_ID(m_C_Element_ID);
if (!ev.save()) if (!ev.save())
log.log(Level.WARNING, "C_ElementValue_ID not created"); log.log(Level.WARNING, "C_ElementValue_ID not created");
return ev.getC_ElementValue_ID(); return ev.getC_ElementValue_ID();