CopyDocument( [in] long DocumentID, [in] long StatusID, [in] long NewDocumentID, [in] long NewStatusID )
This function is called when a document is being copied.
| DocumentID |
The ID of the document being copied. | |
| StatusID |
The status of the document being copied. | |
| NewDocumentID |
The document id of the copied document | |
| NewStatusID |
Then new status of the copied document |
Even if the plugin has multiple instances on the document being copied, this function is called only once per plugin. The plugin should implement any logic needed to handle multiple instances.