Why this candlestick Chart does not returns an URL as a link ?

Hi,
I have done a nice Candlestick Flash Chart. But The problem is that the link does not work. When I click on a point - the cross -, nothing happens, which means the URL is not displayed in the URL zone of the navigator - I am under Firefox. I have been using this technique on other charts (2D Column) and it was working nicely. I don't see why it is not working in the Candlestick type chart. I have been outputting the result of the PL/SQL into an item to check if the SLQ generated by the PL/SQL function was coorect and tested it under SQL Developper and I do get good results and nices URLS under SQL Developper. Thus is why i don't understand why this is not working here.
DECLARE
X VARCHAR2 (4000);
BEGIN
x := 'SELECT
''f?p=&APP_ID.:8:&SESSION.:GET_DETAIL_MONTH:NO::P8_MONTH:''
||TO_CHAR(TRUNC(DATE1, ''MM''), ''MM/YY'') LINK,
  TO_CHAR(TRUNC(DATE1, ''MM''), ''MM/YY'') LABEL,
  AVG(VALEUR) OPEN,
  MAX(VALEUR) HIGH,
  MIN(VALEUR) LOW,
  AVG(VALEUR) CLOSE FROM EVV_'|| UPPER (:p184_ename) ||
' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE = '''
|| UPPER (:p184_ename) ||
''') AND DATE1 BETWEEN TO_DATE (''01/01/'
||:P8_YEAR||'000000'', ''DD/MM/YYYYHH24MISS'') AND TO_DATE (''31/12/'
||:P8_YEAR||'235959'', ''DD/MM/YYYYHH24MISS'')
GROUP BY TRUNC(DATE1, ''MM'')
ORDER BY TRUNC(DATE1, ''MM'')';
RETURN (X);
END;Example of SQL generated by the above function :
SELECT 'f?p=12400:8:1473118156348570:GET_DETAIL_MONTH:NO::P8_MONTH:'
||TO_CHAR(TRUNC(DATE1, 'MM'), 'MM/YY') LINK,
TO_CHAR(TRUNC(DATE1, 'MM'), 'MM/YY') LABEL ,
AVG(VALEUR) OPEN,
MAX(VALEUR) HIGH,
MIN(VALEUR) LOW,
AVG(VALEUR) CLOSE
FROM EVV_E007
WHERE CLEF_VAR =
(SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE = 'E007'
AND DATE1 BETWEEN TO_DATE ('01/01/2006000000', 'DD/MM/YYYYHH24MISS') AND TO_DATE ('31/12/2006235959', 'DD/MM/YYYYHH24MISS')
GROUP BY TRUNC(DATE1, 'MM')
ORDER BY TRUNC(DATE1, 'MM')
Example of output of the link :
f?p=12400:8:1473118156348570:GET_DETAIL_MONTH:NO::P8_MONTH:01/06     f?p=12400:8:1473118156348570:GET_DETAIL_MONTH:NO::P8_MONTH:02/06     
Thank you for your kind answers !

Hello Christian,
I first thought that your url shouldn't contain / (in your month format - better to use a dash -).
But then I remembered the Candlestick chart that is standard in APEX is having a bug.
I did a quick test here: http://anychart.apex-evangelists.com/pls/apex/f?p=454:8:0::NO:::
On the left you see the default chart in APEX (based on Anychart 3.3), if you click on the candle it doesn't show hello. If you click on the right chart it does.
The right chart is based on Anychart 5 and makes use of our integration kit.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum

Similar Messages

  • Why is the giving me this error (method does not return a value) PLEASE !!

    I have this code and it is giving me this error and I don't know how to fix it
    can anyone out there tell me why
    I have included the next line of code as I have had problems in the curly brackets in the past.
    The error is
    "Client.java": Error #: 466 : method does not return a value at line 941, column 3
    Please help
    THX TO ALL
    private Date DOBFormat()
        try
          if
            (MonthjComboBox.getSelectedItem().equals("") || 
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
          else
            String dateString = StringFromDateFields();
            SimpleDateFormat df = new SimpleDateFormat("dd/mm/yyyy");
            Date d = df.parse(StringFromDateFields());
            System.out.println("date="+d);
            return d;
        catch (ParseException pe)
          String d= System.getProperty("line.separator");
          JOptionPane.showMessageDialog( this,
           "Date format needs to be DD/MM/YYYY,"+ d +
           "You have enterd: "+ StringFromDateFields()   + d +
           "Please change the Date", "Date Format Error",
           JOptionPane.WARNING_MESSAGE);
          return  null;
      //File | Exit action performed
    public void jMenuFileExit_actionPerformed(ActionEvent e) {
      System.exit(0);
      }

    Fixed it needed to have a return null;
    this is the code
    if
            (MonthjComboBox.getSelectedItem().equals("") ||
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
            return null;

  • Res.getPathTranslated() does not return correct URL of the page requested

    Hi,
    The res.getPathTranslated() statement in the below code (in doFilter method) does not return the correct URL of the requested webpage.
    Whenever a web page is accessed using a return statement (eg : return "nextPage"; ) inside a button's action method or a hyperlink's action method, the res.getPathTranslated() returns the URL of the current webpage instead of returning the URL of the webpage that is actually requested.
    For example if there is a button on the page http://localhost:29080/MyJaas/faces/firstPage.jsp
    And the button_action() is as follows
    button_action()
    return "nextPage";
    The res.getPageTranslaged() returns "http://localhost:29080/MyJaas/faces/firstPage.jsp" instead of "http://localhost:29080/MyJaas/faces/nextPage.jsp"
    However, if the webpage is requested by populating the URL property of the hyerlink in creator IDE, the res.getPathTranslated() returns the correct (requested) web page.
    How to make res.getPathTranslagted() return the correct URL when the webpage is accessed from hyperlink's / button's action method?
    I know that the explation is not very clear, so please bear with me. Let me know if you need more clarificatons. Thanks in advance for showing interest in this issue.
    And by the way, the code below is the same as that used in Jaas Authentication tutorial :- http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/jaas_authentication.html
    package jaasauthentication;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.http.HttpSession;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class SecurityFilter implements Filter{
        /** Creates a new instance of SecurityFilter */
        private final static String FILTER_APPLIED = "_security_filter_applied";
        public SecurityFilter() {
        public void init(FilterConfig filterConfig) {
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException{
            HttpServletRequest req = (HttpServletRequest)request;
            HttpServletResponse res = (HttpServletResponse)response;
            HttpSession session = req.getSession();
            String requestedPage = req.getPathTranslated();
            String user=null;
            //We dont want to filter certain pages which include the Login.jsp/Register.jsp/Help.jsp
            if(request.getAttribute(FILTER_APPLIED) == null) {
                //check if the page requested is the login page or register page
                if((!requestedPage.endsWith("Login.jsp")) && (!requestedPage.endsWith("Register.jsp")) && (!requestedPage.endsWith("Help.jsp"))){
                    //Requested page is not login.jsp or register.jsp therefore check for user logged in..
                    //set the FILTER_APPLIED attribute to true
                    request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
                    //Check that the session bean is not null and get the session bean property username.
                    if(((jaasauthentication.SessionBean1)session.getAttribute("SessionBean1"))!=null) {
                        user = ((jaasauthentication.SessionBean1)session.getAttribute("SessionBean1")).getUsername();
                    if((user==null)||(user.equals(""))) {
                        res.sendRedirect("Login.jsp");
                        return;
            //deliver request to next filter
            chain.doFilter(request, response);
        public void destroy(){
    }

    Guys any solution for the above problem?
    Right answer fetches 10 duke dollars..

  • Why this WLST script does not work from ant a task

    Hi,
              The following is my lovely WLST script to disable managed server hostname verification in a cluster environment.
              It works perfect if I run it from the OS command line,
              java -cp $WL_HOME/server/lib/weblogic.jar sslSetting.py weblogic weblogic t3://localhost:7001
              But if I run it from ant task, it never works. Nothing happens, not even any messages. Any idea?
              ------ sslSetting.py -----------
              # Disable HostnameVerification on managed servers
              # This is a ONLINE script. The admin server must be running
              # @param $1 BEA_USER_NAME
              # @param $2 BEA_USER_PWD
              # @param $3 admin server URL
              if (len(sys.argv) != 4):
              print "usage: " + sys.argv[0] + " domain-home "
              sys.exit()
              beaUserName=sys.argv[1]
              beaUserPwd=sys.argv[2]
              adminServerUrl=sys.argv[3]
              def handleServer(server):
              SSLPath="/Servers/" + server.getName() + "/SSL/" + server.getName()
              print("handleServer(1): " + SSLPath)
              try:
              cd (SSLPath)
              print("handleServer(2): " + SSLPath)
              set("HostnameVerificationIgnored", "true")
              except Exception, inst:
              dumpStack()
              print ("FAILED handleServer(): " + SSLPath)
              else:
              print ("DONE handleServer(): " + SSLPath)
              #===============================================================================
              # Main
              #===============================================================================
              try:
              connect(beaUserName, beaUserPwd, adminServerUrl)
              edit()
              startEdit()
              adminServerName=cmo.getAdminServerName()
              for server in cmo.getServers():
              if adminServerName != server.getName():
              handleServer(server)
              save()
              activate()
              except Exception:
              dumpStack()
              else:
              print ("=== DONE ===")

    OK, when I run the WLST script from command java, I only need the weblogic.jar in the classpath. But I'll need a couple other jar file for it to work inside an ant target, as showing below.
              <target name="run-wlst">
              <java classname="weblogic.WLST" fork="true">
              <classpath>
              <pathelement path="${props.JAVA_HOME}/lib/tools.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/weblogic_sp.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/weblogic.jar"/>
              <pathelement path="${props.WL_HOME}/server/lib/webservices.jar"/>
              </classpath>
              <sysproperty key="weblogic.Home" value="${props.WL_HOME}" />
              <arg line="sslSetting.py weblogic weblogic t3://localhost:7001"/>
              </java>
              </target>

  • Why this simple assingment is not possible in Generics ?

    Hi
    Just curious to know why this simple conversion does not work and requires casting ?
    List<? super Integer> list = new ArrayList<Integer>();
    List<? super Number> listN = list; //Requires Casting
    List<? extends Number> listExNu = new ArrayList<Number>();
    List<? extends Integer> listExIn = listExNu; //Requires CastingAs per my understanding ,
    A List<? super Number> can fit inside a List<? super Integer> ...
    So what really happens here to force casting ? Any ideas ?

    ejp wrote:
    List<? super Integer> list = new ArrayList<Integer>();The only two classes that are superclasses of Integer are Number and Object.Not quite. Please note that the clause *? super Integer* is inclusive, i.e. it also matches List<Integer>.
    Additionally, it matches all interfaces implemented by Integer. Thus, the following types can be assigned to list:
    List<Integer>
    List<Serializable>
    List<Comparable<Integer>>
    List<Comparable<? extends Integer>>
    List<Comparable<? super Integer>>
    List<Comparable<? extends Number>>
    List<Comparable<? extends Serializable>>
    List<Comparable<?>>
    List<Number>
    List<Object>And the following types can be assigned to listN:
    List<Serializable>
    List<Number>
    List<Object>Since the latter is a genuine subset of the former, an implicit conversion such as listN = list is impossible.

  • Gpib, wait does not return after timeout

    I use this code line:
    gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);
    I want to wait for a Service Request or a Timeout.
    The IOTimeout is set to 1s, but the Wait function does not return after 1s.
    What is the problem? Do I have to set any other timeout?

    Hi Gregor,
    I am sorry but this link that you send, did not help me. I am using this code within a c# application. This is a bit
    different to LabView. Here is my full code:
    gpibAddress = 1;
    timeoutValue = TimeoutValue.T1s;
    gpibDevice = newDevice( 0, gpibAddress , 0 , timeoutValue );
    gpibDevice.IOTimeout = timeoutValue;
    gpibDevice.Clear();
    gpibDevice.DefaultBufferSize = receiveBufferSize;
    gpibDevice.SerialPollResponseTimeout = timeoutValue;
    gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);
    And I still have the Problem, that this Wait Function does not return after the
    timeout value - here 1s. Do I have to configure anything else from the GPIB device?

  • Why does App store take me to a different country store, yet does not return me back

    Why does App store take me to a different country store, yet does not return me back.
    Im in u.s., was searching for app, was asked to change store, i did, tried downloading canadian app, was informed i had to purchase from u.s. store (is this true, even though it is a free download) then it left me there without instructions on how to return to u.s. store.
    Now ipad is stuck in canadian store. How do i return to u.s. store?

    You have to find an app that is only available in the US store.
    If the problem is on an iPad, etc:
    Go to a search engine (like google) on the iPad/iPhone Safari and type in abc app download. Then find find a link that says iTunes.apple.com/us/app/abc-player. Tap it, and it will access the App Store. Eventually, a box should pop up that asks you if you want to switch to the US store. Confirm that, and it should bring you back to the US store. You don't need to download the abc app.
    If on a computer:
    I haven't confirmed it yet, but I believe there is a flag icon at the bottom of the iTunes Store main page similar to the one at the bottom of this page that you can use to change your country.

  • Has anyone been able to contact Adobe to learn why their Flash Player does not work on Mac OS 10.6.8, no matter how many updates you install?  This seems like a big error by Adobe.

    I have thee Mac computers with Mac OS 10.6.8, one of which is a Mac Pro.  No matter how many updates I install from Adobe, their Flash Player does not work on any of these 3 computers.  I don't know how to contact Adobe Systems about this problem, but I think it is their responsibility to make sure that their so-called "universal" software works proplerly on a relatively recent operating system like OS 10.6.8 that is still in widespread use.  When you install the updates, nothing happens -- not even an error message.  What is the point of a universal player that is not universal?  It works fine on my MacBook Pro with OS 9 Mavericks, but it does not work at all -- indeed, has never worked -- on my 3 Macs with OS 10.6.8.  Has anyone contacted Adobe Systems to find out why the Flash Player does not work with OS 10.6.8 and what they plan to do about it?

    Where are you getting Flash from?
    Get the appropriate dmg installer here and then run it.
    http://www.adobe.com/products/flashplayer/distribution3.html
    If it still won't install, do these two things: First uninstall any Flash by going into the second level Hard Drive Library>Internet Plug-ins, and trash the Flash Player.plugin and flashplayer.xpt. Then boot into Safe Boot, Shift at the startup chime (give it much longer than a usual boot) and run the installer while booted in Safe Boot.

  • HT1409 I have done this but it does not work with one of my albums and I dont know why??

    I have done this but it does not work with one of my albums and I dont know why??

    That would be it. Sometimes you can tweak the album & artist names enough for iTunes to download matching art from the store, or you could add a bonus track featuring 1 second of silence and attach artwork to that, or you could convert the files to Apple Lossless.
    tt2

  • WebI does not return failed when scheduling a report which only holds parti

    WebI does not return failed when scheduling a report which only holds partial results.
    We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. The only indication is when you open the report as webi report you see the warning that it holds partial results.
    When running the report manually, it works file.
    The issue is not in the no of rows in the universe settings because we this unselected. The issue is that it times out.
    The reason that it times out is that a lot of resources are used for loading and processing data when the report is scheduled. When running it manually, it works because at this time the serverload is less. the time in the universe is set to 10 min.
    The version we have is BOXIR2-SP4.
    Ok. Issue identified.
    The question is - why is the report successful when it holds partial results? If this is normal behavior, noone can really trust the scheduled reports, especially when you save it to excel and send it by mail.
    Is there a solution for this except increasing the allowed query time which would not solve the issu but only allow more reports to complete?
    Edited by: Karlgren Michael on Sep 17, 2009 1:22 PM

    Hi ,
    Currently this problem exists in XI R2. This feature will be part of thenext Service Pack i.e XI R2 SP6.
    This CER will be delivered from IDC Webi and BIP Platform as part of Jupiter Sp6.
    Problem Statement:
         Scheduled WebI Reports which are partially refreshed are distributed to the destinations for Users to View and make decisions. These users arenu2019t usually aware that these reports have u201CPARTIAL RESULTSu201D
    Recomended Solution:
        Allow the Schedule Creator / Modifier to set a parameter to stop the distribution of the u201CPARTIALLY REFRESHEDu201D WebI report.
    Thanks
    Salini

  • FM HRTRV_IF_GET_TRIP does not return USERDATA

    Hi, it's me, yet again...
    I'm using the FM "HRTRV_IF_GET_TRIP" in FITE_VC_GENERA_DATA in a post exit of comp-controller method "ON_SHOW" to get the structure/Table USER/PTK99 from the TE Cluster for binding to the context afterwards. At least that's the plan. The FM does not return me the data I expect in parameter USERDATA, although there is data in the TE Cluster and within the FM, I can see the global Table USER being filled whilst the macro RP-IMP-C1-TE. But this data is not further process neither is seems the strucutre USERDATA to be touched at any point of the FM. Am I calling the FM 'wrong' in any way? I'm close to making an implicit enhancement at the end and forcefully fill userdata from user....
    Too long, didn't read: USERDATA is not returned filled --> WHY?
    CALL FUNCTION 'HRTRV_IF_GET_TRIP'
      EXPORTING
        employeenumber             = wd_assist->GS_COMMON_RFC_INPUT-employee_number
        tripnumber                 = lv_tripno
    *   LANGUAGE                   = SY-LANGU
    *   CALCULATE_AMOUNTS          = 'X'
    *   GET_TRIP_FROM_MEMORY       = ' '
      IMPORTING
    *   FRAMEDATA                  =
    *   STATUS                     =
        USERDATA                   = ls_user " should contain cluster values, but it doesn't
      tables
    *   RECEIPTS                   =
    *   ADDINFO                    =
    *   GUESTS                     =
    *   TEXT                       =
    *   MILEAGE                    =
    *   STOPOVER                   =
    *   DEDUCTIONS                 =
    *   COSTDIST_TRIP              =
    *   COSTDIST_STOP              =
    *   COSTDIST_RECE              =
    *   COSTDIST_MILE              =
    *   AMOUNTS                    =
    *   ADVANCES                   =
        return                     = lt_bapiret " says method was executed successful
    In the insides of the FM:
    *  IF CALCULATE_AMOUNTS <> 'X'. "XJY
    * import the trip because it was NOT imported before
      READ TABLE T_PERIO INDEX 1.
      TE-KEY-PERNR = T_PERIO-PERNR.
      TE-KEY-REINR = T_PERIO-REINR.
      TE-KEY-PERIO = T_PERIO-PERIO.
      TE-KEY-PDVRS = T_PERIO-PDVRS. " Once this line is executed, the global table USER is fileld with the data I expect
      RP-IMP-C1-TE.
    *  ENDIF. "XJY
      if t_perio-abrec = '0' or
         t_perio-abrec = '1'.
        clear te-key-pdvrs.
        import beler from memory id te-key.
      endif.
    I hope somebody has ever used this one and can tell me what I'm doing wrong...
    Cheers, Lukas

    good to know. that you have already implemented similar thing. In our case if employee want to pick a manager he will only be given option from a custom table entries.
    They way i was thinking was that there will be a checkbox that will say "Override Approver"
    and when that will be checked text filed will be enabled with search help restricted to custom table entries.
    I have one question. When I am enhancing FITE_VC_REVIEW and adding field in that view, I m finding it hard to track it. Looks like adding to General data screen will be much easier.
    R u using ABAP memory to track field and use it at SMOD or you are using SAP memory ?
    I am just starting on this one and not expert at webdynpros.. will ping you if i need any more help
    and yes i just added following like in FM HRTRV_IF_GET_TRIP
    read TABLE user INTO userdata INDEX 1
    to get it to load userdata..

  • OCIStmtExecute does not return immediately when client is busy.

    Hi.
    I'm testing a very busy multi-threaded client server that consistently generates
    a large number of simple queries through oci. The problem is that, when the
    server(client) is busy, OCIStmtExecute does not return immediately in
    non-blocking mode.
    Of course I have set non-blocking mode and OCIStmtExecute does return
    OCI_STILL_EXECUTING immediately when the server is not busy. But
    when log rotation occurs which concatenates a large text file (~500MB)
    onto an even larger text file (up to several giga bytes), or when I simply copies
    or concatenates large text files manually, OCIStmtExecute returns very slowly.
    (roughly about after 100~200ms)
    However, while log rotation takes place, everything else including other oci
    calls that come before OCIStmtExecute (prepare, define) return fast. So
    for me it really seems that only OCIStmtExecute becomes extremely slower
    when local server (especially the disk) is busy.
    Is there any way to let OCIStmtExecute immediately return all the time?
    Thanks in advance.

    Yes, I knew that OCIStmtExecute would be the only function that causes such
    delay and that was why I traced that call. And so far, I checked several times
    what happens at the exact moment on the server but everything was ok.
    Actually OCIStmtExecute becomes slower exactly when crontab-ed log rotate
    occurs so I think this delay must be a client-side problem for now.
    This server is quite busy and has to respond fast, so it is important to
    guarantee fast response time while a small number of timeout losses are tolerable.
    But as OCIStmtExecutes' first OCI_STILL_EXECUTING return takes hundreds of
    ms it has become more like a blocking call and currently I cannot find any way to do what I want.
    So now everytime such thing happens, the thread waits
    quite long, after the first OCI_STILL_EXECUTING return
    the time difference exceeds timeout limit, and the thread
    calls OCIBreak() and OCIReset() and returns.

  • Select query does not return rows

    Hi all,
    The following query does not returning rows even though values are there in table.
    Kindly let me know why it is creating problem.
    thanks, P Prakash
    /* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
    SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
    DECODE (ou.org_unit_name,
    'PA - MDCH', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_1_PA'),
    'PA - MPRO', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_2_PA'),
    'PA - DEFAULT', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_1_PA'),
    NULL
    ) AS intrchng_sndr_idntfr,
    ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
    ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
    ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
    ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
    ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
    ptr.scrty_infrmtn AS scrty_infrmtn,
    ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
    ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
    ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
    ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
    ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
    ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
    ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
    ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
    ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
    ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
    ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
    FROM pa_request pr, pa_transaction_request ptr, org_unit ou
    WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
    AND pr.org_unit_sid = ou.org_unit_sid
    AND pr.oprtnl_flag = 'A'
    AND ptr.oprtnl_flag = 'A'
    AND ou.oprtnl_flag = 'A'
    AND pr.pa_mode_type_lkpcd = 'BT'
    AND (pr.status_cid = 86 OR pr.status_cid IN
    (20, 70, 30, 80, 25, 101, 96)
    AND pr.pa_rqst_sid = 75006271
    ORDER BY pr.pa_rqst_sid;
    the query is not giving result for this particular request sid.75006271 is present in table.

    833560 wrote:
    Hi all,
    The following query does not returning rows even though values are there in table.
    Kindly let me know why it is creating problem.
    thanks, P Prakash
    /* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
    SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
    DECODE (ou.org_unit_name,
    'PA - MDCH', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_1_PA'),
    'PA - MPRO', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_2_PA'),
    'PA - DEFAULT', (SELECT property_value
    FROM hipaa_system_defaults
    WHERE property_name = 'RECEIVER_ID_1_PA'),
    NULL
    ) AS intrchng_sndr_idntfr,
    ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
    ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
    ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
    ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
    ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
    ptr.scrty_infrmtn AS scrty_infrmtn,
    ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
    ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
    ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
    ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
    ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
    ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
    ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
    ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
    ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
    ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
    ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
    FROM pa_request pr, pa_transaction_request ptr, org_unit ou
    WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
    AND pr.org_unit_sid = ou.org_unit_sid
    AND pr.oprtnl_flag = 'A'
    AND ptr.oprtnl_flag = 'A'
    AND ou.oprtnl_flag = 'A'
    AND pr.pa_mode_type_lkpcd = 'BT'
    AND (pr.status_cid = 86 OR pr.status_cid IN
    (20, 70, 30, 80, 25, 101, 96)
    AND pr.pa_rqst_sid = 75006271
    ORDER BY pr.pa_rqst_sid;
    Hi,
    Its very difficult to analyse the query without any data being provided. So I suggest you to debug the above query by keeping basic join condition intact and comment out all the other where conditions for initial run.
    FROM pa_request pr, pa_transaction_request ptr, org_unit ou
    WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
    --AND pr.org_unit_sid = ou.org_unit_sid
    --AND pr.oprtnl_flag = 'A'
    --AND ptr.oprtnl_flag = 'A'
    --AND ou.oprtnl_flag = 'A'
    --AND pr.pa_mode_type_lkpcd = 'BT'
    --AND (pr.status_cid = 86 OR pr.status_cid IN
    (20, 70, 30, 80, 25, 101, 96)
    --AND pr.pa_rqst_sid = 75006271If if you have given join conditions proper and if data exists ,you can see set of rows displayed.
    Next step is to keep on uncommenting each of the where condition
    AND pr.oprtnl_flag = 'A'Like this you 'll come to the condition which does not match your requirement
    Hope this helps
    Regards,
    Achyut

  • [Solved] ADF - Update does not return values generated by a trigger

    Hello,
    I'm using JDev 10.1.3.3.0 and DB 10.2.0.3.0.
    On DB I've created a table, a sequence and a trigger:
    CREATE TABLE TAB1
         ID          NUMBER          PRIMARY KEY,
         EDITED_AT     DATE,
         VALUE          VARCHAR2(64)
    CREATE SEQUENCE S_TAB1
         INCREMENT BY 1
         START WITH 1;
    CREATE TRIGGER T_TAB1_BIE
    BEFORE INSERT OR UPDATE ON TAB1
    FOR EACH ROW
    BEGIN
         IF INSERTING THEN
              SELECT S_TAB1.NEXTVAL INTO :NEW.ID FROM DUAL;
         END IF;
         :NEW.EDITED_AT := SYSDATE;
    END;
    /In JDev I've created an EO - Tab1, a VO - Tab1View and an AppModule.
    In the EO Tab1 I have checked "Refresh After Insert" and "Refresh After Update" for Id and Edited_By attributes. I made the latter two attribures as "Never" updatable.
    Then I test the AppModule with a JDev Tester (I use a connection which connects as an owner of the 3 objects above).
    Then I insert a new row and enter a value into the Value field in the Tester. When I press Commit button everything works great - Id and Edited_By attributes get populated with values generated by the trigger.
    But when I try to update the Value field and press Commit the Edited_By field does not retreives new value that was generated by the trigger.
    Why does this happens?
    Many thanks in advance.
    Yerzhan.

    Frank,
    I tried to set Refresh option on both, Value and Edited_At, fields but unsuccessfully.
    Then I tried to do the following in SQL Plus:
    SQL> insert into tab1(value) values('ddd');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:01:24 ddd
    SQL>
    SQL> declare dt date; val varchar2(64);
      2  begin update tab1 set value = 'ddd' where id = 1 returning edited_at, value into dt, val;
      3  dbms_output.put_line('txt = ' || dt || ', ' || val);
      4  end;
      5  /
    txt = 27.03.2008 17:01:24, ddd
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:02:12 ddd
    SQL>As it can be seen Returning clause of an Update statement does not return a new date, i.e. 27.03.2008 17:02:12, that was updated by the trigger, it returns an old one - 27.03.2008 17:01:24.
    Frank, maybe the issue is in the Oracle DB?

  • BAPI_SALESORDER_SIMULATE does not return multiple errors

    Hi,
      We are using BAPI_SALESORDER_SIMULTE, but it does not return multiple errors in the MESSAGETABLE even if all the materials entered in the ITEMS_IN table are wrong or have some ATP issues. It returns the first material that has problem and doesnot find errors with the remaining.
    Can anyone tell why this is happeining. Is there a setting in customizing to get the BAPI to return all possible errors.
    Thanks in advance

    Hello Pulin
    This is a typical behaviour of BAPI. Due to the fact that they validate all incoming data very scrupulous they stop processing at the very first error.
    I would assume that a "SIMULATE" BAPI should show all errors (because that's why we simulate, isn't it?) but apparently this is not the case.
    Regards
      Uwe

Maybe you are looking for

  • How I got out of error 0199 purgatory

    So I locked up my Lenovo T61 pretty spectacularly on a Friday night. That will teach me to play computer nerd, any reasonable folk are doing something more productive on said nights.  What basically happened is that I thought that it was so cool that

  • Multimapping doesn't work in BPM

    Hello, I've constructed two mapping  1:1 and multimapping N:1 for two messages to transform them in two inbound IDOC . I put this process in BPM. When I test these mappings in MM and IM editors all are ok. But if i try to test the end-to-end through

  • Creating dup app in different schema...

    I have found a few notes on exporting/importing applications, but they don't tell me whether the export is a copy or move. I need to keep both schema's versions of the same application. My original version is under my personal schema. I am ready for

  • I need to read an unsolicited serial variable string.

    Hello, I am new to LabVIEW and I am working on my first app. I have a serial device that I am trying to read from. This device periodically broadcasts a string containing 17 numeric values. Each value is delimitated and of a variable length. I need t

  • Large apps causing installs to crash my 3G iPhone

    My iPhone 3g has been very unstable when installing apps. I have had to restore my first 3G iphone at around 3 times. I am now on my second iPhone after a visit to the apple store. Restored this iPhone around 4 times! I've been trying to figure out w