Need help on calls to report in the Page of the OFA

Hello

At present I work EAM Module. Here, I need to call a single report.
In my OFFICE there is a Page button ("the name of the button is * question *"). After clicking this button, I need to get only one report (the name of the report is "Maintenance picking slip issued Report").

Please help me how to call report? I have no idea how to proceed for this.please explain clearly.


Thanks in advance...

Thank you
Sandrine.

Hi Raoul,.

It comes to pesudo code:

1 > create a package:

create or replace function XML_OUTPUT_TXST
return the CLOB
is
l_xmlType XMLType: = null;
Start
SELECT DISTINCT XMLELEMENT
('LINES',
XMLAGG
(XMLELEMENT
("DEMAND_DETAILS",
XMLFOREST)
demand_id AS "DEMAND_ID."
MSI.item_name AS "nom_element."
MSI. Description AS "DESCRIPTION."
MSC.category_name AS 'ITEM_TYPE. "
-NVL (md.daily_demand_rate, md.using_requirement_quantity) AS "DEMAND_QTY."
MD.customer_id AS 'CUSTOMER_ID ',.
msc_get_name. Customer (md.customer_id) 'CUSTOMER_NAME ',.
MD.request_date AS "REQUEST_DATE."
MD. SCHEDULE_SHIP_DATE AS "SCHEDULE_SHIP_DATE."
MD. SCHEDULE_ARRIVAL_DATE AS 'SCHEDULE_ARRIVAL_DATE '.
)
)
)
)
IN l_xmlType
OF msc_demands md,.
MSI msc_system_items,
MCS msc_category_sets,
msc_item_categories msc,
msc_plans mp,
mfg_lookups l1
WHERE md.inventory_item_id = msi.inventory_item_id
AND md.organization_id = msi.organization_id
AND md.sr_instance_id = msi.sr_instance_id
AND md.organization_id = msc.organization_id
AND md.inventory_item_id = msc.inventory_item_id
AND msc.category_set_id = mcs.category_set_id
AND SUPERIOR (mcs.category_set_name) = 'PLANNING '.
AND mp.plan_id = md.plan_id
AND mp.plan_id = msi.plan_id
AND mp.sr_instance_id = md.sr_instance_id
AND ("MSC_DEMAND_ORIGINATION") = l1.lookup_type
AND l1.lookup_code = md.origination_type
AND md.origination_type <> 52
- AND msi.item_name = c_item_no
AND md.organization_id = 122;
Return l_xmlType.getClobVal ();
end;

2 > use this sql for the release of the XML tag:

Select double XML_OUTPUT_TXST

3 > referring to these tags, do a RTF.
4 > enter on the application server.
5 > in the controller, get this model code
6 > according to model code call your CUSTOM PACKAGE.
7 > code for pop-up below
httpservletresponse.setContentType("application/pdf");
httpservletresponse.setContentLength (abyte0.length);
httpservletresponse.setHeader ("Content-Disposition", "attachment; Filename = "+ pogeneratedocument.getfileName ());
httpservletresponse.getOutputStream () .write (abyte0, 0, abyte0.length);
httpservletresponse.getOutputStream .flush () ();
httpservletresponse.getOutputStream (m:System.NET.Sockets.Socket.close ());
return;

Please see the AM, CO and of the package of the code which I have emailed earlier for your reference.

Also click on the link: http://bipublisher.blogspot.com/2008/03/bi-publisher-bip-in-oa-framework-part-1.html

Thank you
Kumar

Published by: Kumar Kovela, January 22, 2009 04:54

Tags: Oracle Applications

Similar Questions

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • I need help to unite 2 users on the same CC account, can someone help me?

    I need help to unite 2 users on the same CC account, can someone help me?

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <==> NOTE DAYS AND TIME

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • I need help about illustrator. I have the portable version of CS6, install and won't let me open the program. I get the error: 1 I have windows 7

    I need help about illustrator. I have the portable version of CS6, install and won't let me open the program. I get the error: 1 I have windows 7

    Error code 1 is often associated with permission issues. Have you tried to install Illustrator in a new user account with admin rights? If you want to download CS6, here's how to get it through creative cloud: html http://helpx.adobe.com/creative-cloud/kb/download-previous-versions-creative-applications.

    Let us know how it goes.

    Concerning

    Stéphane

  • All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but did need help how to get rid of the pre-selection, so he's going to defau

    All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but need help how to get rid of the preset then all photos of goes to Default or in the shot. Thank you

    Go to the develop module and highlight all the images in the film at the bottom of the screen. Enable automatic synchronization, and then click the reset button. To reset all the images in your camera default settings.

  • Need help by calling the stored procedure

    Hi Experts,

    I created under procedure, while calling me, it throws an error.
    CREATE OR REPLACE PROCEDURE spdemo (param1 OUT NUMBER)
     is
     BEGIN
     SELECT COUNT(*) INTO param1
     FROM TEST_DEMO;
     END;
    Can any1 help me get the result or to call this procedure?

    Thnx in advance...

    Published by: 977490 on January 18, 2013 02:25

    Hello

    977490 wrote:
    ... I created under procedure, while calling me, it throws an error.

    If the problem of the call, and then after the call.

    Here's a possible way to call spdemo and see the results:

    SET   SERVEROUTPUT   ON
    
    DECLARE
        test_demo_cnt  NUMBER;
    BEGIN
        spdemo (test_demo_cnt);
    
        dbms_output.put_line (test_demo_cnt || ' = value returned by spdemo');
    END;
    /
    
    CREATE OR REPLACE PROCEDURE spdemo (param1 OUT NUMBER)
    is
    BEGIN
    SELECT COUNT(*) INTO param1
    FROM TEST_DEMO;
    END;
    

    I'm tempted to make a function, not a procedure.

    CREATE OR REPLACE FUNCTION spdemo
    RETURN NUMBER
     IS
        cnt          NUMBER;
     BEGIN
         SELECT  COUNT (*)
         INTO    cnt
         FROM    test_demo;
    
         RETURN  cnt;
     END;
    /
    SHOW ERRORS
    

    Then you can call it in the SQL statements, as you call functions such as SYSDATE:

    SELECT     spdemo
    FROM     dual
    ;
    
  • I need help to create a pilot for the Minolta CS and LS-100

    I'm doing a vi to communicate with a Minolta LS/CS-100 meters.  I need a LabView driver for them.  I have attached a few support files.  Can someone help me get a driver to perform simple measures?

    Hi Jallen,

    To do this, you need to make calls to DLLS in LabVIEW.  I have attached a document that will help you to start with the creation of your DLL calls.  This will allow you to communicate with your camera.

    http://digital.NI.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33

    Kind regards

    Marcus

  • Need help setting bios to boot from the cd. I did already but the laptop does not start again for cd player.

    Hello

    I forgot that my administration windows log password after the holidays.  I have loaded down a free program called Ophcrack and had set my laptop to boot from cd 1 but I just cannot get the laptop to boot from a cd.  He just continued boot from the internal hard disk.

    The cd is an image and it is bootable on my desk.

    The model of laptop: laptop HP ENVY m6

    Product number: C2N77UA #ABL

    BIOS version: F.25

    Processor type: Intel Core i7-3632QM CPU @ 2.20 GHz

    OS: Windows 8.1

    I only did a password reset disk (I'm learning the hard way now!).

    I don't want to do a "System Recovery" because I have some data on it.

    I realize there are paid there password recovery tools windows, but I would like to use this 'free' program to try to break 1.

    I just need help / instructions to set the bios for laptop can be started from a cd.  I also tried to boot from a key USB but the laptop kept begin its internal drive.

    Help, please.  Thanks a ton!

    Ted

    Hi Ted,

    You are welcome

    Boot into the bios menu and go to the very section where you have disabled the Secure Boot.

    Find an entry called materials and this value to Activate.

    Save the changes and exit the bios.

    Follow the previous procedure below:

    Insert the bootable disc of Ophcrack and laptop stop.

    Tap away at the esc you key start Notepad to open the Start Menu.  Select boot options ( f9 ), use the arrow keys to select the CD/DVD drive and press ENTER.  You can also get a prompt to "Press any key to" continuous - it if requested.

    Kind regards

    DP - K

  • Need help for reading in parallel on the same interface and writing XNET

    Hello. I need help to configure CAN interface to write and read from the same interface.

    I use NI PXI-8513/2. I use CAN1 as interface.

    My had TO send status messages CAN every 100ms. I have to read in order to return akntoowlege to keep DUT CAN interface happy and not make mistakes.

    So, I want to open Strim Session and readall frames in the loop. At the same time, I need to be able to write in a frame HAD at the time...

    I only need to read one picture at a time too, but since I know the ID, I can pull it from the stream.

    What I'm confusing all is how to put in place the same CAN1 interface to be able to write and read in parallel.

    I think I would get errors that interface is already in use.

    Since I'm new to CAN, I was read and write only when necessary. But, sometimes I was getting errors on my messages. Sometimes I get message, sometimes miss me. But, when I run CAN test criminal as sniffer he sends and written every time. I was told it's because it recognizes all messages.

    I opened to suggestions of how best to implement the interface.

    I guess I can use CAN2 and separator to work around this problem, but I would use an interface if possible.

    Thank you

    Hi Rus,

    The XNET hadrware takes care of most of the low level of detials for you. The reading and writing of the circuits are both connected to the bus at any time. When you write to the hardware it will try to put a frame on the bus at the first opportunity he can. If the frame loses arbitration material re - will attempt to send the frame up is successful. Reception equipment monitor activity on the bus, regardless of what it conveys. The material received will usually throw a framework that was sent by communication equipment, but there is an Echo property pass to circumvent this behavior too.

    Take a look at the example of the expedition: MAY-> NI - XNET-> Sessions-> multiple Sessions Intro-> CAN even exit entry framework Port unique Point.vi. Keep in mind that this example you will need to use a second CAN interface to recognize frames, it transmits. I would recoment against the example CAN output Frame Single Point which would mimic your ECU if you choose a type of cyclic frame running this example.

  • Need help Kodak 5500 AiO printer over the network.

    I have a kodak 5500 AiO printer. I have vista on all my computers (1 bureau and 3 laptops). I downloaded the sp2 for vista on all computers, after I downloaded sp2 desktop mouse and keyboard froze, I had to uninstall sp2 to make it work. Now the printer on my home network to print or not be discovered by my laptop. I can see the printer on the network to my laptop but I can't connect to it. The printer is on the desktop via a usb cable. I deleted the printer drivers and reinstalled and downloaded the software and drivers for the latest printer.  I need help.

    Thank you

    Phil

    original title: using network printer

    Everyone,

    That's what I had to do to get my printer working once Vista it has messed up. You do the first two steps on the computer to which the printer is connected. The last step that you do for your laptop or you want to connect the printer to the main computer. I hope this helps.

    Hey all,.

    We had this same problem...

    We had to follow the procedure proposed by Drompa...

    > 1) share permissions
    >> 1. In explorer, select C:\windows\system32\spool\PRINTERS
    >> 2. Make a right click, properties
    >> 3. Tab sharing
    >> 4. Advanced sharing
    >> 5. Check "share this folder".
    >> 6. Permissions
    >> 7. Grant everyone full control
    >>
    (> NTFS permissions 2)
    >> 1. In explorer, select C:\windows\system32\spool\printers
    >> 2. Make a right click, properties
    >> 3. Security tab
    >> 4. Edit
    >> 5. Add
    >> 6. Advanced
    >> 7. Find now
    >> 8. Select 'NETWORK '.
    >> 9. Ok
    > 10. Total control of the NETWORK grant

    AND THEN we had to install local printers, using the port trick...

    1. go to 'printers '.
    2. click on "add a printer".
    3 Add a local printer.
    4. "create a new Port.
    5. use the "Local Port" option
    6. on "Enter a Port name" enter: "\\Computername\Printername".

    And if all goes well should do!

    Good luck!

    Credit to Drompa and otherdreams to help out me.

    Phil

  • Need help with custom script to rename the layers

    Hello world.

    I need help to write a custom script (because I suck at it) that will allow me to go through all the layers and sous-calques for a specific name ('X') and give it a new specific name ('Y').

    I have had success using the script below, but it does not work on any text layers names where the text layer was previously particularly well-known in 'X' and now changed needs.

    Any help is greatly appreciated.

    * Note: this script was originally used to find any layer with 'Copy' in its name and remove with anything after (to correct the problem of duplication of layers by adding this text).

    This is why the function is named removeCopy. It works for renaming layers also - just not a layer of text unfortunately.

    #target illustrator

    function removeCopy() {}
    If (app.documents.length == 0) return;
    var app.activeDocument = docRef;
    recurseLayers (docRef.layers);
    }
    removeCopy();
    function recurseLayers (objArray) {}
    for (var i = 0; i < objArray.length; i ++) {}
    ObjArr [i] .name = ObjArr [i].name.replace (/ \s*current name\s*\d*/, 'new name');
    If (objArray [i] .layers) recurseLayers (. layers.length > 0 ObjArr [i]);
    }
    }

    I finally found something after searching forums for a week. My confusion was related to the way Illustrator treats real layers against text/path/object "layers." Instead of layers, I had to use the pageItems in the script. The code below works. Thanks to Gustavo for his answer in another thread and Carlos I thank you for this looking too good! You're great to be ready to help models do more advanced things with Illustrator.

    var doc = app.activeDocument;
    var items = doc.pageItems;
    for (var g = 0; g)
        elements [g] .name = elements [g].name.replace ('Century Schoolbook text line', ' MonogramText: Century Schoolbook ");
    };
    App.Redraw ();
  • Need help to configure Auto-start for the database

    Hello

    DB version: 11.2
    OS: RHEL 5

    Please help me
    I want to configure the database and listener in auto-start during the startup process of the operating system.

    Concerning

    Step 1 of the oracle user

    CD $ORACLE_HOME/bin
    VI dbstart
    VI dbshut

    changed the

    LISTENER_ORACLE_HOME = $1

    TO

    LISTENER_ORACLE_HOME = $ORACLE_HOME

    Step-2 of the root user

    VI /etc/init.d/dbora

    #! / bin/sh

    Oracle # these scripts runs the listner and Oracle database server.
    #
    # chkconfig: 345 81 81
    Description #: this is the Oracle
    #

    # Define ORA_HOME as equivalent to the ORACLE_HOME
    # from which you want to run dbstart and
    # dbshut
    # the value ORA_OWNER to the userid of the owner of the
    # Oracle in ORA_HOME Server

    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    ORA_OWNER = oracle

    If [! f $ORACLE_HOME/bin/dbstart]
    then
    echo "Oracle startup: cannot start.
    Output 1
    FI

    case '$1' in
    'Start')

    # Run Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "start ORACLE_HOME/bin/lsnrctl $".
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbstart.
    ;;
    'stop')

    # Stop the Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "judgment of $ORACLE_HOME/bin/lsnrctl.
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbshut.
    ;;
    ESAC

    Exit 0

    Note: Please check your ORACLE_HOME

    Step-3 of the root user

    chmod 755 released
    chkconfig released on

    VI/etc/oratab
    ORCL:/U01/app/Oracle/product/10.2.0/Db_1:Y

    Step 4 Test the automatic start of the root user

    stop /etc/init.d/Dbora
    stop /etc/init.d/Dbora

    Or

    Restart the server

    You can also view
    http://www.Oracle-base.com/articles/Linux/automating-database-startup-and-shutdown-on-Linux.php
    http://docs.Oracle.com/CD/E11882_01/server.112/e10839/strt_stp.htm#BABGDGHF

  • need help to extract data based on the date

    i want to  write the query for the below statements ?
    
    1) net_bank_cr from rm_memorandum for the previous year end 31st March
    
    2) net_bank_cr from rm_memorandum for the as on date
    
    3) net_bank_cr from rm_memorandum as one year prior to current reporting date
    
    The table structure of rm_memorandum is as given below:
    
    create table RM_MEMO
    (
    AS_ON_DT DATE,
    PAID_CAPITAL NUMBER(20,2),
    TOTAL_OBE NUMBER(20,2),
    CR_EQI_OBE NUMBER(20,2),
    NET_BANK_CR NUMBER(20,2),
    ADJ_NET_BANK_CR NUMBER(20,2),
    DEP_CURREMT_CRR NUMBER(20,2),
    LIAB_OTH_CRR NUMBER(20,2),
    TOTAL_CRR NUMBER(20,2)
    ) 

    is can be as...

    /* Formatted on 2011/10/12 14:38 (Formatter Plus v4.8.8) */
    WITH t AS
         (SELECT TO_DATE ('31/12/2010', 'dd/mm/yyyy') as_on_dt, 205 net_bank_cr
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('15/03/2011', 'dd/mm/yyyy'), 205
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('15/03/2011', 'dd/mm/yyyy'), 666
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('31/03/2011', 'dd/mm/yyyy'), 9856
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('31/03/2011', 'dd/mm/yyyy'), 521
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('05/04/2011', 'dd/mm/yyyy'), 20
            FROM DUAL
          UNION ALL
          SELECT TO_DATE ('07/05/2011', 'dd/mm/yyyy'), 965
            FROM DUAL)
    --
    SELECT *
      FROM t
     WHERE t.as_on_dt
              BETWEEN CASE
              WHEN (SYSDATE > ADD_MONTHS (TRUNC (t.as_on_dt, 'YYYY'), 3) - 1)
                 THEN ADD_MONTHS (TRUNC (ADD_MONTHS (SYSDATE, -12), 'YYYY'), 3)
                      - 1
              WHEN (SYSDATE <= ADD_MONTHS (TRUNC (t.as_on_dt, 'YYYY'), 3) - 1)
                 THEN ADD_MONTHS (TRUNC (ADD_MONTHS (SYSDATE, -24), 'YYYY'), 3)
                      - 1
           END
                  AND CASE
              WHEN (SYSDATE > ADD_MONTHS (TRUNC (t.as_on_dt, 'YYYY'), 3) - 1)
                 THEN ADD_MONTHS (TRUNC (SYSDATE, 'YYYY'), 3) - 1
              WHEN (SYSDATE <= ADD_MONTHS (TRUNC (t.as_on_dt, 'YYYY'), 3) - 1)
                 THEN ADD_MONTHS (TRUNC (ADD_MONTHS (SYSDATE, -12), 'YYYY'), 3)
                      - 1
           END
    /
    

    Kind regards
    friend

  • Need help on creating a report after you set criteria

    Hello world

    I been through ebooks and had the idea of the apex.
    To give an example of what I want to do is I want to open up two areas of dates and selector of the report between the dates that have been defined in the selectors of dates
    These date picker field may be on the same page of the report, or they could be on another page. Once create button then the ratio between the dates that you define should appear

    Any thoughts?

    Thank you now

    Create a page with 2 parts...

    1st region would be of type html. Would have a series of selectors of dates, add validation to confirm that the TWO have selected values, and the departure date is less than OR equal to the date of end submit button to submit the page and generate the report.

    2nd region would be a region in relation to a selection with a where clause filtering on dates at the top clause. to visible region report only when the dates have a value.

    Thank you

    Tony Miller
    Webster, TX

    Never give up dreams!
    JMS

    If you answer this question, please mark the thread as closed and give points where won...

  • Need help with creating a Package in the same way

    Hi all


    I have script for the file package. It's good work, but I need the package on the same path instead of on desktop with file name.

    As if the work of the file xyz.idd in D:\ Projects\Today\

    I need same location (D:\ Projects\Today\) with the name of the folder as file name (xyz)

    Can you change the code, I tried to change but it does not work.

    var to = new File ("~/Desktop/package_folder/");
    flag of the var = Folder (to) .create ();

    var copyingFonts = true;
    var copyingLinkedGraphics = true;
    var copyingProfiles = true;
    var updatingGraphics = true;
    var includingHiddenLayers = true;
    var ignorePreflightErrors = true;
    var creatingReport = true;
    var versionComments = 'comment ';
    var forceSave = true;

    If (flag = true) {}
    () app.activeDocument.packageForPrint
    TO
    copyingFonts,
    copyingLinkedGraphics,
    copyingProfiles,
    updatingGraphics,
    includingHiddenLayers,
    ignorePreflightErrors,
    creatingReport,
    versionComments,
    forceSave
    );
    }

    Thanks in advance

    Kind regards

    Siva

    myDocument var = app.activeDocument;
    var myDocName = myDocument.name;
    Temp=myDocName.replace(/\.indd/g,""); "
    var myFileNme = temp.toString ();
    var myDocument.filePath = myFolder.
    var to = new file (MyFolder + "/" + myFileNme + "/");
    flag of the var = Folder (to) .create ();
    var copyingFonts = true;
    var copyingLinkedGraphics = true;
    var copyingProfiles = true;
    var updatingGraphics = true;
    var includingHiddenLayers = true;
    var ignorePreflightErrors = true;
    var creatingReport = true;
    var versionComments = 'comment ';
    var forceSave = true;
    If (flag = true) {}
    () app.activeDocument.packageForPrint
    TO
    copyingFonts,
    copyingLinkedGraphics,
    copyingProfiles,
    updatingGraphics,
    includingHiddenLayers,
    ignorePreflightErrors,
    creatingReport,
    versionComments,
    forceSave
    );
    }

    Mi_D

Maybe you are looking for

  • Equium A100 - CD is no longer burning but still burn DVD

    Hello all you have a problem with my laptop recently I tried to burn a cd and in any program I use says something wrong with the disc etc and burn a little and displays the status bar.But I can still burn DVD so I am confused help much appreciated. I

  • Port COM3 modem problem

    HelloI can't establish a connection dial-up on my laptop, I try to connect to the internet modem cannot dial because port COM3 seems closed.It's a software modem internal Toshiba do.Modem appeas to work properly, I checked with Device Manager.When tr

  • can't choose the printer when you print the HTML report

    Hello I lost many many hours trying to correctly print a report that consists only of a JPEG image. After a conversation in the forum, I have concluded that the LabVIEW includes a printing Standard reports bug, because it cannot handle properly the m

  • try checking the updates for Vista; get the error code 800700005. What's wrong?

    Impossible to update vista

  • the specified account name is not valid

    When you try to configure a task in Vista Task Scheduler I receive the following error message after you configure all the parameters of the task: "is an error generated for task reminders - Desk Checkout (it's a username on the system, but not one t