adm_aop_api
This document contains the API documentation for the adm_aop_api
package.
Functions and Procedures
Section titled “Functions and Procedures”convert_to_pdf
Section titled “convert_to_pdf”Converts a document to PDF using AOP (Automated Office Processing)
Signature:
procedure convert_to_pdf ( p_document_id in adm_documents.document_id%type, p_document_name in adm_documents.document_name%type default null, p_overwrite in boolean default false);
Parameters:
Name | Direction | Type | Description |
---|---|---|---|
p_document_id | in | adm_documents.document_id%type | ID of the document to convert |
p_document_name | in | adm_documents.document_name%type default null | Optional custom name for the PDF document. |
If null, generates name by replacing extension with .pdf |
| p_overwrite
| in | boolean default false
| If true and PDF with same name exists, adds a new version.
If false and PDF with same name exists, appends timestamp.
Default: false |