i have a requirement where i have create custom transaction that will ask the user to enter the value of amount. and it will be stored in the one custom table.
my requirement is there should be only one entry in the table .if the user executes the transaction second time.it should override the value that is already exists in the table.
i am not getting the logic to keep the only value in the table . please help me.