Академический Документы
Профессиональный Документы
Культура Документы
XML Bursting can be used to split one XML File into multiple XML Blocks. These individual xml
blocks can then be used to generate reports and even use different layouts. You can also deliver the
reports to multiple destinations based on a XML Element. The steps involved are listed below for your
understanding:
xapi:request: Give details of how you want to split the XML File
xapi:email: Give details of the Email
id: This is a unique value that identifies each group. In our case it is the Supplier Number.
reply-to: This is the reply to email address
from: This is the from email address that will be used while sending the email
port: The port number of the email server. Check with your DBA / System Administrator for
this value.
server: The details of the email server
xapi:message: Give details of the Email Message
subject: Subject of the Email
attachment: We are attaching the report output with the email. So the value should be “true”.
to: The email id of the Supplier, which is the recipient’s email address.
id: This is a unique value that identifies each group. In our case it is the Supplier Number.
xapi:document: Here we define the output document details
output-type: The output type of the report output.
output: The folder in which the output file will be saved.
xapi:template: Give details of the RTF Template
type: Give the details of the Template Type. In our case it is RTF
location: Location of the RTF Template.
Lets take a closer look at the location:
location="xdo://Q4A.XXQ4ASUPINV.en.00/?getSource=true"
And you can use the below SQL Statement to get the details of the Template.
select xtb.application_short_name||'.'||
xtb.template_code ||'.'||
xtb.default_language ||'.'||
xtb.default_territory
from apps.xdo_templates_b xtb
where xtb.template_code ='<Template Code>';
COMMIT;
END;
In this post, I have tried to explain the XML Bursting process in detail. I hope this helps you. If you
would like to know more about defining Triggers in XML Data Template, click here.