I would check:
1. debug the code to check if it executes the code. For example, you can write to file before EndIf
2. Have you tried the same code in other event script?
Yes I am able to write to file before end if. I also took out end if statement which to me would me FDM would fire the event for all locations without restriction.
I have not tried the same code in other event script. Would that work? The RES statement specifically relates to a consolidation trigger. I can try another event to see.
This same issue was raised on the forum last year but i do not think there was a resolution. If you check the Consolidate action script i think you will find that the script checks for the presence of the group in the location record but does not do any check on the override setting. ( i only have access to an old version 9 adaptor at the moment and there is nothing in there for it).