Retrieving the SQL from a group in the Infor CRM web client

In the web client you are able to retrieve the raw SQL statement of a group. At some point along the way in the life cycle of the web, the storage format of the SQL statement changed. There is a method GroupSQL that used to return the same SQL as what you would see if you viewed the SQL in the group builder. So previously the GroupSQL would return something like this: