public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
GridParams pars = (GridParams)inputPar;
try {
SaleDocPK pk = (SaleDocPK)pars.getOtherGridParams().get(ApplicationConsts.SALE_DOC_PK);
VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(pk.getCompanyCodeSys01DOC01());
LoadSaleDocRows bean = (LoadSaleDocRows)JAIOBeanFactory.getInstance().getBean(LoadSaleDocRows.class);
Response answer = bean.loadSaleDocRows(
vo.getVariant1Descriptions(),
vo.getVariant2Descriptions(),
vo.getVariant3Descriptions(),
vo.getVariant4Descriptions(),
vo.getVariant5Descriptions(),
pars,
((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),
userSessionPars.getUsername()
);
return answer;