SystemClass :: CreateDocument - Create document
The function may be called from within OSI or C++ functions in order to create documents from database content. Details for using Open Document templates are described in "Open Document templates".
The function is called with a variable (collection) name in calling_object, which refers to the data source to be printed. The template_path refers to the location, were the document template is stored. document_path is the target location for the document to be generated.
Implementation details
- calling_object
 - Calling object
The calling object is the property handle for the property (variable, collection) to be processed by a external function or service. 
- template_path
 - Template path
Complete path to the template document. The path may contain option variables. 
- document_path
 - Document path
This is the complete path to the document location. The path may contain option variables. 

