pre cutover push
This commit is contained in:
@ -186,6 +186,7 @@ end event
|
||||
Event CMB_STOP_AFTER.CHANGED(NewData)
|
||||
|
||||
GoSub UpdateWorkOrderDetails
|
||||
Set_Property(CtrlEntID, 'TEXT', NewData)
|
||||
GoSub EnableSaveButton
|
||||
|
||||
end event
|
||||
@ -318,10 +319,10 @@ UpdateWorkOrderDetails:
|
||||
end
|
||||
end
|
||||
Convert @VM to @FM in StopAfterList
|
||||
StopRun = Get_Property(@Window:'.CMB_STOP_AFTER', 'TEXT')
|
||||
Set_Property(@Window:'.CMB_STOP_AFTER', 'LIST', StopAfterList)
|
||||
CassList = StopAfterList
|
||||
NumStopRuns = DCount(CassList, @FM)
|
||||
StopRun = Get_Property(@Window:'.CMB_STOP_AFTER', 'TEXT')
|
||||
ModifyRunQty = 0
|
||||
For Run = 1 to StopRun
|
||||
RDSNo = RDSNos<0, Run>
|
||||
@ -338,6 +339,7 @@ UpdateWorkOrderDetails:
|
||||
end
|
||||
TotalRunTime = EndDTM - StartDTM
|
||||
end else
|
||||
StopCass = Get_Property(@Window:'.CMB_STOP_AFTER', 'TEXT')
|
||||
If CassList EQ '' then
|
||||
StopAfterList = SRP_Array('Join', EventCurrCass, EventUnprocCass, 'OR', @VM)
|
||||
StopAfterList = SRP_Array('SortSimpleList', StopAfterList, 'AscendingNumbers', @VM)
|
||||
@ -350,10 +352,10 @@ UpdateWorkOrderDetails:
|
||||
end
|
||||
Convert @VM to @FM in StopAfterList
|
||||
Set_Property(@Window:'.CMB_STOP_AFTER', 'LIST', StopAfterList)
|
||||
Set_Property(@Window:'.CMB_STOP_AFTER', 'TEXT', StopCass)
|
||||
CassList = StopAfterList
|
||||
end
|
||||
NumStopCass = DCount(CassList, @FM)
|
||||
StopCass = Get_Property(@Window:'.CMB_STOP_AFTER', 'TEXT')
|
||||
ModifyCassQty = 0
|
||||
Locate StopCass in CassList using @FM setting fPos then
|
||||
For CassIndex = (fPos + 1) to NumStopCass
|
||||
@ -445,6 +447,3 @@ EnableSaveButton:
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user