Friday, 8 February 2019

Get current record in form control IN D365

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

UX & Personalization: Next-Generation Workspace Experience

  UX & Personalization: Next-Generation Workspace Experience Section Content Title Build Your Dream Workspace: Advanced Personalization ...