Go to a page of the OFA using link article

Hello

I am trying to create a link in a custom oaf page. The link would be url to another page of the ofa custom that would be retrieved from a table.

Link is as below

test.jpg

To do this, I did the following-

1. creates a rowlayout.

2. put a messagestyletext element for the "link name:" and put a link to the url element.

3 written a VO to extract the url mapped to the instance of the view and the table and the mode of the binding element of the VO attribute.

4. made its CSS class as oraLinktext

When I run the project, I see the link is completed as a hyperlink. As I navigate to the page of OPS, another form of inside this project, I replaced the table value of the actual url with the url of google.

To access the url, I've tried several things-

1 try to dΘfinir an firepartialaction event. capture the event in the code of the PFR in CO and get the url of the link item and go to the

String toc_url = pageContext.getParameter ("TOC");  Table of contents are the binding element ID

pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);

the toc_url returns null, as I have seen print its value, then of course the link is not navigate it there.

2 tried the following in the code PR in CO.

OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");

BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD");  Table of contents are the attribute view name

System.out.println (bindValue.ToString ());      oracle.apps.fnd.framework.webui.OADataBoundValueViewObject@1ff5160

toc_urlbean.setAttributeValue (toc_urlbean. DESTINATION_ATTR, bindValue);

After that the page load is complete, when I click in the link, page is not redirected to google.

I'm new on OAF, and being not able to manage it properly. Can someone help me on this please?

Thank you.

I got the solution.

I write down the solution if it serves to someone else newbie like me in the future...

Set a 'fake' event firepartialaction in the action element. Capture the event in the code of the PFR process as below - and CO

If (toc".equals (pageContext.getParameter (EVENT_PARAM))) {" "}

OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");

BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD");

String toc_url = bindValue.getValue (pageContext.getRenderingContext ()) m:System.NET.SocketAddress.ToString ();

pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);

}

bindValue.getValue (pageContext.getRenderingContext ()) is what gets the url in the mode of the binding element attribute.

Tags: Oracle Applications

Similar Questions

  • How can we dynamically open an external URl of the page of the OFA

    Hi team
    Hello, how can we dynamically open an external URl of the page of the OFA
    For example: my datas table DB are like that
    Employee no       Url
    1     https://www.google.co.in/
    2     https://www.facebook.com/
    3     https://www.yahoomail.com/
    When I don't ask used no 1 of my Search Page
    In the result of my search page table, I get
    1 https://www.google.co.in/
    NOTE: Here item URL is type bean link when I click on the link it should open google page in separate browser
    At the same time, when I question used no 2 which is shown below, then it should open facebook page in a separate browser.
    2 https://www.facebook.com/

    When I try this
    Destination URI - https://www.google.co.in/
    It opens no separate browser, but for employees don't I question as open 1,2,3 only the same page of google in the separate browser for everyone, it is static, I want to dynamically open the URL depend on my employee to query no. If I query emp No 2 it must open facebook page this is my requirement. How can I pass the URL as a parameter?

    Please share your knowledge and experience and your advice my on this issue
    How can I complete my task
    I hope that my requirement is clear, if not please let me know I explained more anyway :)

    Is it Possible to achieve this OAF Page
    Thank you for all your suggestions on this
    Thanks in advance

    A.T. :)

    .findIndexedChildRecursive ("ResultTable");

    Here, you should have the exact itrm link id and not the region containing the lino

    Would it be more likely ImagePath I think ResultTable corresponds to the id of the table of search results

  • Need to download a CSV/Excel file to a table in the page of the OFA

    I have a table of products can be changed on a page of the OFA. I provide this table with the button 'Download', clicking on, the user must be able to locate the file excel/csv(It contain some products) local office and be able to download it in the products table.

    No idea how this can be done?

    Do we need to use messageFileUpload > get DataObject > > convert StringBuffer > > > and divide it into lines > > > > insert each line through VO > > > > > refresh the VO?

    Who is the process or do we not have any other process. If Yes can you please report it to a few examples of messageFileUpload?

    Thank you
    Sicard.

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule m = pageContext.getApplicationModule (webBean) (OAApplicationModule);
    OAViewObjectImpl vo = am.findViewObject("XxCholaCsvDemoVO1") (OAViewObjectImpl);
    If ("Go".equals (pageContext.getParameter (EVENT_PARAM)))
    {
    DataObject fileUploadData (DataObject) = pageContext.getNamedDataObject ("FileUploadItem");
    String fileName = null;
    String contentType = null;
    Long fileSize = null;
    Integer fileType = new Integer (6);
    BlobDomain uploadedByteStream = null;
    BufferedReader in = null;

    Try
    {
    fileName = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");
    contentType = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_MIME_TYPE");
    uploadedByteStream = (BlobDomain) fileUploadData.selectValue (null, fileName);
    in = new BufferedReader (new InputStreamReader (uploadedByteStream.getBinaryStream ()));

    file = new Long size (uploadedByteStream.getLength ());
    System.out.println ("FileSize" + FileSize);
    }
    catch (NullPointerException ex)
    {
    throw new OAException ("Please select a file to download", OAException.ERROR);
    }

    try {}

    Open the CSV file for reading

    String lineReader ="";

    t length = 0;

    String linetext [];

    While (((lineReader = in.readLine ())! = null)) {}

    Split delimited data and
    If (lineReader.trim () .length () > 0)
    {
    System.out.println ("lineReader" + lineReader.length ());
    LineText = lineReader.split(",");

    t ++ ;

    Print the current line current

    System.out.println (t + "-" +)
    LineText [0]. Trim() + "-" + linetext [1] .trim () + ' - ' +.
    LineText [2]. Trim() + "-" + linetext [3] .trim () + ' - ' +.
    LineText [4]. Trim() + "-" + linetext [5] .trim ());
    If (! vo.isPreparedForExecution ()) {}
    vo.setMaxFetchSize (0);
    vo.executeQuery ();
    }
    Line = vo.createRow ();
    row.setAttribute ("Column1", linetext [0] .trim ());
    row.setAttribute ("Column2", linetext [1] .trim ());
    row.setAttribute ("Column3", linetext [2] .trim ());
    row.setAttribute ("Column4", linetext [3] .trim ());
    VO. Last();
    VO. Next();
    vo.insertRow (row);

    }

    }

    }

    catch (IOException e)
    {
    throw new OAException (e.getMessage, OAException.ERROR);
    }
    }
    ElseIf (Upload".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    am.getTransaction () .commit ();
    throw new OAException ("Uploaded SuccessFully", OAException.CONFIRMATION);

    }
    }
    }

  • Static variables in the Page of the OFA

    Hello

    We have a requirement to show the popup message when changes are made in the page of the OFA. We use the static variable in the OPS page to store the initial values of some fields and whenever the popup needs to be shown, it compares the value of the static variable for the current value. If they are different then we are the message. It works perfectly fine when the page is accessed by the single user. But when several users access a single screen, it shows the message to a user even if the values are not changed by this user, but the other user has changed. My question is-

    1. do we need to use variables of session always for users multiple scenarios?
    2. How does the static variable in java? It is not unique to the session? If so, above the question shouldn't come.
    3. how to solve the problem above?

    Pointers on this would be a great help.

    Thank you
    Shree

    I did not understand the part same page can be accessed by different users. In any OA framework Page, the same page is accessible by several users. If you think abt the same data updated at the same time, then search functionality of Version number of the object in the context of OSTEOARTHRITIS.

    All instances of the VO are unique for each session. So no need to worry about this side here.

    Concerning
    Sumit

  • How to change the background color dynamically on the page of the ofa

    How to change the background color dynamically on the page of the ofa

    Hello

    Can you please let me know the dynamic conditions to change the background color?

    Thank you

    Vincent

  • Call an HTML page directly from the page of the OFA.

    Hello
    I have a customer requirement to call an HTML page directly from my page of the OFA. The HTML page is the home page of their business and in my OAF page whenever the Cancel button will be squeezed user will be redirected to the HTML home page.
    Is someone can you please tell me how I can get this feature.

    Thank you
    Lucile

    R11 I have pageContext.sendRedirect (url) of the user; to achieve this.

    Kind regards
    Out Sharma

  • Problem in XML Publisher on the presentation of the Pages of the OFA

    Hello


    I'm presenting the simultaneous programme of the OAF Page which is a report of XML editor.

    Demand is submission and completing successfully, but when we opened to display the set output we are able to display HTML tags.

    We have audited the same simultaneous program by submitting in the window SRS after completing if we click on output view the rtf file is open correctly.

    I tested with normal rdf report, it works very well with standard simultaneous program used in the OFA

    So my question is

    Is the program simultaneous Standard used in OFA supports rtf reports.

    Please suggest if no changes in the program simultaneously

    Krishna

    Note Please XXAPLPOSMPRD is program simultaneous short name not model name

    Thank you
    AJ

  • concurrentRequest page of the OFA, runs, but don't choose the model of provision.

    I went through a lot of threads and dev ofa guide and I assured the controller of my custom page concurrentrequest.
    but when I find out, it errors saying the output is not generated for this request.

    Details of the conc program - its a report oracle user can run when needed or it should be able to call from pages of the OPS.
    report is bound to the rtf template that opens the report in pdf format.
    If I run the report of conc Prog... it works fine, but no page of the OPS.

    Here is the code:
    CO:
     if( pageContext.getParameter("concurrentprogram") != null)
     {
        Serializable[] p = {modelid};
        int reqId =  ((Integer)am.invokeMethod("submitCPRequest", p)).intValue();
    
        String url="OA.jsp?akRegionApplicationId=0&akRegionCode=FNDCPREQUESTVIEWPAGE";
        pageContext.setForwardURL(url,
                                  null,
                                  OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                  null,
                                  null,
                                  true,
                                  OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
                                  OAWebBeanConstants.IGNORE_MESSAGES);
      }
    AM:
      public int submitCPRequest(String s1)
     {
        try {
             OADBTransaction tx = (OADBTransaction)getDBTransaction();
             java.sql.Connection pConncection = tx.getJdbcConnection();
            ConcurrentRequest cr = new ConcurrentRequest(pConncection);
            String applnName = "MAC"; //Application that contains the concurrent program
            String cpName = "MACZMDLRL"; //Concurrent program name
            Vector cpParameters = new Vector(); 
            cpParameters.addElement(s1);        
            int requestId = cr.submitRequest(applnName, cpName, "", "", false, cpParameters);
            tx.commit();
            return requestId;
        } 
        catch (RequestSubmissionException e) 
        {
        throw new OAException(e.toString(),OAException.ERROR);
        }
      } 
    its not to choose the model of the xml editor. ... of ideas?

    Use following when sending request addition to what you do now,

    ConcurrentRequest cr = new ConcurrentRequest (pConncection);
    cr.addLayout('XXEGA','XXEGA_IBR_BOM_EXPORT','en','US','PDF');

  • Print the Test Page from the printer using prnqctl.vbs

    Hello. I have a HP Deskjet D4360 printer. As is the case with the ink more cheap jet, the print heads printers dry if they idle too long, and the expensive ink cartridge will lose. This printer is connected to my computer via a USB cable and is not on the network.

    What I want to do, it's automatically print a test page to the printer once per week. I want to this by setting up a task that calls prnqctl.vbs by using the following command:

    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnqctl.vbs EI Pei "HP Deskjet D4300 series"

    When I run (as administrator) command prompt and run this command, I see the following result:

    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.

    Failure Print Test Page 5 Win32 error code

    My understanding is that 'Win32 5 error Code' translates to 'access denied '. I checked the name of the printer is "HP Deskjet D4300 series", so this isn't the issue.

    For what it's worth, I use Win7 Home Premium 64-bit SP1.

    Any ideas as to what can make it work? Thanks in advance.

    Hello

    The question you posted would be better suited in the MSDN Forums. We have separate team working on these issues.  I would recommend posting your query in the MSDN Forums.

    TechNet Forum

    http://social.msdn.Microsoft.com/forums/en-us/home

    Hope this information is useful.

  • How return values when the page of the ofa procedure call

    Hello

    I need to return multiple values in the OPS page calling procedure.i using below code.bt I'm able to return a single value. Please suggest me how to return multiple values.

    Co:

    -----

    If (pageContext.getParameter ("Calc")! = null) {}

    Vo1 OAViewObject = (OAViewObject) am.findViewObject ("AddonBillingVO");

    System.out.println ("VO");

    {if(VO1!=null)}

    CNT int = vo1.getRowCount ();

    System.out.println ("count:" + cnt);

    If (cnt > 0)

    {

    RowSetIterator rs = vo1.createRowSetIterator("empIterator");

    System.out.println ("EMP");

    If (rs! = null)

    {

    While (rs.hasNext ())

    {

    AddonBillingVORowImpl line = rs.next ((AddonBillingVORowImpl));

    System.out.println ("impl");

    If (line! = null)

    {

    String laseid = row.getAttribute("LeaseId").toString ();

    System.out.println (laseid);

    String billingid = row.getAttribute("AddonBillingId").toString ();

    System.out.println (billingid);

    [Serializable] param = {}

    laseid, billingid

    };

    String newupc = (String) am.invokeMethod ("callPLSQLProc", param);

    System.out.println (newupc);

    String myValue = newupc;

    OAMessageTextInputBean textBean = (OAMessageTextInputBean) webBean.findChildRecursive ("prorate");

    textBean.setValue (pageContext, myValue);

    }

    }

    AM:

    --------

    public String callPLSQLProc (String laseid, String billingid)

    {

    OracleCallableStatement callableStatement = null;

    Try

    {

    String callProc = "BEGIN LEASE_PRORATE_PKG. LEASE_PRORATE_PROC1 ' + '.

    "(p_lease_id = >: 1,» +)"

    ' p_billing_id = >: 2 +,

    "(p_prorate = >: 3) +;

    'END;';

    callableStatement (OracleCallableStatement) = getOADBTransaction ().createCallableStatement(callProc,1);

    callableStatement.setInt (1, Integer.parseInt (laseid));

    System.out.println (laseid);

    callableStatement.setInt (2, Integer.parseInt (billingid));

    System.out.println (billingid);

    callableStatement.registerOutParameter(3,OracleTypes.VARCHAR,255);

    callableStatement.execute ();

    String resultMessage = (String) callableStatement.getString (3);

    System.out.println (resultMessage);

    Return resultMessage;

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    System.out.println ("execepn");

    throw new OAException (try (), OAException.ERROR);

    }

    printscreen.PNG

    Khalil.

    Hello

    You are the PL/SQL procedure in a loop on the right? Just assign the value to the attribute appropirate.

    if (pageContext.getParameter("Calc")!=null)  {
      OAViewObject vo1 = (OAViewObject)am.findViewObject("AddonBillingVO");
      System.out.println("vo");
      if(vo1!=null) {
      int cnt = vo1.getRowCount();
      System.out.println("count :" + cnt);
      if (cnt > 0){
      RowSetIterator rs = vo1.createRowSetIterator("empIterator");
      System.out.println("emp");
      if (rs != null){
      while (rs.hasNext()){
      AddonBillingVORowImpl row = (AddonBillingVORowImpl) rs.next();
      System.out.println("impl");
      if (row != null){
      String laseid = row.getAttribute("LeaseId").toString();
      System.out.println(laseid);
      String billingid=      row.getAttribute("AddonBillingId").toString();
      System.out.println(billingid);
      Serializable[] param = { laseid,billingid };
      String newupc = (String) am.invokeMethod("callPLSQLProc",param);
      System.out.println(newupc);
      //String myValue = newupc ;
      //OAMessageTextInputBean textBean = (OAMessageTextInputBean)webBean.findChildRecursive("prorate");
      //textBean.setValue(pageContext, myValue);
      row.setAttribute("Prorate",newupc);
      }
      }
      }
      }
      }
    }
    

    Check the last lines. If the attribute name is nothing else than "Pro rata", updated accordingly.

    See you soon

    AJ

  • Search values are not get disabled on the page of the ofa

    Dear all,

    I used a lookuptype in my page of the OPS. for a drop-down list

    Now, I have to remove half of the values of this type of research.

    I disabled, I finish dated Iam them, but it's still see disabled values in my drop down list

    I even bounced.  But still Iam see those disabled values in my drop-down list

    No idea why iam getting those yet.

    Help, please.

    Thank you

    Aravinda

    When you say removed, how did you remove? If a database direct delete, check the details below:

    1. don't hire you?

    2. If you are working on several instance, check the instance (this happened to me once)

    End date or disabled flag is used in the query of the VO?

    See you soon

    AJ

  • Table data transfer from one page to another page in the OFA

    Hi all

    Could you please help me with the following requirements. I'm transferring the first records of the selected page to the second page, but running in question.

    I have 2 custom OAF pages:

    1st Page is the search looking for an invoice and invoice page, the user can select "multiple entries" (her table with a multiple selection area) and click transfer.

    Internally, the button calls the setForwardUrl method and call the 2nd page, where the second page contains region Advacned table to display the records selected the 1st page.

    Because the user can select more than 1 record in the search box on the first page, I want to hold all the rows in a table of Hashmap with integer index and transfers them to the 2nd page. Here is the syntax of hashmap that I use:

    map of java.util.HashMap < Integer, InvoiceRow > new < Integer, InvoiceRow > = (); Here InvoiceRow is a CLASS structure personalized with InvoiceNumber and as variables inside customer number.

    But if I passed the HashMap above to the setForwardURL method, the JDeveloper throw an exception indicating that the message "setForwardURL cannot invoke".

    Could you please help me how can I transfer the first page of records multiselected on the second page?

    Enjoy your time.

    -Vincent

    Mohamed, the approach that I told you can try below way:

    public String getSelectedData()
    {
    String whereclause = "(";"
    String whereclause1 = "(";"
    XXCONTAINLINESVOImpl vo = this.getXXCONTAINLINESVO1 ();
    OAViewObject vo = (OAViewObject) getXXDPECONTAINLINESVO1 ();
    System.out.println ("debTEST" + punload);
    Rank [] sumVoRow = vo.getFilteredRows ("Select1", "Y");
          
    System.out.println ("deb multi select test" + sumVoRow.length);
    If (sumVoRow! = null & sumVoRow.length > 0)
    {
    for (int i = 0; i)< sumvorow.length;="" i++)="">
             
            
    String wipEntityId =
    sumVoRow [i].getAttribute("LineId").toString ();
              
                
    WhereClause = whereclause + sumVoRow [i].getAttribute("LineId").toString () + ",";
                 
    System.out.println ("deb multi select test" + whereclause);
            
    }
    }
    If (whereclause.length () > 0 & whereclause.charAt (whereclause.length () - 1) == ',')
    {
            
    B StringBuilder = new StringBuilder (whereclause);
    ("b.Replace (WhereClause.LastIndexOf (","), whereclause.lastIndexOf (", ") + 1," ")");
    WhereClause = b.toString ();
    whereclause return;
              
    }
    System.out.println ("deb where test clause" + whereclause);
           
    whereclause return;
    }

    This method will return the value as: whereclause = (111,222,333) then put it in a varibale session and go to method of CO below

    ----------------------------
    public void processPOData (String wherclause)
    {

    String query = getXXDPECONTAINDATAVO1 () .getQuery (); Old stringbuffer queryStringBuffer = new StringBuffer();
    String newwhereclause = "LINE. LINE_ID IN "+ wherclause;

    System.out.println ("NEW DEB where clause:" + newwhereclause);
    StringBuffer stringbuffer = new StringBuffer();
                          
    StringBuffer.Append ("SELECT rownum LINE_NUM, A.* (" ");
    StringBuffer.Append (Query);
    StringBuffer.Append ('where');
    StringBuffer.Append (newwhereclause);
                       
    ViewDefImpl viewdefimpl is getXXDPECONTAINDATAVO1 () .getViewDefinition ();.

    viewdefimpl.setQuery (stringbuffer.toString ());
                       
        
               
    System.out.println ("DEB NEW QUERY TEST:"+stringbuffer.toString()); ")
    getXXDPECONTAINDATAVO1 () .executeQuery ();
              
    }

    Let me know if stil you face to deliver you

    Thnaks

    Deb

  • How to fix the value of table type defined on page of the ofa LOV

    Hello world
    There's a valueset created in the xx_ap_valueset to say front end which is of type table and created on a table xx_ap_table somewhere with cluase and stopped by the clause.

    Is there a way that we can reach this value a page of the OPS LOV? or is it just that I need to create a vo and reproduce the select statement used in the valueset.


    Help, please!

    Thank you
    Sunny

    Sunny,

    You can not attach the Valueset to the Lov directly. You must create a VO for this.

    Kind regards
    GYAN

  • How to create a printable page in the OPS using Jdev10g

    Hello
    I tried to create a printable page in OAF by following the steps in the OFA Devguide

    Step 1: Add a button to the page level, as described in the document of buttons (Action/Navigation).

    Step 2: Assuming that your button label is the 'Printable Page' standard, apply the frame OA attribute set/oracle/apps/fnd/attributesets/Buttons/PrintablePage.

    Step 3: Define the button's Destination URI property to point to the current page and set the setting facet UIX (TAO) to print as shown in the following example (see control output rendered UIX for more information on the facets). Don't forget to keep your application module.

    OA.jsp_? page = < CURRENT_PAGE > & retainAM = Y & TAO = printable_

    * my path of the current page is * _
    OA.jsp? page = abhi.oracle.apps.ak.employee.webui.AdbPG & retainAM = Y & TAO printable =_


    Note: Earlier versions of the OA Framework recommended giving the print page button send the ID IcxPrintablePageButton. OA Framework detects this ID and behaves correctly when the user presses the button. Although it works again, new code is based on the approach of facets instead.

    Step 4: Set the property of the _blank target frame button to make sure that the printable page opens in a new window.


    but after doing that, I'm getting below the exception.

    Exception details. _


    oracle.apps.fnd.framework.OAException: the application id, or short name you entered does not exist. _

    I'm new to OFA...
    can someone guide me how this exception can be corrected?

    Hello

    Sorry, wrong forum. It comes to Oracle JDeveloper. OFA related issues are dealt with on the forum of the OFA

    Frank

  • 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

Maybe you are looking for

  • Compatible to replace in Pavillion dv6 7023tx drive?

    Hello Only pour water into my laptop, my hard drive is damaged. I would like to change with a new one. Please help me with hard drives compatible which can be replaced in the Pavilion dv6 7023tx model. Thank you.

  • I received a message unable to load the user profile. Another user could connect.

    * Original title: sign in While I was working at my computer closed down to make an update.  When I went to reconnect I had a message user profile cannot be loaded.  Another user has managed to open a session, and it is the only way that this compute

  • extra folder created when uploading photos

    with XP I could download pictures from my camera to a specific file and have the images named with my naming convention. With Windows 7, I always get a new folder created in my folder of destination for whenever I have download the images. I now have

  • With SRP547W and SPA303 VoIP phones

    Hello I have a SRP547W hung with the standard desktop phones connected via phone ports on the back of the device using 2 lines as well as the RTC SIP using the hash first of all that the router in the office. We just added a new Member of staff and b

  • How to use 3750 in any configuration of the battery

    We have just received a 3750 that has been configured as a member of the stack.  They just turned off the switches and send a us, and I would like to use it as a stand alone with no configuration of the battery.  I have tried everything I know, and h