line <CustInvoiceJour.data(journal);> do?
One more thing also why there is not a similar line
<CustInvoiceTrans.data(trans)> there?
public boolean fetch()
{
QueryRun qr = new QueryRun(element.query());
CustInvoiceJour journal;
CustInvoiceTrans trans;
Boolean firstRun = true;
while(qr.next())
{
if(qr.changed(tableNum(CustTable)))
{
if(!firstRun)
{
element.execute(2); //subTotal
subTotalCust = 0;
}
else
firstRun = false;
}
if(qr.changed(tableNum(CustInvoiceJour)))
{
journal = qr.get(tableNum(CustInvoiceJour));
CustInvoiceJour.data(journal);
element.send(journal);
}
if(qr.changed(tableNum(CustInvoiceTrans)))
{
trans = qr.get(tableNum(CustInvoiceTrans));
element.send(trans);
}
}
element.execute(2); //subTotal
element.execute(1);
return true;
}
SPONSORED LINKS
| Programming languages | Microsoft axapta | Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

