Microsoft Dynamics AX 2012 R3 Development-2 Locus IT Services

Microsoft Dynamics AX 2012 R3 Development-2

Locus IT ServicesMicrosoft Dynamics AX 2012 R3 Development-2

Lesson 4 – Display Method Authorization

Display Method Authorization:

The display method Authorization 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 methods
  • Form methods
  • Form data source methods
  • Report methods
  • Report design methods

You should add a display method as a table method whenever possible. This enables you to use that same code with more than one form or report.

A display or edit method is used to display data from another table or a calculated value. In theory, a display method can expose any data from any table. If a display method returns data from another table (or another row in the same table), it poses a threat. If a display method returns data from the same row but from another column, it also poses a threat. For example, a user might not be allowed to view another person’s monthly salary, but could run a query to ask for the annual salary (calculated value).

Add Comment

Your email address will not be published.

Locus IT Project Management Office
What’s it?