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

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...