Debug SSRS report data provider from job

Code
    SomeTableTmp rec;
    
SomeDP       dp;
    
SomeContract con;
    
Query        q = new Query();

    
q.addDataSource(tableNum(SomeTable)).addRange(fieldNum(SomeTable,SomeField)).value(queryValue('SomeValue'));

    
dp  = new SomeDP();
    
con = new SomeContract();

    
con.parmSomeParm(SomeValue);

    
dp.parmDataContract(con);

    
dp.parmQuery(q);

    
dp.processReport();

    
rec dp.SomeTmp();

    while 
select rec
    
{
        
info(strFmt("%1 %2",rec.SomeField1,rec.SomeField2));
    }
AX versionMicrosoft Dynamics AX 2012
PropertiesCreated by Alex 2016-03-16 10:04:36 (Public)
TagsSRS