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

8 Common Errors in Dual-write

502 Bad Gateway : when the target application is not ready to handle the incoming request  401 Unauthorized / 403 Forbidden: This error occ...