AX 2012 query应用collections

 QueryBuildRange range;

     super();

     this.query().dataSourceName('VendTop10VendorsByPurchase').clearDynalinks();

     // setting range so that only invoices within the year are calculated
range = this.query().dataSourceName('VendTop10VendorsByPurchase').addRange(fieldNum(VendTop10VendorsByPurchase, InvoiceDate));
range.value(strFmt('(InvoiceDate >= %1)', date2StrXpp(systemDateGet() - dayOfYr(systemDateGet()) + )));

                                          updated by toky 20150512

上一篇:final model for bioinformatics


下一篇:糖果 bzoj 2330