Problem with dynamic setting where the clause OFA

Hi all

I have a view object with the following query:

SELECT rownum LINENUM,

B.line_id LINE_ID,

B.INVENTORY_ITEM_ID INVITMID,

B.QUANTITY_DELIVERED PICKQTY

MTL_TXN_REQUEST_HEADERS a,.

MTL_TXN_REQUEST_LINES B

WHERE A.HEADER_ID = B.HEADER_ID

AND A.MOVE_ORDER_TYPE = 2

AND "on" =: 1

AND B.TO_SUBINVENTORY_CODE = NVL(:4,B.TO_SUBINVENTORY_CODE)

AND A.request_number = NVL(:5,A.REQUEST_NUMBER)

UNION ALL

SELECT rownum LINENUM,

a.wip_entity_id LINE_ID,

a.INVENTORY_ITEM_ID INVITMID,

a.QUANTITY_ISSUED PICKQTY

WIP_REQUIREMENT_OPERATIONS has

eam_work_orders_v b

WHERE a.wip_entity_id = b.wip_entity_id

AND "on" =: 2

AND a.ATTRIBUTE2 = NVL(:4,a.ATTRIBUTE2)

and b.wip_entity_name = NVL(:6,b.wip_entity_name)

I need to dynamically pass a condition to my where clause that I can manage it by setting two binding settings in the query of vo and can pass it on but the problem is the connection variable contains a string like 1311,13112,14445 that I need to spend for a domain like B.line_id in the first query and b.wip_entity_id in the second query , so when I'm passing the string as a value it works fine, but it gives for value separetd by comma prob.

so I tried passing dynamic where clause, but there is every time that the execution of the first clause only how can I dynamically pass both queries.

vo.setWhereClause ("LINE_ID in" + wherclause);

Please help me

Thnaks

Deb

Hello

Actually I'm passing the parameter to the basic page popup, so in page popup page and the base, I was using the VO even to run then, probably due to that he was running again for all data, so for the basic page I created a new VO and tried to pass the parameter like when clause for questioning now it runs very well Thank you for all your help

Tags: Oracle Applications

Similar Questions

  • Problem with video Capture where the connection settings are unavailable

    I have two capture - Dazzle Platinum 100 and Game2 PC cards. The issue is the same with both, so it must be something to do with a setting on my laptop.  I can't access the setting of the video input in the Capture menu of one of the capture software I've tried. I can select the device in the Source menu, but nothing happens when I click on the menus of the video input (the options are missing). As such, I can't select the composite input. The audio seems ok.

    The xbox and tv are connected using a separator and the component drive with connectors yellow, red and white coming on TV and I tried the two Pal 50 and 60 in the settings menu of xbox. I have set the settings to capture PAL and have also tried all the others.

    I also disabled the webcam and uninstalled the webcam software in the case which has been cause of conflict. The dazzle card detects an entry but cela there is no picture, just a white screen with lines. The dazzle card also caused regular dumps while the Game2PC only gives the incorrect parameter error 0 x 80070057/11878 they both.

    I've now provided all that may be in conflict has been uninstalled. I tried to change the capture settings and they are not available. Device Manager checked again and it appears Windows detects the device as device not video and Audio. Why would you think?

    I solved this by downloading a new driver from the manufacturer's website. The disk driver provided seems to have been inconsistent with Windows and caused the device to be considered an audio device only. Windows drivers has also caused this problem.

  • Is anyone having problems with FF v29 where the bookmarks bar is empty?

    In the new version 29, after opening FF, close it, and then re-opening, most of the time, the bookmarks toolbar is empty, even if the option to show it is checked. By turning on the menu it brings back or unchecking it and controlled again he brings. In addition, when this happens, icon menu on the far right will display all the options. What happens to me on the Mavericks of OSX, Windows 7 and Windows 8.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables some settings and disables most Add-ons (extensions and themes).

    (If you are using an additional theme, place you in default theme.)

    If Firefox is open, you can restart in Mode without failure of Firefox in the Help menu by clicking on the restart with the disabled... modules menu item:

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

    Thank you.

  • Problem with silverlight download, download the error code 2104.

    Original title: problem with Sliverlight download
    get the error code 2104. tried to uninstall and reinstall

    Hello

    Thanks for the reply.

    We are pleased to know that the problem is solved. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows. Please contact the Windows community.

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Adobe Flash Player 12 creates problem with access setting Kaltura

    After installing Flash Player 12, I have the following screen: problem with Kaltura ' cannot access the settings of.
    (Have screen shot, but it can not paste here...)

    ***************
    Looks like:
    Captions Settings
    FONT      SIZE
    Stroke  ON
    Background OFF
    SAVE CANCEL
    
    ******************

    The video plays, but with this window in the middle of the image. Just happened after the update.

    Jean-Jacques,

    You can download an image by clicking on the button Browse located below the reply box...

    It would help a lot for help you.

    From what I understand of the posted link iamjayakumars, Flash 12 beta will install updates in the background, but I think there could be a feature that users can configure to install Flash when they want to and not automatically push it to users.

  • my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330.

    original title: Itunes problem

    my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. "What should I do?

    Contact the manufacturer (Apple) of the application (iTunes) you are having problems with.

    Uninstall all previous versions, try to download (re-record not running) and then do a right click on it and RUN AS ADMINISTRATOR.

    (Vista 32-bit or 64-bit)?

  • Problem with Windows Update after the new installation of Windows 7 Pro the Lenovo ThinkPad X 200

    I'm trying to do a fresh install of Windows 7 Pro on a Lenovo ThinkPad X 200. The product key is easy to find on the sticker of the ThinkPad. However, the version of Windows is hidden (for example, I can't check that my ThinkPad had originally installed Windows 7 Pro). I was able to install by using a Pro Win 7 SP1 CD ROM I bought for another installation. I used the ThinkPad I was trying to make the new facility on the product key. I was able to activate the Windows 7 Pro using the phone call and my cell phone. I checked the activation! However, I have problems with Windows update. The product key may be a different version of Windows 7. If so, why did it install and activate OK? Y at - it a fix for this problem or I have to buy a new version of Windows 7 Pro? Please note that I have not yet installed all drivers Lenovo ThinkPad as I can't seem to install correctly. Thank you!

    Since the issue is updated to Windows, it is not a product number key.

    You can reset the Windows Update components by running the Fixit on this page. But if there is malware present, she will continue to reset the connection to the update servers:

    How to reset the Windows Update components

    http://support.Microsoft.com/kb/971058

    Suggest you download and save the Fixit. Then configure the system before the clean boot by running:

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7

    http://support.Microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native Windows Firewall is now on if a 3rd party firewall has been used previously. Now run the Fixit and choose the default mode. Restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode. Turn it back on when he finished the race and updates.

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • Bridge does not open? Initially the 8.1 Win & problem had started. Have now earn 10 & still a problem with not to open the bridge?

    Bridge does not open? Initially the 8.1 Win & problem had started. Have now earn 10 & still a problem with not to open the bridge?

    Hi Matthew,

    If you use Bridge CC, update to the latest version 6.2. Adobe Bridge CC 6.2 version now available! Adobe content corner

    1. Please, do a right-click on the bridge on the desktop icon and select "Run as Administrator".
    2. If this does not help, reset the Bridge preferences and then try it.

    Steps: -.

    Start Adobe Bridge, and immediately press Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS down) until the dialogue box reset settings appears.

    Select all three options - reset preferences, reset Standard Workspaces and all miniature Purge Cache - and then click OK.

    Reference: troubleshooting errors, freezes | Adobe Bridge | Windows, Mac OS

    Let us know if it works.

    Kind regards

    Assani

  • Is it possible to play or pause a video by clicking on the video itself than with a set of the command bar and stop buttons?

    Is it possible to play or pause a video by clicking on the video itself than with a set of the command bar and stop buttons? If Yes, how can we do?

    When you set the video object, just add a listener for events such as:

    myVideo.addEventListener (MouseEvent.CLICK, toggleVideoPlayback);

    private void toggleVideoPlayback(e:MouseEvent):void {}

    If play, pause

    If in pause, play

    }

  • Problem with the case where the clause

    Hello

    I want to use cases in which clause. I wrote a very simple query to test how it works. However, I always got an error message. Here's what I did.

    Select eid, firstname, lastname from employee where eid = 1 works fine

    Select eid, name, name of the employee

    where

    cases where 1 = 1 then eid = 1

    When 1! = 1 then eid = 2

    end

    I ORA-00905: lack of keyword.

    Did I miss something?

    Thank you

    Jennifer

    Hi, Jennifer.

    Why do you want to use BOX in a WHERE clause?  The wonderful thing about the CASE is that it allows you to do IF-THEN-ELSE logic.  In a SELECT clause, or an ORDER BY clause, this is really useful, but the WHERE clause already allows you to use the IF-THEN-ELSE logic.

    However, if you use the BOX in a WHERE clause, it is as it does nowhere else.  Always BARGAIN instead of a single expression in a SQL data types.  All the clauses THEN (and ELSE, if there is one) must return a single expression, such as the NUMBER.  (There is no BOOLEAN data type in SQL).  So, you can use a CASE statement like this:

    ...

    CASES WHERE

    WHEN 1 = 1 THEN 1

    WHEN 1! = 1 THEN 2

    END = eid

    Here, the CASE expression takes the place of a NUMBER.

    However, if I was not sure if 1 = 1 or not, I would write the condition in this way, without a CASE expression:

    WHERE (1 = 1 AND eid = 1)

    OR (1! = 1 AND eid = 2).

  • I'm having a problem with Firefox nightly since the 28.0a1 update (2013-11-19). By browser.tabs.OnTop configuration is set to false, but the notches are on top. Help?

    Everything was working fine until today. I don't like having tabs on top, and I would like to have in the classic position of firefox, as many people as well.

    I hope you'll solve the problem with the next update.

    You can watch this extension:

    You can set "Tabs not on top" in the options for the extension on the subject: addons page.

  • Problem with character set to UTF-16 THE

    Hello.
    There were difficulties with change of character set, using the convert () function
    The question is that in the list v$ nls_valid_values AL16UTF16LE character set does not appear, too much time the survey is conducted with success
    convert ([some-national-characters], 'CL8MSWIN1251', 'AL16UTF16LE').
    But to give input of data stored in a CLOB, there is an error "a character set is not supported.
    What are the possible ways of the decision of a problem?

    You can try using DBMS_LOB. SUBSTR to access LOB data as in the following example:

    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    SQL>
    SQL> declare
      2  v_i clob;
      3  v_o clob;
      4  begin
      5  v_i := 'a';
      6  v_o:=convert(dbms_lob.substr(v_i,1,1),'AL16UTF16LE', 'CL8MSWIN1251');
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    

Maybe you are looking for