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; }
Category: Display method
AX – D365FO – Create a Form Display method by example
This is the result we want to obatain Inser diasply method into your form First add a new method to the Form Data Source
Ax -D365FO – Ceate a Display method in a table
display Al0VendorActivityName ParentVendorActivityName(Al0VendorActivity _this) { return AL0VendorActivity::find(_this.ParentVendorActivityId).VendorActivityName; }
AX – D365FO – Using the display Method Modifier
The display method modifier indicates that the method has a return value that can appear on a form or a report. A display method is any method that includes the display keyword as a method modifier. You can use the display method modifier with the following kinds of methods: Table methodsForm methodsForm data source methodsReport … Continue reading AX – D365FO – Using the display Method Modifier
D365FFO – X++ – AX – How to write a display method in extensions (D365)
Requirement is to display a column from InventTable on Movement Journal lines form based on the selected item. 1. Create a new class and give a name, best practice is to give a name of the object with extension keyword 2. Once class is created, make sure you are using proper syntax and namespaces as … Continue reading D365FFO – X++ – AX – How to write a display method in extensions (D365)