ChangeDocumentStatus( [in] long DocumentID, [in] long StatusID, [in] long NewStatusID )
This function is called when the status of the document is being changed.
| DocumentID | The ID of the document being deleted | |
| StatusID | The status of the document being deleted | |
| NewStatusID | The news status of the copied |
This function is called when a user approves a document, i.e. StatusID is 2 (proposed document) and NewStatusId is 1 (Public document). This function is called once per plugin, and the plugin should hence implement the logic needed to change the status for multiple instances of state.