public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
LookupValidationParams validationPars = (LookupValidationParams)inputPar;
try {
CustomizedWindows cust = ((JAIOUserSessionParameters)userSessionPars).getCustomizedWindows();
ArrayList customizedFields = cust.getCustomizedFields(ApplicationConsts.ID_LEDGER);
LedgerServices bean = (LedgerServices)JAIOBeanFactory.getInstance().getBean(LedgerServices.class);
ArrayList companiesList = ((JAIOUserSessionParameters)userSessionPars).getCompanyBa().getCompaniesList("WAR01");
Response answer = bean.validateLedgerCode(validationPars,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),companiesList,customizedFields);