Показать сообщение отдельно
Старый 28.07.2009, 08:22   #22  
Alexx7 is offline
Alexx7
Сам.AX
Аватар для Alexx7
Самостоятельные клиенты AX
1C
 
305 / 28 (1) +++
Регистрация: 22.07.2009
to belogin
Единственный кусок нашел с комментариями
X++:
public boolean fetch()
{
    COSReportServer     COSReportServer;
    Args                args;
    container           values;
    QueryRun            refQueryRun;
    ;

    //make object on server
    args = new Args(this);
    COSReportServer = COSReportServer::construct(args);

    //set values from dialog
    if (this.args())
    {
        callerParameter = this.args().parm();
    }
    values = [dateFrom, dateTo, details, dimensionsToPrint, callerParameter];
    COSReportServer.initValues(values);

    //generate report
    refQueryRun = new QueryRun(this);
    COSReportServer.generateReportLines(refQueryRun);

    return true;
}