I am working on a requirement to customize the purchase order form. The requirement is that when the Warehouse value on the purchase order form is changed, a new dialog form should open, as shown below. I want to add some validation to the OK button on this dialog form.
Can someone guide me on which class or form the system uses to pass parameters to the dialog?
Basically some warehouse we don't want to receive items any more, so i want to display an error message on this form once the user clicks the ok button.
I am using D365 FO...