There were more than 10,000 lines, but only a small part was added to the report. Most of them will be discarded, whether they can restrict retrieval and add filtering through development
perDate = contract.parmPerDate();
while(queryRun.next())
{
if(queryRun.changed(tablenum(CustTable)))
{
custTable = queryRun.get(tablenum(CustTable));
}
custTrans = queryRun.get(tablenum(CustTrans));
if(custTrans.TransDate <= perDate &&
(custTrans.Closed == dateNull()||
custTrans.Closed> perDate))
{
...
this.insertCustTransOpenPerDateTmp();
}
}
*This post is locked for comments