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