vo.setCompanyCodeSys01DOC01(companyCode);
// retrieve payment info...
ArrayList companiesList = new ArrayList();
companiesList.add(vo.getCompanyCodeSys01DOC01());
LookupValidationParams pars = new LookupValidationParams(vo.getPaymentCodeReg10DOC01(),new HashMap());
Response payResponse = payBean.validatePaymentCode(pars,serverLanguageId,username,new ArrayList(),companiesList);
if (payResponse.isError())
throw new Exception(payResponse.getErrorMessage());
PaymentVO payVO = (PaymentVO)((VOListResponse)payResponse).getRows().get(0);
vo.setFirstInstalmentDaysDOC01(payVO.getFirstInstalmentDaysREG10());
vo.setInstalmentNumberDOC01(payVO.getInstalmentNumberREG10());
vo.setPaymentTypeDescriptionDOC01(payVO.getPaymentTypeDescriptionSYS10());
vo.setStartDayDOC01(payVO.getStartDayREG10());
vo.setStepDOC01(payVO.getStepREG10());
// retrieve currency info...
pars = new LookupValidationParams(vo.getCurrencyCodeReg03DOC01(),new HashMap());
Response currResponse = currBean.validateCurrencyCode(pars,serverLanguageId,username,new ArrayList());
if (currResponse.isError())
throw new Exception(currResponse.getErrorMessage());
CurrencyVO currVO = (CurrencyVO)((VOListResponse)currResponse).getRows().get(0);
vo.setCurrencySymbolREG03(currVO.getCurrencySymbolREG03());