PO Output communication PO_CUSTOM_XMLGEN_PKG tag missing
Hi,
We have started a customization to modify the output for the PO_CUSTOM_XMLGEN_PKG to append custom XML data to the standard PO_DATA xml. However when the output XML created is missing the starting tag when executed via the standard PO approval request PO Output for Communication.
Please help urgently.
Sample program used:
CREATE OR REPLACE PACKAGE BODY PO_CUSTOM_XMLGEN_PKG AS
PROCEDURE generate_xml_fragment
(p_document_id IN NUMBER
, p_revision_num IN NUMBER
, p_document_type IN VARCHAR2
, p_document_subtype IN VARCHAR2
, x_custom_xml OUT NOCOPY CLOB)
IS
l_document dbms_xmldom.DOMDocument;