*/
public void loadDataCompleted(boolean error) {
if (error)
return;
DetailSaleDocRowVO vo = (DetailSaleDocRowVO)panel.getDetailPanel().getVOModel().getValueObject();
panel.getDiscountsPanel().setEnabled(true);
panel.getDiscountsPanel().setParentVO(panel.getParentVO(),vo);
panel.getDiscountsPanel().getGrid().reloadData();
panel.getBookedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.ITEM_PK,new ItemPK(vo.getCompanyCodeSys01DOC02(),vo.getItemCodeItm01DOC02()));
panel.getBookedItemsPanel().getControlItemType().setValue(vo.getProgressiveHie02DOC02());
panel.getBookedItemsPanel().getControlItemCode().setValue(vo.getItemCodeItm01DOC02());
panel.getBookedItemsPanel().getControlItemCode().getLookupController().getLookupDataLocator().getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01DOC02());
panel.getBookedItemsPanel().getControlItemCode().getLookupController().getLookupDataLocator().getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01DOC02());
panel.getBookedItemsPanel().getControlItemCode().getLookupController().forceValidate();
if (vo.getNoWarehouseMovITM01().booleanValue())
panel.getBookedItemsPanel().getGrid().clearData();
else
panel.getBookedItemsPanel().getGrid().reloadData();
panel.getOrderedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.ITEM_PK,new ItemPK(vo.getCompanyCodeSys01DOC02(),vo.getItemCodeItm01DOC02()));
panel.getOrderedItemsPanel().getControlItemType().setValue(vo.getProgressiveHie02DOC02());
panel.getOrderedItemsPanel().getControlItemCode().setValue(vo.getItemCodeItm01DOC02());
panel.getOrderedItemsPanel().getControlItemCode().getLookupController().getLookupDataLocator().getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01DOC02());
panel.getOrderedItemsPanel().getControlItemCode().getLookupController().getLookupDataLocator().getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01DOC02());
panel.getOrderedItemsPanel().getControlItemCode().getLookupController().forceValidate();
if (vo.getNoWarehouseMovITM01().booleanValue())
panel.getOrderedItemsPanel().getGrid().clearData();
else
panel.getOrderedItemsPanel().getGrid().reloadData();
}