* @param error <code>true</code> if an error occours during data loading, <code>false</code> if data loading is successfully completed
*/
public void loadDataCompleted(boolean error) {
detailFrame.getReferencesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
new SubjectPK(pk.getCompanyCodeSys01SAL07(),pk.getProgressiveReg04SAL07())
);
detailFrame.getReferencesPanel().getGrid().reloadData();
detailFrame.getHierarchiesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
new SubjectPK(pk.getCompanyCodeSys01SAL07(),pk.getProgressiveReg04SAL07())
);
detailFrame.getHierarchiesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_TYPE,
ApplicationConsts.SUBJECT_ORGANIZATION_CUSTOMER
);
try {
detailFrame.getHierarchiesPanel().getGrid().setMode(Consts.READONLY);
detailFrame.getHierarchiesPanel().getGrid().reloadData();
}
catch (Exception ex) {
}
detailFrame.getDiscountsGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
pk
);
detailFrame.getDiscountsGrid().reloadData();
detailFrame.getDestGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
new SubjectPK(pk.getCompanyCodeSys01SAL07(),pk.getProgressiveReg04SAL07())
);
detailFrame.getDestGrid().reloadData();
detailFrame.getAgentDataLocator().getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,pk.getCompanyCodeSys01SAL07());
detailFrame.getAgentDataLocator().getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,pk.getCompanyCodeSys01SAL07());