Hi Friends,
After long time i am back on my blog and really excited to share my findings on AX.
After long time i am back on my blog and really excited to share my findings on AX.
This Blog is Dedicated to all the AX Developers all over the World.I've created this blog to share the knowledge I've acquired while working with Axapta.I hope you enjoy reading my blogs as much as I enjoyed creating it. I wish you a very happy Developing!! -- Santhosh Reddy
public boolean fetch() { boolean retCode = false; BankAccountTable bankAccountTableRec; QueryRun qrun; ; // Use the queryRun object that is associated with the // report; element refers to the report. qrun = new QueryRun(element); // Verify that the report dialog works. if (! qrun.prompt()) { return retCode; } // Loop through each record from the data source query of the report. while (qrun.next()) { // Get the BankAccountTable fields from the query record. bankAccountTableRec = qrun.get(TableNum(BankAccountTable)); // Exclude ODDBANK from the visible report. if (bankAccountTableRec.AccountID != "ODDBANK") { // Include the current record in the report. element.send(bankAccountTableRec); } } retCode = true; // retCode = super(); // Do not call super() when you override the fetch method. return retCode; }
static void GetAOSPort(Args _args)
{ ;
info(strfmt("Port number: %1",int2str(Session::getAOSPort())));
}