I am trying to amend the cancelled document and trying to set a value…my doubt is how to trigger the amend button?
sorry, how exactly do you mean trigger? If the amend button does not appear, check the access right/permission
The amend function will create a new document record, which is linked to the previous.
Hope this helps.