CustomizedWindows cust = ((JAIOUserSessionParameters)userSessionPars).getCustomizedWindows();
ArrayList customizedFields = cust.getCustomizedFields(new BigDecimal(282));
// retrieve internationalization settings (Resources object)...
ServerResourcesFactory factory = (ServerResourcesFactory)context.getAttribute(Controller.RESOURCES_FACTORY);
String serverLanguageId = ((JAIOUserSessionParameters)userSessionPars).getServerLanguageId();
String t1 = factory.getResources(serverLanguageId).getResource("there is already another people with the same first and last name.");
String t2 = factory.getResources(serverLanguageId).getResource("there is already another organization with the same corporate name.");
Customers bean = (Customers)JAIOBeanFactory.getInstance().getBean(Customers.class);
Response answer = null;
if (newVO.getSubjectTypeREG04().equals(ApplicationConsts.SUBJECT_ORGANIZATION_CUSTOMER))
answer = bean.updateOrganization((OrganizationVO)oldVO,(OrganizationVO)newVO,t1,t2,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),customizedFields);