FormDataSourceEventType::InitValue in D365
[FormDataSourceEventHandler(formDataSourceStr(FormName, DataSourceName), FormDataSourceEventType::InitValue)]
public static void DataSourceNames_OnInitValue(FormDataSource sender, FormDataSourceEventArgs e
{
FormRun formRun = sender.formRun();
FormDataSource DataSourceName_ds = formRun.dataSource(formDataSourceStr(FormName,DataSourceName)) as FormDataSource;
TableName buffTable = DataSourceName_ds.cursor();
}
Thanks,
Vikas Mehta.
No comments:
Post a Comment