Tuesday, February 28, 2012

To capture an SQL query from Axapta Query Object

Hi Everyone,

To capture and print an SQL Query generated from Axapta's Query:

info(sysQueryRun.query().dataSourceNo(1).toString());

Very helpful while debugging and tracing the exact SQL query from an Axapta's Query run object.

No comments:

Post a Comment