Get current record in form control IN D365
Get current record in form control event
[FormControlEventHandler(formControlStr(FormName, SomeButton), FormControlEventType::Clicked)]
public static void SomeButton_OnClicked(FormControl sender, FormControlEventArgs e)
{
SomeTable callerRec = sender.formRun().dataSource(1).cursor();
}
No comments:
Post a Comment