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. }
↧