Tree using APEX 2.2

Hi
I have created a tree using APEX 2.2 and the wizard provided. The select for my tree is:
select "NODE_PRIMARY_KEY" id,
"NODE_FOREIGN_KEY" pid,
CASE
WHEN NODE_PRIMARY_KEY = :P6_SELECTED_PK THEN
'<span style="color:white;background-color:#0000CD;">'|| NODE_LABEL||'</span>'
ELSE
NODE_LABEL
END AS NAME,
'f?p=&APP_ID.:6:&SESSION.::NO::P6_SELECTED_PK:'||"NODE_PRIMARY_KEY" link,
NULL a1,
null a2
from "ADFY"."RRD_TREE_HIERARCHY"
ORDER BY 1
The above also highlights the current selected node. With a small data set the tree worked fine. Now that I have 'proper' data the tree's performance is not acceptable. I think the problem is due to the tree refreshing itself each time a node is selected. Is there anything that I can implement to stop this or to improve the performance of the tree?
I have tried the 'Tree with AJAX' example but couldn't really get it to work.
Thanks
Paul

Hi PARS,
Try the below query, I tried to run your query in SQL command and got the same error. I corrected your query, now its running in SQL Command,
select case when connect_by_isleaf = 1 then 0
                                              when level = 1             then 1
                                           else                           -1end as status,
level,
      apex_item.checkbox(1,empno,'')||ename as title,
       NULL as icon,
       EMPNO as value,
       null as tooltip,
       NULL as link
from "EMP"
start with "MGR" is null
connect by prior "EMPNO" = "MGR"
order siblings by "ENAME"
Hope It will work...I too referred that link you shared for this. But I am not sure we can use checkbox in tree report. Because we don't have any option to change the column 'display as' like 'standard report column'. then only it will show like checkbox else it will show the code like '<input type="checkbox" name="f01" value="7839" />KING'.
Thanks
Lakshmi

Similar Messages

  • Trees in Apex 4.0

    Hello,
    Is it possible to make the ajax tree in Apex 4.0 to "memorize" it's state between page loads ?
    Now it's always returned to it's original state after page reload, for example a folder is closed.
    Tiina

    Hi Tiina,
    If you wish to save the state of your tree, to expand the tree to the last selected node, you will need to use the 'Selected Node Page Item' attribute of your tree. Edit your tree and on the Tree Attributes page, set the 'Selected Node Page Item' to a page or application item that you wish to hold the selected node value e.g. P21_SELECTED_NODE as used in the Tree demonstration. Then update the link parameter in your tree query to set this item to the VALUE parameter of your query .e.g EMPNO. Now when you select a node, and return to the tree page, the tree will expand to that last selected node.
    You may find it useful to refer to a related thread on this topic: Re: tree question
    Regards,
    Hilary

  • Multi Root Tree in APEX

    Hey All,
    I'm creating an APEX front-end for a currently existing forms application. My issue is that the document manager created for this application does not have a single root node. There are several folders that make up the original.
    It does use the ID, PARENT_ID, DESCRIPTION hierarchy already.
    However being a very dynamic application we don't control how many records that won't have parent ids.
    Is is possible to create a tree with several Roots or rather no single root using APEX functionality?
    Does anybody have any documentation on how this could be done using AJAX or other technologies within APEX if it cannot be done?

    Hey All,
    I'm creating an APEX front-end for a currently existing forms application. My issue is that the document manager created for this application does not have a single root node. There are several folders that make up the original.
    It does use the ID, PARENT_ID, DESCRIPTION hierarchy already.
    However being a very dynamic application we don't control how many records that won't have parent ids.
    Is is possible to create a tree with several Roots or rather no single root using APEX functionality?
    Does anybody have any documentation on how this could be done using AJAX or other technologies within APEX if it cannot be done?

  • Directory search using APEX

    Hi,
    I have a requirement that there is a directory tree and the group of files are present in each directory under its parent. I have to make a search application that will find the files with its corresponding path where it is present(like desktop application search). Is it possible using APEX? or shall I choose some other application. Please suggest.
    Regards,
    Kaushik

    You can do it, but getting directory contents into your database in order to present it in APEX may not be the best use case.
    See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584

  • How many mails i can send at a time per day using APEX mail system?

    HI,
    I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
    given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
    it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
    saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
    can any one help me to know How many mails i can send at a time per day using APEX mail system?
    Thanks in advance
    Gowthami

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • Where html pages located, which created by using APEX?

    Hi,
    I am using APEX 2.1(Oracle XE) to develop an app, would like to know where html pages stored?
    In other word, how can I put the existing html pages into APEX web server? I don't want to run two web servers on same computer.
    This question may relate to update APEX from 2.1 to 2.2, how to do the upgrade, my APEX is included in Oracle XE.
    Thanks.

    Hello,
    >I followed the method to view :8080/i, it's
    interesting, all stuffs are XE's but not find my own
    pages built by APEX.
    >I guess I'm confused now. You say "built by APEX"
    APEX doesn't build static pages so there is no way to
    access them statically.
    I thought what you wanted is you have static pages
    that you want to serve off an XE instance without
    using another webserver. By uploading your static
    html files into the /i/ directory you can serve them
    from there using the embedded webserver.
    If you want to server your pages from within the
    framework itself that at least means uploading them
    into the Shared Components and then linking to them
    in an iframe or frame to get valid pages or at the
    most getting the content sections into the database
    and pulling them into a region on a page.
    Your question is a little vague, can you be more
    detailed on what exactly you want and what you
    expect.
    CarlSorry for my unclear questions. But your answers are very right to me. Yes, I want to put my existing static html files into the /i/ directory, so I can serve them from there using the embedded webserver. I will upload them into Shared Components to try, I appreciate if you tell me how to make the link between these html pages to iframe. I am newby to this.
    My second question is that I use APEX built some test pages, but I can not find them in :8080/i virual fold.

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • How to create a Group Above report using APEX

    I want to create a Group above report with more that one group using APEX. Is it possible to generate such a report using APEX. If so kindly let me know how to go about creating a Group above report with more than one group.

    Hello Srini,
    Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
    Please let me know if any... urgent
    Thanks in advance
    Krishna

  • Help With "Package An Application" Using APEX  3.0.1 with XE

    I'm using apex 3.0.1 and XE Database and I'm trying to create a package application but without succes, I can find the way to do it and I know that it's possible. What I'm trying to do is create a file like the package application that we can download from Oracle page but for an application I create.
    Looking here in the forums I found this link:
    http://www.oracle.com/technology/oramag/oracle/06-jul/o46browser.html
    And I was trying to follow it step by step until I found the Step 4: Package Up the Application, number 7.
    1. In the breadcrumb links in the upper left-hand corner of the screen, click the Application nnn link (where nnn corresponds to the ID of the employee lookup application in your Oracle Application Express instance).
    2. Click the Edit Attributes icon, and then click Supporting Objects.
    3. Click Edit.
    4. In the Welcome section, enter readme text for the application in the Message field, such as "This application lets users browse employee information. Users accessing the application with a USERID stored in the table can upload a photo if one does not already exist."
    5. Click the right arrow to go to the Prerequisites tab.
    6. To ensure that folks who already have a table named OM_EMPLOYEES in their schemas don't run into a conflict with this script, enter OM_EMPLOYEES in the first Object Names field and click Add.
    [b]7. Click the Scripts tab.
    8. Click Create.
    9. Click the Copy from SQL Script Repository icon.
    10. Enter Create Table, Sequence, and Trigger in the Name field, and click Next.
    11. Select om_employees.sql, and click Create Script.
    12. Repeat steps 9 through 11 for the om_download_pict.sql and seed_data .sql scripts. Feel free to name these scripts as you see fit.
    13. Click the Deinstall tab, and click Create.
    14. Click the Create from File icon.
    15. Click Browse, select the drop_om_objects.sql script (included with this column's download file), click Open, and click Create Script.
    16. Click the right arrow.
    17. Select Yes for Include Supporting Object Definitions in Export.
    18. Click Apply Changes.
    I can't find the scrips tab and I completely lost. I start to believe that this steps don't apply for Apex 3.0.1.
    If anyone of you could help me with this, please do it, I really need it.
    Johann.

    Johann,
    That doc was probably written against 2.2 because in 3.0, we reworked the supporting objects page a bit. If you are on Supporting Objects, in the Installation region, click on Installation Scripts. For more information, check the Advanced Tutorials document off our OTN site for a Tutorial called Reviewing a Packaged App (something like that - I can't access the doc at the moment).
    -- Sharon

  • Could not lookup PortalManagerHome in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager

    Hi
    I am just a starter on WLPortal.
    I have created a barebone Application from scratch. I have synchronized it properly
    from EBCC to WLP. But When I am trying to access the home page of my application,
    I am getting from stack trace -
    <Nov 6, 2002 5:37:59 PM IST> <Error> <PortalAppflow> <Could not lookup PortalManagerHome
    in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager.
    javax.naming.NameNotFoundException: Unable to resolve comp/env/ejb/PortalManager
    Resolved: 'comp/env' Unresolved:'ejb' ; remaining name 'PortalManager'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:802)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:209)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:173)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:36)
    at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:124)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at com.bea.p13n.util.JndiHelper.lookupNarrow(JndiHelper.java:96)
    at com.bea.portal.appflow.PortalAppflowHelper.<clinit>(PortalAppflowHelper.java:64)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.init(PortalWebflowServlet.java:78)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    <Nov 6, 2002 5:37:59 PM IST> <Error> <HTTP> <[WebAppServletContext(19695286,FirstWebApp,/FirstWebApp)]
    Servlet failed with Exception
    java.lang.NullPointerException:
    at com.bea.portal.appflow.PortalAppflowHelper.createPortalManager(PortalAppflowHelper.java:82)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalRequest(PortalWebflowServlet.java:187)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    When I decompiled the class PortalAppflowHelper, I found a static block in it,
    which was as under-
    static
    debug = Debug.getInstance(com.bea.portal.appflow.PortalAppflowHelper.class);
    try
    if(debug.ON)
    debug.out("Looking up PortalManagerHome using EJB reference java:comp/env/ejb/PortalManager");
    portalManagerHome = (PortalManagerHome)JndiHelper.lookupNarrow("java:comp/env/ejb/PortalManager",
    com.bea.portal.manager.ejb.PortalManagerHome.class);
    if(debug.ON)
    debug.out("Successfully retrieved PortalManagerHome " + portalManagerHome);
    catch(Exception e)
    PortalAppflowLogger.errorFindingPortalManagerHome("java:comp/env/ejb/PortalManager",
    e);
    I have checked the PortalManager's JNDI name on WLConsole. Its ${APPNAME}.BEA_portal.PortalManager.
    Should I change it?
    When I tried to change it, I started getting other weird errors.
    Thanks
    Neeraj Hans

    Neeraj -
    The Portal framework code (including PortalAppflowHelper) uses ejb
    references to find the PortalManager (and other EJBs) from servlets and
    taglibs; that is what is signified by the java:comp/env/... name.
    Since you built your webapp from scratch (instead of using the portal
    wizard), you will need to make sure the you have the appropriate
    <ejb-ref> entries in your web.xml, and the corresponding
    <ejb-reference-description> entries in your weblogic.xml. By default,
    you will need at least mappings for:
    - ejb/PortalManager
    - ejb/UserManager
    - ejb/GroupManager
    - ejb/PipelineExecutor
    - ejb/EventService
    See either the resulting webapp from using the portal wizard or
    BEA_HOME/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/sampleportal/WEB-INF
    for example syntax.
    Greg
    Neeraj Hans wrote:
    Hi
    I am just a starter on WLPortal.
    I have created a barebone Application from scratch. I have
    synchronized it properly
    from EBCC to WLP. But When I am trying to access the home page of my
    application,
    I am getting from stack trace -
    <Nov 6, 2002 5:37:59 PM IST> <Error> <PortalAppflow> <Could not lookup
    PortalManagerHome
    in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager.
    javax.naming.NameNotFoundException: Unable to resolve
    comp/env/ejb/PortalManager
    Resolved: 'comp/env' Unresolved:'ejb' ; remaining name 'PortalManager'
    at <stack trace lines snipped>
    When I decompiled the class PortalAppflowHelper, I found a static
    block in it,
    which was as under-
    static
    debug =
    Debug.getInstance(com.bea.portal.appflow.PortalAppflowHelper.class);
    try
    if(debug.ON)
    debug.out("Looking up PortalManagerHome using EJB
    reference java:comp/env/ejb/PortalManager");
    portalManagerHome =
    (PortalManagerHome)JndiHelper.lookupNarrow("java:comp/env/ejb/PortalManager",
    com.bea.portal.manager.ejb.PortalManagerHome.class);
    if(debug.ON)
    debug.out("Successfully retrieved PortalManagerHome "
    + portalManagerHome);
    catch(Exception e)
    PortalAppflowLogger.errorFindingPortalManagerHome("java:comp/env/ejb/PortalManager",
    e);
    I have checked the PortalManager's JNDI name on WLConsole. Its
    ${APPNAME}.BEA_portal.PortalManager.
    Should I change it?
    When I tried to change it, I started getting other weird errors.
    Thanks
    Neeraj Hans

  • Upload multiple excel files into tables using APEX

    Hi folks,
    I'm wondering if anyone has ever uploaded multiple .csv files simultaniously and store the data into the database using APEX XE before.
    I can browse for a single file, and execute that okay and a good example of doing that can be found at http://advait.wordpress.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    This works fine when the user browses to a specific file on their network and then uploads the data from that one file.
    However I need the ability to 'grab' every file in a specific directory one after the other to process rather than having to specify which one to load everytime, and wondered if anyone has come across this before.
    Many thanks
    Graham.

    Just for completeness ...
    Got this to work, but it's a pl/sql issue as opposed to an APEX issue.
    Anyway, if anyone needs to have the ability to read multiple files then a quick easy way to do it (as lomg as they know the file names that will be read), is to create a directory on the database which points to the actual harddrive on your PC, then create a table (called an external table) and read from that external table as if it was an actual database table ...
    1 - Log on as sys and grant CREATE ANY DIRECTORY to whatever user you are logging in as (assuming you are not using sys to create apps)
    2 - Create a directory e.g....CREATE OR REPLACE DIRECTORY GB_TEST AS 'c:\gbtest';
    3 - Create an external table as ...
    CREATE TABLE gb_test
    (file_name varchar2(10),
    rec_date date
    rec_name VARCHAR2(20),
    rec_age number,
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY GB_TEST
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    LOCATION ('data1.csv','data2.csv','data3.csv','data4.csv')
    PARALLEL 5
    REJECT LIMIT 20000;
    That's it then ...
    select * from gb_test
    where file_name = 'xxx'
    will return all the data where the file_name = 'xxx'
    very easy to use.

  • Need to send a link in mail using apex

    Hi,
    I need to send a mail using apex which will contain a link for a specific page. For sending mail , I used the following query:
    for c1 in (select EMAIL_ADDRESS
                 from USER_DETAILS
                where USER_NAME= :P4_USER_NAME and EMAIL_ADDRESS=:P4_EMAIL_ADDRESS) loop
      if c1.EMAIL_ADDRESS is not null then
        HTMLDB_MAIL.SEND(
          P_TO       =>  c1.EMAIL_ADDRESS,
          P_FROM     => '[email protected]',
          P_BODY     => 'Your new password is '|| 'xyzxyz',
          P_SUBJ     => 'Password detail' );
      end if;
    end loop;
    But how i will send the required link.
    Pls give some idea.
    Thanks,
    Chandra Bhanu

    Hi Chandra,
    Try this version of your code, you will alter the url to map to your apex server.
    DECLARE
       l_body   VARCHAR2 (4000);
    BEGIN
       FOR c1
          IN (SELECT email_address
                FROM user_details
               WHERE     user_name = :p4_user_name
                     AND email_address = :p4_email_address)
       LOOP
          IF c1.email_address IS NOT NULL
          THEN
             -- Include link to login page
             l_body :=
                   '<p>Your new password is '
                || 'xyzxyz'
                || '  To access the application and change your password, follow the '
                || 'link below.</p><p><a href="http://'
                || '</p><p><a href="http://edwprd:7777/pls/oitp/f?p=&APP_ID.:LOGIN</a></p>';
             apex_mail.send (p_to     => c1.email_address,
                             p_from   => '[email protected]',
                             p_body   => l_body,
                             p_subj   => 'Password detail');
          END IF;
       END LOOP;
    END;
    Jeff

  • Have a requirement to consume a  SOAP webservice (wsdl file) using apex

    Hi,
    I am using Application Express 4.2.2.00.11.
    My requirement is to consume a soap web service (wsdl file).
    I am pasting the wsdl fille.
    <wsdl:message name="FulfillOrderResponseRequestMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationEBM"/>
    </wsdl:message>
    <wsdl:message name="FulfillOrderResponseResponseMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationResponseEBM"/>
    </wsdl:message>
    <wsdl:portType name="FulfillOrderResponse">
    <wsdl:operation name="process">
    <wsdl:input message="client:FulfillOrderResponseRequestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="FulfillOrderResponseCallback">
    <wsdl:operation name="processResponse">
    <wsdl:input message="client:FulfillOrderResponseResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="FulfillOrderResponseBinding" type="client:FulfillOrderResponse">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:PolicyReference URI="#wss11_saml_or_username_token_with_message_protection_service_policy" wsdl:required="false"/>
    <wsp:PolicyReference URI="#wsaddr_policy" wsdl:required="false"/><wsdl:operation name="process">
    and the xml file looks like this
    <FulfillOrderResponseRequestMessage>
    <part  name="payload">
    <coreforderrocessFulfillmentOrderNotificationEBM>
    <corecom:EBMHeader>
    <corecom:EBMID>2d383135353332303931343330383630</corecom:EBMID>
    <corecom:EBMName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBM</corecom:EBMName>
    <corecom:EBOName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBO</corecom:EBOName>
    <corecom:CreationDateTime>2013-12-27T13:29:04.530+05:30</corecom:CreationDateTime>
    <corecom:VerbCode>Update</corecom:VerbCode>
    <corecom:MessageProcessingInstruction>
    <corecom:EnvironmentCode>PRODUCTION</corecom:EnvironmentCode>
    </corecom:MessageProcessingInstruction>
    <corecomender>
    <corecom:ID  schemeAgencyID="GPR">EBSVIS</corecom:ID>
    <corecomenderMessageID/>
    <corecom:CallingServiceName>{_http://xmlns.oracle.com/ApplicationBusinessFlow/OrderToCash/ProcessFulfillmentOrderNotificationEbizToFusionDOOABF/V1}ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:CallingServiceName>
    <corecom:WSAddress>
    <ns1:ReplyTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:ReplyTo>
    <ns1:FaultTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:FaultTo>
    </corecom:WSAddress>
    </corecomender>
    <corecom:Target>
    <corecom:ID  schemeAgencyID="GPR">GPR</corecom:ID>
    </corecom:Target>
    <corecom:BusinessScope/>
    <corecom:EBMTracking>
    <corecomequenceNumber>1</corecomequenceNumber>
    <corecom:ExecutionUnitName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:ExecutionUnitName>
    <corecom:ImplementationCode>BPEL</corecom:ImplementationCode>
    <corecom:ActivityDateTime>2013-12-27T13:29:04.531+05:30</corecom:ActivityDateTime>
    </corecom:EBMTracking>
    <xacml-context:Request/>
    </corecom:EBMHeader>
    <coreforderataArea>
    <corecomrocess  operation="ProcessFulfillmentOrderNotification"/>
    <coreforderrocessFulfillmentOrderNotification>
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="ORDER_NUMBER"  schemeAgencyID="EBSVIS">66498</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="HEADER_ID"  schemeAgencyID="EBSVIS">228338</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196926</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">228338</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <coreforder:TypeCode  listAgencyID="GPR">ORDER</coreforder:TypeCode>
    <corecom:BusinessUnitReference>
    <corecom:BusinessUnitIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="ORG_ID"  schemeAgencyID="EBSVIS">204</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000028235904</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:BusinessUnitIdentification>
    </corecom:BusinessUnitReference>
    <coreforder:FulfillmentOrderLine  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="LINE_NUMBER"  schemeAgencyID="EBSVIS">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    <coreforder:FulfillmentOrderSchedule  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="FulfillLineId"  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:FreightTermCode  listAgencyID="EBSVIS">Paid</coreforder:FreightTermCode>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforderromisedShipDateTime>2013-12-27T19:30:00.000+00:00</coreforderromisedShipDateTime>
    <corefordercheduledShipDateTime>2013-12-27T19:30:00.000+00:00</corefordercheduledShipDateTime>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:UnitListPrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitListPrice>
    <corecom:UnitSalePrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitSalePrice>
    <corecom:CarrierPartyReference>
    <corecomartyIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS"/>
    </corecom:ApplicationObjectKey>
    </corecomartyIdentification>
    </corecom:CarrierPartyReference>
    <coreforder:FulfillmentOrderScheduleTax>
    <corecom:Tax>
    <corecom:Amount>0</corecom:Amount>
    </corecom:Tax>
    </coreforder:FulfillmentOrderScheduleTax>
    <coreforder:FulfillmentOrderItem>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    </coreforder:FulfillmentOrderItem>
    </coreforder:FulfillmentOrderSchedule>
    </coreforder:FulfillmentOrderLine>
    </coreforderrocessFulfillmentOrderNotification>
    </coreforderataArea>
    </coreforderrocessFulfillmentOrderNotificationEBM>
    </part>
    </FulfillOrderResponseRequestMessage>
    I need to pass few of the above parameters from database using apex.
    Any help will be very thankfull.
    Please if anything more is required to be provided from my side
    Thanks
    Nilesh

    I nee to pass values to few of the above parameters.
    Please inform if anything more is required from my end.

  • Uploading csv file into database using apex

    Dear all
    I am using apex 4 and oracle express 10g, i need to upload .csv file into the database for one of my appls, i have referred discussion forum for solutions, i found also, but some how its not working for me.
    below mentioned is error and the code
    ERROR:
    ORA-06550: line 38, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 38, column 8: PL/SQL: Statement ignored ORA-06550: line 39, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 39, column 8: PL/SQL: Statement ignored ORA-06550: line 40, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 40, column 8: PL/SQL: Statement ignored ORA-06550: line 41, column 8: PLS-00221: 'V_DATA_ARRAY' is not a proc
    Error
    OK
    CODE:
    DECLARE
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    BEGIN
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data
    from wwv_flow_files where filename = 'DDNEW.csv';
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    -- Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    -- Insert data into target table
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    v_data_array(5);
    v_data_array(6);
    v_data_array(7);
    v_data_array(8);
    v_data_array(9);
    v_data_array(10);
    v_data_array(11);
    -- Clear out
    v_line := NULL;
    END IF;
    END LOOP;
    END;
    what i understand from this is system does not identify v_data_array as array for some reasons, please help me.
    initially system was giving error for hex_to_decimal, but i managed to get this function on discussion forum and now it seems to be ok. but v_data_array problem is still there.
    thanks in advance
    regards
    Uday

    Hi,
    Mistakes in your sample I did correct
    Problem 1
    select blob_content into v_blob_data
    from wwv_flow_files where filename = 'DDNEW.csv'; to
    select blob_content into v_blob_data
    from wwv_flow_files where name = :P1_FILE;Problem 2
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    v_data_array(5);
    v_data_array(6);
    v_data_array(7);
    v_data_array(8);
    v_data_array(9);
    v_data_array(10);
    v_data_array(11);  to
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4),
    v_data_array(5),
    v_data_array(6),
    v_data_array(7),
    v_data_array(8),
    v_data_array(9),
    v_data_array(10),
    v_data_array(11);  And I did create missing table
    CREATE TABLE TABLE_X
        v1  VARCHAR2(255),
        v2  VARCHAR2(255),
        v3  VARCHAR2(255),
        v4  VARCHAR2(255),
        v5  VARCHAR2(255),
        v6  VARCHAR2(255),
        v7  VARCHAR2(255),
        v8  VARCHAR2(255),
        v9  VARCHAR2(255),
        v10 VARCHAR2(255),
        v11 VARCHAR2(255)
      );Regards,
    Jari
    Edited by: jarola on Nov 19, 2010 3:03 PM

  • PDF printing using APEX Listener

    Hi -
    I have one report region a an apex page which displays a classic report based on a simple query. I also have a some header information above the report which are the application item information passed from the previous page. I am trying to generate a PDF report(using APEX listener), the report comes fine but it doesn't show the header information that is displayed above the report. Is there a way to do that? I tried putting some values in "Print Attributes" --> "Page Header" section but it just shows it as static text. Please provide your expertise.
    APEX version: 4.2.2
    Oracle:11gR2
    Printing Engine: Apex Listener
    Thanks,
    -Seenu

    You will need to build an Xsl document and load it into APEX..  Here is the link showing how to do advanced printing with APEX..:
    Marc Sewtz: PDF Printing with Oracle Application Express 4.2.2
    Thank you,
    Tony Miller
    LuvMuffin Software
    Ruckersville, VA

Maybe you are looking for

  • Need help moving icons

    I updated to 2.0 and all went well. I loaded some free apps so now my home page is crowded. I am trying to move some icons over to a second or third home page. Some of them have moved, but others will not. Is there a trick to getting them to move or

  • Dynamic Invocation on REST Services

    Hi, I am new to OAG. Couldnt find documentation on below questions. Can you please provide inputs. Question's: 1. Would it be possible to use single policy to invoke few external REST services. We want to externalize the URL in "Routing-->Connect to

  • Linking addresses in a Smart Mailbox to a Smart Group

    I hav set up a Smart Mailbox for replies to a question that I posted on LinkedIn. I have received eight or so replies and I want to reply to all the people who answered my question in one email. Is there a quick way to transfer all the addresses into

  • Is printing in draft bad for your print head?

    Hi, i have an All in One printer 276dw, and came across a youtuber saying printing in draft wears the printheads more than printing in high quality, is this right? thxs PL

  • HT201328 how to fix a disabled iphone5

    how can i fix my disabled iphone 5, it says connect to itunes but nothing is happening