B2023-028: RO report generates report with error when RO path not set
This commit is contained in:
@@ -787,6 +787,10 @@ namespace Volian.Controls.Library
|
|||||||
string ROList = GetListOfROs(false);//don't include the RODbID in the RO list
|
string ROList = GetListOfROs(false);//don't include the RODbID in the RO list
|
||||||
string roDataFile = BuildRODataFile(ROList);
|
string roDataFile = BuildRODataFile(ROList);
|
||||||
|
|
||||||
|
// B2023-028: RO report generates report with error when RO path not set. Return if datafile is not set
|
||||||
|
// by BuildRODataFile
|
||||||
|
if (roDataFile == null || roDataFile == "") return;
|
||||||
|
|
||||||
if (Mydocversion != null)
|
if (Mydocversion != null)
|
||||||
OnPrintRequest(new DisplayReportsEventArgs("Complete RO Report", "Complete RO Report", roDataFile, MyROFSTLookup, cbxComplete.Checked, Mydocversion.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, cbxIncldMissingROs.Checked, paperSize));
|
OnPrintRequest(new DisplayReportsEventArgs("Complete RO Report", "Complete RO Report", roDataFile, MyROFSTLookup, cbxComplete.Checked, Mydocversion.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, cbxIncldMissingROs.Checked, paperSize));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user