ax / d365fo – cACHING A DISPLAY METHOD

To improve the performance of a display method you can cache it by using the SysClientCacheDataMethodAttribute

This example shows how to use it

    [SysClientCacheDataMethodAttribute(true)]
    public display SerialStatus display_GetInventSerial_ReasonCode()
    {
        SerialStatus   ret = '';
        .......
        return ret;
    }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s