added AD group support to notifications system
This commit is contained in:
@ -163,7 +163,7 @@ Service ChangeToolMode(ToolID, NewMode, NewReason, CurrUser, ForceModeChange)
|
||||
// Close old mode record
|
||||
// Don't wait for the indexer. Flush pending index transactions BEFORE reading
|
||||
// the Tool CURR_MODE_KEY.
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$)
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$, True$)
|
||||
// Get Current Mode - There should only be one key, but we will verify before proceeding.
|
||||
CurrModeKeys = Xlate('TOOL', ToolID, TOOL_CURR_MODE_KEY$, 'X')
|
||||
// CurrModeKey will be set within the following GoSub
|
||||
@ -313,10 +313,10 @@ VerifyCurrModeIndex:
|
||||
StopDtm = ToolLogRec<TOOL_LOG_STOP_DTM$>
|
||||
ToolLogRec<TOOL_LOG_STOP_DTM$> = ''
|
||||
Database_Services('WriteDataRow', 'TOOL_LOG', CurrModeKey, ToolLogRec, True$, False$, True$)
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$)
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$, True$)
|
||||
ToolLogRec<TOOL_LOG_STOP_DTM$> = StopDtm
|
||||
Database_Services('WriteDataRow', 'TOOL_LOG', CurrModeKey, ToolLogRec, True$, False$, True$)
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$)
|
||||
Update_Index('TOOL_LOG', 'TOOL_CURR_MODE', False$, True$)
|
||||
Next CurrModeKey
|
||||
|
||||
// The index should be healthy now and we should only have one key.
|
||||
@ -328,3 +328,4 @@ VerifyCurrModeIndex:
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user