sub.getProgressiveREG04(),
null, // it's not very good...
null, // it's not very good...
sub.getSubjectTypeREG04()
);
SubjectPK pk = new SubjectPK(
sub.getCompanyCodeSys01REG04(),
sub.getProgressiveREG04()
);
// gridFrame.reloadData();
detailFrame.getReferencesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
pk
);
detailFrame.getReferencesPanel().getGrid().reloadData();
detailFrame.getHierarchiesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
pk
);
detailFrame.getHierarchiesPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_TYPE,
ApplicationConsts.SUBJECT_ORGANIZATION_CONTACT
);
detailFrame.getHierarchiesPanel().getGrid().reloadData();
detailFrame.getContactsPanel().getGrid().getOtherGridParams().put(
ApplicationConsts.SUBJECT_PK,
pk
);
detailFrame.getContactsPanel().getGrid().reloadData();
detailFrame.getActivitiesGrid().getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,pk.getCompanyCodeSys01REG04());
detailFrame.getActivitiesGrid().getOtherGridParams().put(ApplicationConsts.PROGRESSIVE_REG04_SUBJECT,pk.getProgressiveREG04());
detailFrame.getActivitiesGrid().reloadData();
// disable people contacts panel if this is not an organization...
if (organization!=null || subVO.getSubjectTypeREG04().equals(ApplicationConsts.SUBJECT_PEOPLE_CONTACT))
detailFrame.getTabbedPane().setEnabledAt(3,false);