web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Code to call Display method in Workflow class in Ax 2012

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
If you want to show display method of table in workflow designer then you need to write method on table and class .

For example table method to get customer credit limit value.

 display AmountMST Cust_CreditLimit()  
{
;
return CustTable::find(this.CustAccount).CreditMax;
}

Then go to document class for e.j. \Classes\PurchTableDocument and create new method like this.


 public AmountMSTParmCreditLimit(CompanyId _companyId, TableId _tableId, RecId _recId)  
{
CustTable CustTable;
select CustTable where CustTable.recid==_recId;
return CustTable.Cust_CreditLimit();
}



This was originally posted here.

Comments

*This post is locked for comments