saving values in edit method

Hi Everyone,

Iam new to X++ coding…

i wrote an edit method for displaying the customer Id in a customized form.

But when iam clicking on save button it is showing previous values instead of edited values

Would anybody please help me regarding …saving values in edit method

Thanks in Advance

Could you please post the code which you written.