The display
method is not a physical field in a table but is a method to display information from another table or resource. In simple words, it can expose data from any table that includes the display
keyword as a method modifier. The methods that can use the display
method modifier are as follows:
Table
Form
Report
Report Design
Data Source
Note
The display
method modifier is any method that includes the display
keyword as a method modifier. It indicates that the method has a return value that can appear on a form or a report.
The following example is a standard display
method from the SalesTable
table:
display CustName customerName() { return this.partyTable_CustAccount().Name; }
To create a display
method, follow these steps:
Place the
display
keyword in front of the method's return type. For example:display Amount amount()
Determine the return type. The return type should be an extended data type. A
display
method returns a calculated value...