Why query doesn't support Global Macros ? When I write this "WHERE (puller.active_flag == ON AND shift_query == ON)" instead of "WHERE (puller.active_flag == IsActive() AND shift_query == IsActive())" flexsim gives the error "exception: Invalid SqlQuery object". On the other hand IsActive() query works perfectly.
PA: IsActive() just returns the global macro ON.