AX7 Best Practices error : display method in form not cached

Example error :

Capture.PNG

Solution :

Navigate to the properties of field display method object in form , in the properties window, change “Cache Data Method” to YES

Capture.PNG

Advertisements

Missing reference for “display method returning object” error when build form in AX7

Error example :
When build the project contains new custom form and datasource “CustInvoiceJour” , i encountered error missing module reference for EDT logisticsAddressing.

capture

Solutions :
Find the object using search function, then you can see the model reference for that object. After that, update your model parameters and checklist the missing references.

capture

Note:
The new model that my project referenced to is using Extension Model approach.