FormDataSourceEventType::Written in d365
[FormDataSourceEventHandler(formDataSourceStr(MyForm, MyRandomTableDS), FormDataSourceEventType::Written)]
public static void MyRandomTableDS_OnWritten(FormDataSource sender, FormDataSourceEventArgs e)
{
FormRun formRun = sender.formRun() as FormRun;
//intellisense might not work in some cases over here.
formRun.myCustomMethod();
}
Thanks,
Vikas Mehta.
No comments:
Post a Comment