insert created record in custom table on form button click

how to insert record when i create new purchase order on custom table on button click event

Hi Suraj,

Could you please be more specific?

Do you need to insert records in custom table on creation of Purchase order ? What is the purpose of button click?

yes,

when i click the confirm button on specific purchase order, the record will store on the another table