Thursday, 15 March 2018

Error more than one form was opened at once for the lookup control in D365

In D365 when we use OnLookup event handler for overriding existing lookup implementation by adding new columns or adding new ranges an error occurred "More than one form was opened at once for the lookup control".

This error occured because OnLookup Event it calls super() (base method) and on same time both the lookup opens. The resolution of this error is simple all we need to do is to cancel super call as shown in screenshot.

Error:











Solution:







No comments:

Post a Comment

Create a Purchase Order from a Sales Order Using PurchCreateFromSalesOrder Framework in X++ | D365 F&O

In Dynamics 365 Finance & Operations, you may need to automatically create a Purchase Order from a Sales Order for scenarios such as int...