Quantcast
Viewing all articles
Browse latest Browse all 72043

Run time query range value

Hi,

    I need to get the run time query range specified in the query range dialog via x++.

The following code is working for me when the query data source is a table.

CustomerMarginReportTmp.DateRange = queryRun.query().dataSourceTable(tableNum(CustInvoiceTrans)). rangeField(fieldNum(CustInvoiceTrans, invoicedate)).value();


But it does not work when I specify view as query data source

CustomerMarginReportTmp.DateRange = queryRun.query().
dataSourceTable(tableNum(CustInvoiceTransView)). rangeField(fieldNum(CustInvoiceTransView, invoicedate)).value();

Thank you.

Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>