Call the request in the form and print the result directly

Source: Internet
Author: User

Request printing, usually need to submit a request, and then view the output in the request interface, the print content is displayed on the browser

You can now print directly to the browser after invoking the request, with the following steps:
---Set up a request print template L_req_bool: = fnd_request.add_layout (template_appl_name = ' Cux ', Template_code                                         = ' Cuxporeqprint ', template_language = ' en ', template_territory = ' CN ', Output_format = ' PDF '); --Submit Request    L_REQ_ID: = Fnd_request.submit_request (' Cux ',                                            ' cuxporeqprint ',    &N Bsp                          ,         &NB Sp  NULL,                                           NULL,                    &NBSP ;                      FALSE,          &NBSP ;                                NVL (:p o_req _hdr.segment1,                            &NB Sp               null);   COMMIT;
--Wait for the request to complete
IF l_req_id is NULL OR l_req_id = 0 Then fnd_message.set_string (' Print submission failed '); fnd_message.show; RAISE form_trigger_failure; ELSE l_wait_bool: = Fnd_concurrent.wait_for_request (l_req_id, 1, 0, l_phase, l_status, l_dev_phase, l_dev_status, l_message); --Invoke the automatic printing function in the standard PLL file editor_pkg.report (l_req_id, ' Y '); END IF;To add a standard PLL file to a form: Fndconc

Call the request in the form and print the result directly

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.