On the Order object, how would one perform the Deactivate action in a Visualforce page?
Is there a way to discover how Salesforce is performing the action when the button is pressed on the standard page layout? The only way I could figure out the process is by inspecting the element with my browser which revealed:
navigateToUrl('/ord/orderactivation.jsp?actn=deact&retURL=%2F80154000000ClXW&id=80154000000ClXW&_CONFIRMATIONTOKEN=aconfirmationtokenhere'
If this is the only way, how can I get the token in my PageReference constructor on my extension?