In Data Source, Override Execute Query Method and Copy Below Code
{
date fromdate = today()-7;
date todate = today();
this.query().dataSourceTable(tablenum(InventTrans)).addRange(fieldnum(InventTrans,DatePhysical)).value(queryRange(fromdate,todate));
}
No comments:
Post a Comment