B2021-066: Procedure Level PC/PC in tree view

This commit is contained in:
2021-07-14 15:27:56 +00:00
parent 1363170e8a
commit 0dd4889e5c
7 changed files with 130 additions and 2 deletions

View File

@@ -2850,6 +2850,7 @@ namespace VEPROMS
toolsPanel.Expanded = true;
toolsTabs.SelectedTab = toolstabResults;
}
if (frmver._refreshProcedureList) tv.RefreshDocVersion(); //B2021-066: Refresh Procedure Numbers if Working Draft (docversion) applicability change
MySessionInfo.CheckInItem(ownerID);
}
else if (args.ProcedureConfig != null)

View File

@@ -255,6 +255,7 @@ namespace VEPROMS
Settings.Default.Save();
DialogResult = DialogResult.OK;
_DocVersionConfig.MyDocVersion.Config = _DocVersionConfig.ToString();
_refreshProcedureList = true;
_DocVersionConfig.MyDocVersion.Save().Dispose();
if (_EnhNeedToUnlink)
{
@@ -1509,6 +1510,7 @@ namespace VEPROMS
lbApplicabilities.SelectedItem = cfg;
}
public bool _showApplicSearchResults = false;
public bool _refreshProcedureList = false;
private bool ApplicIsUsed(MiniConfig cfg) // B2017-230 - don't allow user to remove an applicability that is being used (specified)
{
if (_showApplicSearchResults)