Hi

Axapta 3.0 SP2

in my report's fetch() method i have following code:

...
    QueryBuildDataSource qbds;
    ;

    qbds = this.query().dataSourceTable(tablenum(LedgerTable));

    qbds.addSortField(fieldId2Ext(fieldnum(LedgerTable, Dimension),
        ledgerReport_TotalAndBalanceList.parmDimensionCriteria() + 1));

    qbds.autoSum(fieldId2Ext(fieldnum(LedgerTable, Dimension),
        ledgerReport_TotalAndBalanceList.parmDimensionCriteria() + 1));

...


Why am i getting errors on the last line (no sort field no. 65545). Is
there any other way to do it?

the following is passed from class what calls the report and returns
selected dimension field (values 0 to 2).
ledgerReport_TotalAndBalanceList.parmDimensionCriteria()


[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to