Monday, 23 June 2014

Get query ranges for static query

https://community.dynamics.com/ax/f/33/t/90448.aspx

q1=this.parmQuery();
        qbrOrderAccount = q1.dataSourceName('VendInvoiceJour').rangeField(fieldNum(VendInvoiceJour,OrderAccount));
if(qbrOrderAccount.value())
        {
            q.dataSourceNo(1).rangeField(fieldNum(VendInvoiceJour,OrderAccount)).value(qbrOrderAccount.value());
        }
if(qbrOrderAccount.value())
        { 

No comments:

Post a Comment