B2023-028: RO report generates report with error when RO path not set
This commit is contained in:
parent
ab4b4e8b6d
commit
48d395f5be
@ -787,6 +787,10 @@ namespace Volian.Controls.Library
|
||||
string ROList = GetListOfROs(false);//don't include the RODbID in the RO list
|
||||
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)
|
||||
OnPrintRequest(new DisplayReportsEventArgs("Complete RO Report", "Complete RO Report", roDataFile, MyROFSTLookup, cbxComplete.Checked, Mydocversion.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, cbxIncldMissingROs.Checked, paperSize));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user