From c8ca009fed2b2a2b565a2fe8efa7620ff33dbed1 Mon Sep 17 00:00:00 2001 From: "Infineon\\Ouellette" Date: Fri, 21 Feb 2025 09:31:13 -0700 Subject: [PATCH] Changed logic for sched. start. If the sched start landed on a midnight it was returning a blank value and to IConv wasn't working. --- LSL2/STPROC/OBJ_PM_SPEC.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LSL2/STPROC/OBJ_PM_SPEC.txt b/LSL2/STPROC/OBJ_PM_SPEC.txt index 9e27789..0cb6338 100644 --- a/LSL2/STPROC/OBJ_PM_SPEC.txt +++ b/LSL2/STPROC/OBJ_PM_SPEC.txt @@ -93,7 +93,9 @@ SchedStart: END IF SchedUnits = 'T' THEN - SchedStart = OCONV(PMRec,'D4'):' ':OCONV(PMRec,'MT') + ThisSchedTime = OCONV(PMRec,'MT') + if ThisSchedTime = '' then ThisSchedTime = '00:00' + SchedStart = OCONV(PMRec,'D4'):' ':ThisSchedTime END IF SchedUnits = 'Q' THEN