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

No comments:

Post a Comment

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...