B2025-037 When Export an Approved procedure with multi-unit and ROs with Parent Child, it exports as the default text and not the specific unit text. #597
@@ -1309,7 +1309,7 @@ namespace VEPROMS
 | 
			
		||||
				pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
 | 
			
		||||
				if (si.IsApproved == 1)
 | 
			
		||||
				{
 | 
			
		||||
					dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (E_UCFImportOptions)0); // "true tell export to convert ROs and Transitions to text
 | 
			
		||||
					dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (E_UCFImportOptions)0, selectedSlave); // "true tell export to convert ROs and Transitions to text
 | 
			
		||||
					dlg.DocReplace = frm.DocReplace;  // this tells approval to prepare an export file with resolved transitions and ROs, word sections are saved with resolved ROs during approval PDF creation and saved in DocReplace
 | 
			
		||||
					System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
 | 
			
		||||
					dlg.ExportItem(xd, pi, "procedure");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user