Showing posts with label Custom Dialog. Show all posts
Showing posts with label Custom Dialog. Show all posts

Dialog With Event handling

Dialog With Event handling


Create a Class with the name of Demo Dialog and extend it with RunBase class then write the following code.
dialog_1
Override the dialog method and fields in dialog in my case I added two fields customer account and customer name.
dialog_2
Override the getFromDialog method and set the value in the declared variable
dialog_3
Override the run method write the following code.
dialog_4
If you want to validate then override the validate method.
dialog_5
The dialogPostRun() method should override like below. This will allow calling to the event methods.
dialog_6
Now open dialog and personalize the customer account field and check the name of the field.
dialog_8
Then Create the modified event with a field name.
dialog_7
Now run the class and enjoy the modified events in the dialog ðŸ™‚

Support Faryal's Cusine


Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...