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:
parent
a19d203700
commit
c8ca009fed
@ -93,7 +93,9 @@ SchedStart:
|
|||||||
END
|
END
|
||||||
|
|
||||||
IF SchedUnits = 'T' THEN
|
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
|
END
|
||||||
|
|
||||||
IF SchedUnits = 'Q' THEN
|
IF SchedUnits = 'Q' THEN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user