Arbortext Command Language > Functions by Alphabetical Listing > change_tracking_reject_change
  
change_tracking_reject_change
ret = change_tracking_reject_change(oid[, flags])
 
This function attempts to reject a tracked change in the document and returns the status of the operation. Rejecting the change is similar to undoing the change. The oid parameter specifies the location of the change markup. The flags parameter is a bit mask used to control the operation.
If oid is not valid change markup,then this function returns -1. If there is a calling sequence error then this function returns -1. If rejecting the change would cause an in-context document to become out of context and nocc bit is not 1, a confirmation is displayed to allow the user to cancel the rejection. If the user cancels, then this function returns 0. In either case this function does not modify the document. Otherwise, the change is successfully rejected and this function returns 1.
The flag bit is:
0x1 — nocc
* 
Rejecting a change can be undone with the undo command.