Data template R12

Data Template is an XML document whose elements collectively define how the data engine will process the template to generate the XML.

Data template consists of four basic sections,

a. Parameters
b. Triggers
c. Data Query
d. Data Structure

There are two ways to call a data template
a. Concurrent program - Assign standard executable (XDODTEXE) and specify output type = XML
b. Data Engine Java API's

Few tips for best practices
a. Performing operations in SQL is faster than performing it in the data template or PL/SQL
b. Perform calculations directly in your query rather than in template

c. Bind variables are more efficient than defining a link tag 


Comments

Popular posts from this blog

How to use lexical parameters in Data template (XML document) R12

Query to get FSG report details with row/column set

Sub Inventory Transfer API.