Get current record in form control event
public static void CustomButton_OnClicked(FormControl sender, FormControlEventArgs e)
{
// ds number 1 is for the first datasource
CustomTable callerRec = sender.formRun().dataSource(1).cursor();
}
thanks
Blog Post 6: Bonus – Building Your First Custom Copilot Plugin in X++ Introduction In our previous posts, we explored what Copilot can do o...
No comments:
Post a Comment