Impossible to get a resulting fields vo as value (quantity * price) * rate/100 in another area as the quantity.

Mr President

My worm jdev is 12.2.1.

Me trying it to get a value of L'Express (quantity * price) * rate/100 in a vo field where quantity, price and rate are also fields of vo.

How to get it?

my picture is

expression.png

Help, please.

Concerning

Hello world!

I managed to get the value in the column db by this method in doDML()

    protected void doDML(int operation, TransactionEvent e) {        

        if (operation == DML_INSERT)
                   {  

                     setAmount(getPurqty()*getUnitpurprice()*getStaxrate()/100);
                   }
        super.doDML(operation, e);
    }
}

Concerning

Tags: Java

Similar Questions

  • Fields on several Internet sites have been changed in another language. The browser is set to English, and this problem does not occur with Chrome.

    Fields on several Internet sites have been changed in another language. The browser is set to English, and this problem does not occur with Chrome. Specifically, a large part of Tumblr and Facebook menu has been changed in another language (Russian, I think). I tried reinstall Firefox, clear the cache and reset firefox to its default state. None of them helped. Any suggestions on how to fix this?

    Hey again,

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    I hope this helps!

    Curtis

  • Cannot get 'IN' text field with multiple values.

    I have a text field (P11_SERIAL_NUMBERS) someone would use to enter multiple values (i.e. of the serial numbers). I tested various methods but can't seem to get anything working. I used values such as ' 12929', '19191' or ('11919', ' 19192 ', ' 1111') or 12121,121333.»

    I have to analyze this area after the entrance is and update P11_SERIAL_NUMBER to something like ("121212 ', 121211', '292929'). The report is a SQL query returning the body of a PL/SQL function. I build the query in an anonymous block to something like the following:

    SELECT apex_item.checkbox (1, instance_number) Ins,.
    apex_item. Text(2,i.instance_number) instance_number.
    apex_item. Text(3,i.item_number) item_number.
    description of the apex_item. Text(4,i.Description),
    Serial_number apex_item. Text(5,i.serial_number),
    i.party_name,
    i.status_name
    Cycsi_item_details_v I have
    WHERE i.item_number IN (SELECT v.item_number FROM cycsi_installed_base_v WHERE v.serial_number = i.serial_number v)
    AND i.item_number AS NVL ('%' |') XLA' | ' %','%')
    AND NOT EXISTS (SELECT d.item_serial_number FROM cy_fco_d, d WHERE d.fco_id = 2803 AND d.item_serial_number = i.serial_number) AND i.serial_number IN ('61763 ', ' 61621');

    However, when I enter several values that nothing ever went back to the SUMMIT even though the SQL query returns more rows. I run the application in debug mode and it seems to show the values correctly.

    0.11: show report
    0.12: determine the column headings
    0.12: analyze the query such as: TRAFFIC
    0.15: binding: ": P11_MODEL_NUMBER"= "P11_MODEL_NUMBER" value = "XLA"»
    0.16: binding: ": P5_FCO_ID"= "P5_FCO_ID" value = "2803"»
    0.17: binding: ": P11_SERIAL_NUMBERS"= "P11_SERIAL_NUMBERS" value = '(' 61621', ' 61763')""
    0.19: print the column headings
    0.19: loop lines: 15 rows
    No data found

    If I add only a serial number at a time as the APEX application returns the line correctly.


    Does anyone have an idea what I'm doing wrong or what best way to solve this problem?
    Thank you
    John

    Published by: Jennifer on July 13, 2010 15:23

    Hi John,.

    I just tried a report region based on PL/SQL query encoded using your method to refer to element names in the query string of back:

    declare
       q varchar2(100) := 'select ename, job from emp';
    begin
       if :P2_ENAMES is not null then
            q := q || ' where ename in :P2_ENAMES';
       end if;
    
       wwv_flow.debug('*** Query: ' || q);
    
       return q;
    end;
    

    As I suspected, he did not work for me P2_ENAMES was ('KING') or ('KING', 'SMITH'). I think it's because of the reason for which I gave in my previous post - ApEx passes off the coast of the dynamic execution of SQL string, it does not automatically replace the mention: P2_ENAMES with the value of the element. I don't know how it can work for you.

    If I change the code I proposed:

    declare
       q varchar2(100) := 'select ename, job from emp';
    begin
       if :P2_ENAMES is not null then
            q := q || ' where ename in ' || :P2_ENAMES;
       end if;
    
       wwv_flow.debug('*** Query: ' || q);
    
       return q;
    end;
    

    It works very well if one or several names are specified.

    I took a blow to modify your code for the construction of the query string - does not immediately guarantee, it'll work because I can't test (might be missing a parenthesis or quotation) it but you should get the idea:

    -- start with initial valid query that ApEx can parse to determine column names
    q := 'SELECT apex_item.checkbox(1, instance_number) ins, apex_item.text(2, i.instance_number) instance_number,
                 apex_item.text(3, i.item_number) item_number, apex_item.text(4, i.description) description,
                 apex_item.text(5, i.serial_number) serial_number, i.party_name, i.status_name
            FROM cycsi_item_details_v i
           WHERE i.item_number IN (SELECT v.item_number
                                     FROM cycsi_installed_base_v v
                                    WHERE v.serial_number = i.serial_number)';
    
    -- add model number condition if specified
    if :P11_MODEL_NUMBER is not null then
       q := q || ' AND i.item_number LIKE ''%' || :P11_MODEL_NUMBER || '''%''';
    end if;
    
    -- add serial numbers condition if specified
    if :P11_SERIAL_NUMBERS is not null then
       q := q || ' AND i.serial_number IN (' || :P11_SERIAL_NUMBERS || ')';
    end if;
    
    -- add FCO id condition if specified
    if :P5_FCO_ID is not null then
       q := q || ' AND NOT EXISTS (SELECT d.item_serial_number
                                     FROM cy_fco_d d
                                    WHERE d.fco_id = ' || :P5_FCO_ID || '
                                      AND d.item_serial_number = i.serial_number)';
    

    I know that has focused on getting this code works, but I would be remiss in my duties if I didn't at least mention the risk of SQL injection. You may already know this, but unless you do a good job to validate the values of the element used in the query, you could open yourself up to a SQL injection attack. For example, imagine what that would be returned if a hacker sharp entered "12345) GOLD (1 = 1" in the field of P11_SERIAL_NUMBERS - you would get all that may or may not be a security problem.

    Hope this helps,
    John

  • Is it possible to get the total value of column and set to another area

    Hello

    Is it possible to get the total value of a particular column, and assign this value to another discipline?

    How to do this?

    Thanks in advance,
    SAN

    Hi SAM,

    If your controller class throw this message it means that it works very well. Follow these steps, I hope this will solve your problem.

    1 check the following

    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    OAViewObject ratvo = (OAViewObject) am.findViewObject("*CompetenceElementsVO*"); It should be the name of the instance instead of the name Physics vo vo.
    OAViewObject valuevo = (OAViewObject) am.findViewObject("*PerRatingLevelsVO*");

    2. extend this controller class that is associated with this region.

    I hope it will work now.

    Haroon.

  • How to fill a field based on a menu drop-down select in another area?

    Here's what I'm trying to do:

    1 field is a drop down selection menu that requires a user make a mandatory selection that is in this case a list of apartment complexes. What I'm trying to accomplish, is once the user makes a selection in the drop-down list (field1) that it will fill the standard box 2 (txt) with the corresponding address of apartment complexes.

    So I seek Talan field 1 apartments, it could fill with Talan apartments address 2 field. I tried messing around with the calculation scripts, but I'm a fight lost here. Little help would be greatly appreciated!

    Hello

    Here's a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script to the output of the drop event sets the value of the object of the address.

    Good luck

    Niall

  • Can I get some results with the SDK sample debugging?

    Debugging a sample project folder in VB2008 Je couldn't get no results. an InDesign plugin Add?

    There is a close the .exe plugins folder, or you create a file PlugInConfig.txt.

    See "se - started.pdf ' (e.g. page 13 version CS6).

  • Windows 7: all of a sudden, when I enter a search in Explorer 'field research' I get no results.

    Hello

    Suddenly and without installation or messing around with hidden options, if I get *.mp3 in the search box in Explorer on windows 7 64 bit with all the updates, I get no results.

    What happens in a directory with 4 subdirectories and 120 MP3s inside.

    If I use *. * I get no results.

    *.MP3 works in the start menu > programs or search files and gives a lot of results.

    Left me speechless. Any advice?

    OK, I know the ability of research in libraries of indexing operating normally.  So, the first thing to try would be to go in Indexing Options, then click on "search indexing and troubleshooting."  (Indexing Options in Control Panel, or you can search for it in the search box start (Orb) if it works.)

  • Impossible to get a substring of the current s URL page

    Hello

    I have a very strange problem with the URL returned by GSF. I seem to be impossible to get a substring of the URL - the String.substring (int, int) method does not appear to return the expected results. It seems that other methods of strings (such as the indexOf (String)) seem to be operating on the chain of substring returns a part, rather than on the chain saw when the url is printed in its entirety. The corresponding code is less to:

    -----
    AssetApiWraCoreFieldDao wraDao = new AssetApiWraCoreFieldDao (ics);
    String wrapperCurrPage = ics. GetProperty ("com.fatwire.gst.foundation.url.wrapathassembler.dispatcher", ServletRequest.properties ", true);

    WebReferenceableAsset wraCurrPage = wraDao.getWra (pageId);
    String theLongUrl = new String ((new WraUriBuilder (wraCurrPage, wrapperCurrPage)) .toURI (ics));

    This displays the correct URL (http://www.example.com/page)
    out.println ("FULLURL:" + theLongUrl.toString ());

    This displays the first 25 characters of a string of unknown characters (satellitescheme://SSURI/?)
    out.println ("substring:" + theLongUrl.toString () .substring (0.25));
    -----

    All help to work out what happening would be appreciated – as far as we can tell GSF (or maybe WCS) are originally String to behave in a non-standard way.

    Hi 950972,

    There is little of the magic that is you fool. Basically, if you change out.println () System.out.println () you will see TWO URLS begin with satellitescheme: / /. What is happening, this is the URL which are produced by the ISU Sites still are built with a satellitescheme://...#satellitefragment. Then, what is Server RHN Satellite will process the result and replace the strange chain with one that fits your URL assembler (and in this case, you use the GSF assembler).

    In your code of substring, you are breaking the special chain and are cutting the encoded URL. RHN Satellite Server does not see the prefix and the suffix combined, so it does not have to make the substitution.

    That's why Your ' e see what see Your ' e.

    A big question is however, why you try to process the URL generated by the API. I guess that sort of substitution will happen, but that should not be done. What you trying to do? I'm sure we can find the right way to achieve your goals.

    Kind regards
    Tony

  • How can I get a query in the search field to open in a new tab or a new window, and the current window?

    How can I get a query in the search field to open in a new tab or a new window, and the current window?

    If you are looking through the search bar in the Navigation toolbar, this preference can be changed to research it open in a tab.

    Type of topic: config in the address bar and press ENTER. Then answer "I'll be careful." Type this pref in the search at the top.

    Browser.Search.openintab = double click to switch to true

  • Satellite U500-176: Impossible to get an HDMI output to work on television or monitor

    Hello

    I have a new Satellite U500-176 but impossible to get the HDMI to work on a TV or monitor.

    Usually, when the monitor is connected and I press Fn + F5 I get only the 1 option (LCD).
    Occasionally, the HDMI options work but when I select one it goes to the screen and runs successfully for a few seconds then automatically returns.

    Any ideas?

    See you soon,.
    Roy.

    Hello

    Hmm, what operating system are you using?
    Was - this operating system preinstalled by Toshiba?

    Please take a look in the BIOS. There should be HDMI settings. Please check if it is enabled.
    In addition, I would recommend checking the graphics card driver update.

    What version of BIOS you are using the most recent?

  • Impossible to get Vista SP2 installed

    Impossible to get SP2 to install on my windows vista 32 bit

    Download the SP2 installation file in a folder on your hard drive, then double-click it to start the installation.

    Windows Server 2008 Service Pack 2 and Windows Vista Service Pack 2-five language standalone (KB948465)
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a4dd31d5-F907-4406-9012-a5c3199ea2b3&displaylang=en

    Service Pack 2 for Windows Server 2008 and Windows Vista
    http://TechNet.Microsoft.com/en-us/Windows/dd262148

    JS
    http://www.PAGESTART.com

    Never be afraid to ask. This forum has some of the best people in the world to help.

  • The mouse graphic error, impossible to get rid of him, until I restart. Loading screen error, video included.

    OK, so here is the thing. I'm a gamer, I play Everquest right now and Im having problems with my computer 'new '. It was bought used, but when we test tried at home to the owner initial, everything worked perfectly. Since then, my husband has reformatted and put on Windows Vista Buisness on it. After a post on the game forums, Kevin helped me to get the PC to stop locking up. Yet, I still have the other problem with the mouse pointer.

    First thing first: computer information!
    Edition of Windows: Windows Vista Business Service Pack 2
    System:
    -Processor: AMD Athlon (TM) 64 X 2 Dual Core Processor 5000 + 2.61 GHz
    -RAM memory (RAM) 3.00 GB
    -System type: 32-bit operating system
    Graphics card: Radeon HD 4850
    Motherboard: nForce 590 SLI

    Next: I am 100% positive that there is no update pending for the operating system. There are things in option that I can install it, but they are not relevant to the problem that I currently have.

    So here's the question:

    (1) for the loading of Windows Vista Business. I see the text channel 0 Slave and in the lower right of my two monitors, both monitors so it is important, there is a rectangle that is 1/2 at the bottom of the screen.
    I included a video of him: [URL = http://tinypic.com/r/jhae14/5] View My video [url]
    (2) sometimes when the games, I see a square box that resembles film developed that appears randomly on the screen.
    Note: I only see the error all in game, because when the PC is on that's what I do. Here is the screenshot [IMG] [line] http://i44.tinypic.com/2evqekg.jpg
    (3) I have experience this behavior in and out of the game, but the screenshots in EQ are easier and faster to make and Vista does not see the problematic mouse pointer when you take a screenshot of it. Sometimes I will be able to tab in and out of what I do and it will go away, othertimes it requires a complete closed system and then it will go away. Here is the screenshot: [IMG] [line] http://i43.tinypic.com/qqswtx.jpg With the image that I just linked, there are three examples of the problem. The upper left corner has the double serrated edge, the other two posted on a character's head to make it easier to see. (Not sure if the 2nd link works or not. List of URL to Tinypic to show errors: http://tinypic.com/r/qqswtx/5)

    These problems don't always cause me down, but there are moments where I feel this graphic glitch, so the computer has locked up. It's incredibly less frequent that another EQ crashing the computer problem, I had. He posted the question here, happens once or twice every two days, when it isn't something I can deal. In the 2nd picture the edge serrated turning into that, you can always click in the right place. One would think that you would use just the tip to click on something, but sometimes this does not work and must continue to go upward or downward a bit to get to what you were tryin to close / open / whatever.

    Thank you for your time!

    Hello Dewifey,

    Thank you for posting.  I checked the other thread just so that I would have a complete understanding of the problem.  I studied him this strongly and I came up with some possible solutions for you.  As seems to be more than a gliche graph, I will propose common fixes first.  The first is to check the site ati.amd.com for updated for your video card drivers.  The second is to check for updates or patches for the game Everquest game.  Now we can get right to my search results.

    The only problem with EQ is really changes to security of XP to Vista.  EQ always assumes that users will run as administrator with full access to all under the directory %ProgramFiles%.  In Vista, even if logged in as an administrator, you don't actually run as administrator.  You must explicitly elevate your rights before becoming administrator (such as right click, run as administrator, or configure the program to run as administrator).  Just put the game to run in compatibility mode for Windows XP Service Pack 2 and run in administrator mode.
    If you forget to do this, the patch cannot connect records and will be silently _ it's short films before leaving.

    This step applies only if you run the game in windowed mode.

    One way to expedite EQ in Vista is to click right on eqgame.exe and on one of the tabs that you can disable "desktop composition" that disables the interface Aero and stop the GUI running on your video card.

    Please let me know if this helps you.

    Zack
    Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • After you have installed Windows 10 (don't like it) and go back to Windows 7 Home premium, impossible to get the Windows Update to run.

    After the Windows 10 update (don't like it) and go back to Windows 7 Home premium, impossible to get the Windows Update to run.

    Sorry, but KB3153199 has replaced two times at the same time. It takes the new version of the Windows Update client to correct known issues.

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

    Manual installation requires a continuous search to be interrupted. The value of the automatic updates to "never check updates" and then restart Windows.

    Best regards, VZ

  • Impossible to get the specific features of cisco in LMS syslogs

    Hello

    It's about a problem that we face with our LMS 3.2.1. We cannot get specific cisco devices syslogs, while we are able to get the rest devices syslogs. one you suggest what would be the exact reason for this and the troubleshooting steps.

    Thanks in advance,

    Raja

    Hello

    The first thing I would say is to make sure that you have these devices configured to send the syslogs to that specific server. See config below:

    3725B - CR - NMS (config) #logging host?
    Host name or A.B.C.D IP address of the syslog server

    If that is already set up, please make sure that syslog messages are on the server. Create a message simple syslog and check the syslog.log file located in NMSROOT/CSCOpx/log to make sure it's written there. You can also run a capture of packages to confirm the foregoing. If you have this installed on Linux/Solaris, check the syslog_info file (/ var/log /).

    You can generate a test syslog as shown below:

    3725 B-CR-NEM #conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    3725B - CR - NMS (config) #exit
    B-CR-NMS 3725 #.
    * 03:35:42.613 13 Oct: % SYS-5-CONFIG_I: configured from console by admin on vty1 (192.168.10.197)

    NMSROOT is the LMS installation directory

    Let me know the results.

    Allen has.

  • Impossible to get brother printer to run on windows 8 model is MFC 685 - CW... also can't download itunes... Help, please!

    Impossible to get brother printer to run on windows 8 model is MFC 685 - CW... also can't download itunes... Help, please!

    Hi Dominic,

    I understand that you are unable to respond to this thread and created a new thread.

    As restart the print spooler does not solve the problem, please reinstall the printer and then check if that helps.

    Check out the following link to resolve the problem of iTunes.

    http://support.Apple.com/kb/HT3204

    Hope that the information provided is useful.

Maybe you are looking for