Sunday, 22 December 2019

Display method D365 FO

We need to mention for which object this class has been created. So decorate the class with “ExtensionOf” attribute. In this discussion, I am creating a display method for the table “SalesQuotationLine”.
 Add the attribute to cache the display method.// only for Display method.
[ExtensionOf(tableStr(SalesQuotationLine))]
final public class AE_SalesQuotationLineTbl_Extension
{
[SysClientCacheDataMethodAttribute(true)]
public static display Qty fulfillmentRemainingQty(SalesQuotationLine _this)
{
//logic
}

How do we refer this method in the form?

Please note the property “Cache data method” is set to Yes when the display method is referred.

No comments:

Post a Comment

POSTMAN D365

  Postman is useful to test the behavior of different OData class from/to D365FO. In this post we will see the steps to setup Postman with D...