AccountHelperLocal helperL = null;
try
{
InitialContext ic = CVUtility.getInitialContext();
AccountHelperLocalHome home = (AccountHelperLocalHome ) ic.lookup("local/AccountHelper");
helperL = home.create();
delIds = helperL.deleteObjects(modulename, ids);
logger.info("PaymentMethods " + delIds +" objects deleted");
}catch(Exception e)
{
logger.debug("Error in deleting PaymentMethod : "+e);