Run Doc Gen and Display
Use this system function to run a document generation operation and display the results to the user. You can choose to save the resulting document.
Parameters
- Template ID
-
Input, required. The document generation template to use. Use an already-downloaded template. Set the parameter to an applicable object from the object list.
- Data File ID
-
Input, required. The document generation template to use. Set the parameter to an applicable object from the object list.
- Save
-
Input, required. An indicator of whether to save the results of the operation to a separate file. Set the parameter to <TRUE> or <FALSE>.
- Document ID
-
Input, required. The ID to assign to the document, should you choose to save it. Set the parameter to an applicable object from the object list.
- Status
-
Output (string), required. The object to which to assign the code that indicates the success of the operation. Set the parameter to an applicable object from the object list.
Returns
This system function can return these values:
-
FAILED
Indicates the process was unsuccessful.
-
SUCCESS
Indicates the process completed normally.Download Template for Doc GenGet XML Data Model