Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MICROSOFT DYNAMICS AX 2012 R3 SECURITY

You're reading from   MICROSOFT DYNAMICS AX 2012 R3 SECURITY A quick guide to planning, designing, and debugging operational-level security for Microsoft Dynamics AX 2012 R3 implementations

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher Packt
ISBN-13 9781782175537
Length 106 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ahmed Mohamed Rafik Moustafa Ahmed Mohamed Rafik Moustafa
Author Profile Icon Ahmed Mohamed Rafik Moustafa
Ahmed Mohamed Rafik Moustafa
Arrow right icon
View More author details
Toc

Security for the display and edit methods

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:

  1. Place the display keyword in front of the method's return type. For example:
    display Amount amount()
  2. Determine the return type. The return type should be an extended data type. A display method returns a calculated value like...
You have been reading a chapter from
MICROSOFT DYNAMICS AX 2012 R3 SECURITY
Published in: Jun 2015
Publisher: Packt
ISBN-13: 9781782175537
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image