viernes, 19 de diciembre de 2014

Debug an AX 2012 SSRS report, data generation

A quick code example to enable you to debug the process of generating data for an SSRS report...

static void ZZZ_DebugReport(Args _args)
{
    TaxListTmp          tempTable;
    TaxListDP           dataProvider    = new TaxListDP();
    TaxListContract     contract        = new TaxListContract();
    ;
    
    contract.parmDisplaySalesTaxCharge(true);
    
    dataProvider.parmDataContract(contract);
    dataProvider.processReport();
        
    /*
    tempTable = dataProvider.getTaxListTmp();
    
    while select tempTable
    {
        info(strFmt("%1", tempTable.AccountName));
    }
    */
}