Added in case for when WMI is on hold in Curr Status Calc
This commit is contained in:
parent
69ab8a3911
commit
25d9ebb6b7
@ -646,7 +646,6 @@ RETURN
|
|||||||
* * * * * * *
|
* * * * * * *
|
||||||
CurrStatus:
|
CurrStatus:
|
||||||
* * * * * * *
|
* * * * * * *
|
||||||
|
|
||||||
* If @User4 EQ 'DANIEL_ST' then SRP_Stopwatch('Reset')
|
* If @User4 EQ 'DANIEL_ST' then SRP_Stopwatch('Reset')
|
||||||
* If @User4 EQ 'DANIEL_ST' then SRP_Stopwatch('Start', 'Begin CurrStatus')
|
* If @User4 EQ 'DANIEL_ST' then SRP_Stopwatch('Start', 'Begin CurrStatus')
|
||||||
IF NOT(ASSIGNED(WOMatKey)) THEN WOMatKey = Parms[1,@RM]
|
IF NOT(ASSIGNED(WOMatKey)) THEN WOMatKey = Parms[1,@RM]
|
||||||
@ -799,7 +798,8 @@ IF WMIKey NE '' OR WMOKey NE '' THEN
|
|||||||
|
|
||||||
CASE WMIStatus EQ 'MT' and WMOStatus EQ 'RTB'
|
CASE WMIStatus EQ 'MT' and WMOStatus EQ 'RTB'
|
||||||
Result = 'RTB'
|
Result = 'RTB'
|
||||||
|
Case WMIStatus EQ 'HOLD' and WMOStatus NE ''
|
||||||
|
Result = WMOStatus
|
||||||
CASE InboundStat = '' AND OutboundStat = ''
|
CASE InboundStat = '' AND OutboundStat = ''
|
||||||
Result = ''
|
Result = ''
|
||||||
|
|
||||||
@ -4457,7 +4457,6 @@ SetSAPBatch:
|
|||||||
|
|
||||||
CassID = FileIn<1,1>
|
CassID = FileIn<1,1>
|
||||||
SAPBatchNo = FileIn<1,2>
|
SAPBatchNo = FileIn<1,2>
|
||||||
|
|
||||||
ErrFields = ''
|
ErrFields = ''
|
||||||
ErrValues = ''
|
ErrValues = ''
|
||||||
ErrDescs = ''
|
ErrDescs = ''
|
||||||
@ -5598,3 +5597,4 @@ ExpCOA:
|
|||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user