want to insert into another module's Table.

Hi Team,

I have added a custom button on custom entity next to SAVE and CANCEL.

On the click of custom button i want to pick some value from the FORM and want to insert into another module's Table.

  

What is right way to achieve it.

Thanks in advance.

Regards,

Deepak