Showing posts with label in D365. Show all posts
Showing posts with label in D365. Show all posts

Saturday, 19 October 2019

QueryExecuting Event handler in D365

Event Handler for Query Eecuting in D365

  [FormDataSourceEventHandler(formDataSourceStr(SalesTable, SalesLine), FormDataSourceEventType::QueryExecuting)]
    public static void SalesLineCurrencyID_OnQueryExecuting(FormDataSource sender, FormDataSourceEventArgs e)

    {

        sender.query().dataSourceName(sender.name()).addRange(fieldnum(SalesLine,     CurrencyID)).value(queryValue('INR'));

    }

THANKS

Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++

Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++  Introduction In our previous posts, we explored what Copilot can do o...