Found and fixed a comparison operator bug.
This commit is contained in:
parent
8f4048a68a
commit
2332b04103
@ -395,7 +395,7 @@ Service SetReasonForReturn(RTFId, UserId, Reason)
|
|||||||
If RTFId NE '' then
|
If RTFId NE '' then
|
||||||
If RowExists('RETURN_TO_FAB_LOTS', RTFId) then
|
If RowExists('RETURN_TO_FAB_LOTS', RTFId) then
|
||||||
RTFCurrStep = Return_To_Fab_Services('GetRTFCurrStep', RTFId)
|
RTFCurrStep = Return_To_Fab_Services('GetRTFCurrStep', RTFId)
|
||||||
If RTFCurrStep EQ LE 3 AND RTFCurrStep GE 1 then
|
If RTFCurrStep LE 3 AND RTFCurrStep GE 1 then
|
||||||
RTFRecord = Database_Services('ReadDataRow', 'RETURN_TO_FAB_LOTS', RTFId, True$, 0, False$)
|
RTFRecord = Database_Services('ReadDataRow', 'RETURN_TO_FAB_LOTS', RTFId, True$, 0, False$)
|
||||||
RTFRecordComplete = RTFRecord<RETURN_TO_FAB_LOTS_COMPLETED$>
|
RTFRecordComplete = RTFRecord<RETURN_TO_FAB_LOTS_COMPLETED$>
|
||||||
If RTFRecordComplete NE True$ then
|
If RTFRecordComplete NE True$ then
|
||||||
@ -594,7 +594,7 @@ Service SetEvalInfo(RTFId, EvalUserId, ResultId)
|
|||||||
If RTFId NE '' then
|
If RTFId NE '' then
|
||||||
if RowExists('RETURN_TO_FAB_LOTS', RTFId) then
|
if RowExists('RETURN_TO_FAB_LOTS', RTFId) then
|
||||||
RTFCurrStep = Return_To_Fab_Services('GetRTFCurrStep', RTFId)
|
RTFCurrStep = Return_To_Fab_Services('GetRTFCurrStep', RTFId)
|
||||||
If RTFCurrStep EQ 4 AND RTFCurrStep LE 5 then
|
If RTFCurrStep EQ 4 OR RTFCurrStep EQ 5 then
|
||||||
If EvalUserId NE '' then
|
If EvalUserId NE '' then
|
||||||
if RowExists('LSL_USERS', EvalUserId) then
|
if RowExists('LSL_USERS', EvalUserId) then
|
||||||
If ResultId NE '' then
|
If ResultId NE '' then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user