Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: How to get caller form name of the caller class

$
0
0
In the init method of the form , we can check who the caller was .. We can change the display accordingly For example in SalesEditLines,, we can have the below code. str callerName; salesFormLetter = element.args().caller(); if (salesFormLetter != null) callerName = salesFormLetter.name(); if (callerName == 'SalesFormLetter_Invoice') // SalesFormLetter_Invoice is the menuItem that will call the SalesFormLetter { ?// Write your code here. }

Viewing all articles
Browse latest Browse all 101540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>