The fact that display methods should be cached, when they are used in forms, is well-known. For this, a corresponding call should always be integrated into the init() method of a form datasource:
public void init()
{
super();
this.cacheAddMethod(tableMethodStr(DirPartyPostalAddressView,locationRoles));
}
The fact that you can save this call in Dynamics AX 2012, if you set a corresponding attribute in the display method itself, was new to me:
The fact that display methods should be cached, when they are used in forms, is well-known. For this, a corresponding call should always be integrated into the init() method of a form datasource:
The fact that you can save this call in Dynamics AX 2012, if you set a corresponding attribute in the display method itself, was new to me: