InventoryItemVO vo = (InventoryItemVO)inputPar;
try {
Inventories bean = (Inventories)JAIOBeanFactory.getInstance().getBean(Inventories.class);
vo = bean.insertInventoryItem(vo,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());
return new VOResponse(vo);
}
catch (Throwable ex) {
Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
return new ErrorResponse(ex.getMessage());
}