Documente Academic
Documente Profesional
Documente Cultură
XML Publisher 5.6 introduces Data Templates to the E-Business Suite. This technology effectively removes the need for custom development in Oracle Reports. Roll-up Patch 4561451 installs this functionality. Query and Data Template Structure A simple data template for the following query was created: select usr.user_name, resp.responsibility_name, resp.description from fnd_user usr, fnd_user_resp_groups_direct fdir, FND_RESPONSIBILITY_TL resp where user_name like 'P%' and usr.user_id = fdir.user_id and fdir.responsibility_id = resp.responsibility_id and fdir.responsibility_application_id = resp.application_id order by user_name
Data Template:
<?xml version="1.0" encoding="WINDOWS-1252" ?> <dataTemplate name="USERDATA" description="FND_USER Data" Version="1.0"> <parameters></parameters> <dataQuery> <sqlStatement name="Q1"> <![CDATA[select usr.user_name, resp.responsibility_name, resp.description from fnd_user usr, fnd_user_resp_groups_direct fdir, FND_RESPONSIBILITY_TL resp where user_name like 'O%' and usr.user_id = fdir.user_id and fdir.responsibility_id = resp.responsibility_id and fdir.responsibility_application_id = resp.application_id order by user_name ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_USER_NAME" source="Q1"> <element name="USER_NAME" value="USER_NAME" /> <element name="RESP_NAME" value="RESPONSIBILITY_NAME" /> <element name="RESP_KEY" value="RESPONSIBILITY_KEY" /> </group> </dataStructure> </dataTemplate>
Registration
RTF Template: User Name F USER_NAME Resp Name RESP_NAME Resp Key RESP_KEY E