Publisher Part 5 Notes
Publisher Part 5 Notes
steps:
*to submit one by one from back end..create one procedure like below.
IS
v_request_id NUMBER;
xml_layout BOOLEAN;
BEGIN
xml_layout :=
v_request_id :=
fnd_request.submit_request ('PO',
'HBOPOPURXML',
'Template 1',
NULL,
FALSE,
NULL
);
IF v_request_id > 0
THEN
fnd_file.put_line
(fnd_file.LOG,
);
COMMIT;
ELSE
fnd_file.put_line (fnd_file.LOG,
);
ROLLBACK;
END IF;
xml_layout :=
v_request_id :=
fnd_request.submit_request ('PO',
'HBOPOPURXML',
'Template 2',
NULL,
FALSE,
NULL
);
IF v_request_id > 0
THEN
fnd_file.put_line
(fnd_file.LOG,
);
COMMIT;
ELSE
fnd_file.put_line (fnd_file.LOG,
);
ROLLBACK;
END IF;
END;
+++++++++++++++++++++++++++++++++++
FND_REQUEST.add_layout (
template_appl_name in varchar2,
template_code in varchar2,
template_language in varchar2,
template_territory in varchar2,
This need to be call before submit request to add the layout to Request. It initiates the post process to
apply the Layout.
Arguments
+++++++++++++++++++++++++++++++++++++++++++++++++
FND_REQUEST.Submit_Request
submit_request (
--
--
--
return number;
This submits the concurrent request and returns the Request ID.
Attributes:
-- - running
-- sub_request - Optional. Set to TRUE if the request is sub request, The default is false.
-- argument1..100 - Optional. Arguments for the concurrent request, Please pass the parameter
value define in CP Report definition.
Oracle gives a very straightforward method to create multilingual reports if we use XML Publisher to design the reports. We no
longer need to create very different report layouts for the same report to be used across languages. Once a language has been
installed in addition to the default language, English, then we only need to assign the layout to the language and the
characteristics of the language will determine how the output will look like.
I have created a new report below on an Oracle instance where 2 languages are installed, English and Spanish
You will notice that US English is the base language. This is true for all Oracle Apps installations. Along with English, Arabic
<file source-language="en-ES">
go to google and search with column headings into spanish.include translated names into
target language .save file with another name .
upload translation
Enable Template
Note : Source file is in english.its only one.but we can translate to many other languages.
click on options
choose language specific template.
submit report
you will headings into spanish language.
go to oracle apps home page .choose spanish language .submit report it will give output in spanish.
<?template:TemplateIdentifier?>
where (Template Identifier) --- any name ... later to call it.
Note that in a single subtemplate file, you can have multiple entries, marking different segments you
would like to include in other files.
2. Register the subtemplate in Template Manager in xml publisher by selecting Subtemplate = Yes
3. In the main template, include the following tag in the beginning of the file:
<?import:xdo: //(product_short_name).(subtemplate_code).(lang).(terr)?>
<?import:xdo://SQLAP.LEO_INVDETSUB.en.us?>
4. In the place in your main template file where you would like to use the subtemplate, add the
following tag:
<?call:TemplateIdentifier?>
Go to application developer or system administrator Application ---> register ---> query with the
module name