how to updating table by click method ?

Hi ,

I am very new in this field of development of AX .

I have one table name Rf_payout with five field and couple of button for selection and update .

if any body click the select button then there is a selection field named of Noyes Enum EDT type field should select and if update the whole table should update from similar field exist from another table and there are some condition filter also present .

so kindly anyone let me know those coding .