B2022-107: Added an optional parameter to "GetItemAndChildrenByUnit" and "GetItemAndChildren" methods to disable the RofstLoadingStatus pop-up screen when printing baselines
This commit is contained in:
		@@ -96,10 +96,12 @@ namespace VEPROMS
 | 
			
		||||
			// B2021-088 moved this if/else from CreatePDF() so that the Approval logic will have access to this logic
 | 
			
		||||
			ProcedureInfo MyProcedure = myItem as ProcedureInfo;
 | 
			
		||||
 | 
			
		||||
			// B2022-107: Display Progress Bar Messages/Statuses when a new ROFST binary file is loaded into the database
 | 
			
		||||
			//						Added an optional parameter to "GetItemAndChildrenByUnit" and "GetItemAndChildren" methods to disable the RofstLoadingStatus pop-up screen when printing baselines
 | 
			
		||||
			if (MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave > 0 || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseSpecificTransitionModifier)
 | 
			
		||||
				MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave);
 | 
			
		||||
				MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave, allOrAuto);
 | 
			
		||||
			else
 | 
			
		||||
				MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID);
 | 
			
		||||
				MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID, allOrAuto);
 | 
			
		||||
 | 
			
		||||
			// B2021-102 moved the baseline meta file write here too - should have been done with B2021-088 fix
 | 
			
		||||
			// C2018-015 add the procedure tree path and the procedure number and title to the meta file
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user