axaptadynamics-ax-2009x++

Remove a "group by" statement from QueryBuildDataSource at runtime


I need to remove a group by statement from a QueybuildDataSource object. Is there any method to do this? (The opposite of addGroupByField).


Solution

  • @Artem, I don't think you can do it from the QBDS level. I think you need to do it from query().clearGroupBy();

    @ian_scho, users under 100 reputation can't answer their own questions for 4-8 hours after posting...that's probably why he didn't post as an answer.