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.

This commit is contained in:
Infineon\Ouellette 2025-02-21 09:31:13 -07:00
parent a19d203700
commit c8ca009fed

View File

@ -93,7 +93,9 @@ SchedStart:
END
IF SchedUnits = 'T' THEN
SchedStart = OCONV(PMRec<PM_SCHED_DT$>,'D4'):' ':OCONV(PMRec<PM_SCHED_TM$>,'MT')
ThisSchedTime = OCONV(PMRec<PM_SCHED_TM$>,'MT')
if ThisSchedTime = '' then ThisSchedTime = '00:00'
SchedStart = OCONV(PMRec<PM_SCHED_DT$>,'D4'):' ':ThisSchedTime
END
IF SchedUnits = 'Q' THEN