minor bug fix to release lock if record not updated

This commit is contained in:
Infineon\StieberD
2025-07-11 10:44:14 -07:00
parent eb85afaf35
commit 1d32ec4fbb

View File

@ -3763,6 +3763,8 @@ Service UpdateReactorIQSViolations()
ReactorRec<REACTOR_IQS_ALARM_TEST$> = ''
// WriteDataRow will clear the lock as long as "IgnoreAllLocks" is false
Database_Services('WriteDataRow', 'REACTOR', ReactNo, ReactorRec, True$, False$, False$)
end else
Database_Services('ReleaseKeyIDLock', 'REACTOR', ReactNo)
end
end
end