Enhanced Error Checking

This commit is contained in:
Infineon\Ouellette
2025-08-13 14:35:00 -07:00
committed by Ouellette Jonathan (CSC FI SPS MESLEO)
parent 09d2d13e63
commit a8dff61cfa
3 changed files with 69 additions and 47 deletions

View File

@ -141,7 +141,12 @@ CreateHALItem:
//Single Load Lock Report from Metrology Services
ReportStartDtm = Http_Services('GetQueryField', 'StartDate')
ReportEndDtm = Http_Services('GetQueryField', 'EndDate')
RepJson = Report_Services('GetSLLReportJson', ReportStartDtm, ReportEndDtm)
If ReportStartDtm NE '' AND ReportEndDtm NE '' then
RepJson = Report_Services('GetSLLReportJson', ReportStartDtm, ReportEndDtm)
end else
Error_Services('Add', 'Missing parameters for report.')
end
Case Otherwise$
Error_Services('Add', 'Unsupported report')
End Case