How to save a record in table on Ax Form in a button click event?

Viewed 2886

I am new to AX, and I am struggling with the basics.

My requirement is to save the record in a table from form controls on a button click event. What is the best approach?

Because I also see "Override" method "CreateRecord". If I go with "CreateRecord" method, then is it possible invoke the method in "Button Click Event"?

1 Answers
Related