Computation and Insert

Hi all
Apex 4.2 , linux, 11GR2
I am trying to do multiple computation and then trying to do insert in different tables.
my Form parameter are as follows :
240     P11_ANNUAL_REVENUE_BUDGET     Annual Revenue<br> Budget     Display Only     
260     P11_ANNUAL_REV_ACT_YTD_PRIOR_M     Annual Actual Revenue<br> YTD Prior Month<br>     Number Field     
280     P11_CURRENT_MONTH_BUDGET     Current Month<br> Budget     Number Field     
290     P11_CURRENT_MONTH_BILLED_TO_DA     Current Month<br> Billed To Date     Number Field     
300     P11_EXPECTED_ACTUAL_MONTH     Expected Actual<BR> Month     Number Field     
310     P11_GAP          Hidden     
320     P11_REVENUE_OVERAGE_SHORTFALL     Revenue Overage<br> Shortfall     Hidden     
380     P11_REVENUE_PER_DAY_PLAN     Revenue Per Day <BR>Plan     Hidden     
390     P11_REVENUE_PER_DAY_YTD     Revenue Per <BR>Day Ytd     Hidden     
400     P11_PLUS_MINUS     +/-     Hidden     
410     P11_ACTUAL_EXCESS_SHORTFALL     Actual Excess<br> Shortfall     Hidden     
420     P11_ACTUAL_EXCESS_SHORTFALL_TR     Actual Excess<br> Shortfall Trend     Hidden     
430     P11_REVENUE_PER_DAY_NEEDED     Revenue Per<br> Day Needed     Hidden     The Hidden item are computation Item , and number field item are values that user enter.
computation
1.:p11_current_month_billed_to_da - :p11_expected_actual_month on 310     P11_GAP     (which worked fine )
some computation are never done .
for ex
2.(:P11_ANNUAL_REV_ACT_YTD_PRIOR_M + :p11_current_month_billed_to_da)/:P11_DAYS_THROUGH_YR on P11_REVENUE_PER_DAY_PLAN
3.:P11_REVENUE_PER_DAY_YTD - :P11_REVENUE_PER_DAY_PLAN dependant one above.
can you pls help in figure out what is wrong with one computation over other.
Edited by: Hunk09 on Apr 23, 2013 1:42 PM

Similar to your other post (Re: computation using plsql function body these probably need a computation type of PL/SQL expression - but it's hard to tell, you haven't supplied enough information to determine what you're trying to do & when - nor have you provided complete details about the computation you have already, or why you think the computation isn't done.

Similar Messages

  • I have replaced my computer and when I am asked to enter the redemption code I insert the serial number but it tells me it is not valid

    I purchased Adobe Photoshop Elements  in Dec 2013. I have had to buy a new computer and when I try to install and when I am asked to enter the redemption code I insert the serial number but it tells me it is not valid. What do i  need to do.
    Noel

    noelcj26 wrote:
    I purchased Adobe Photoshop Elements  in Dec 2013. I have had to buy a new computer and when I try to install and when I am asked to enter the redemption code I insert the serial number but it tells me it is not valid. What do i  need to do.
    Noel
    If you registered the product with Adobe (Version 12 and 13 required mandatory registration) then the correct serial number must be recorded in your Adobe account.  You can login and check there and also copy and paste the number to avoid any mistakes in reading the numbers.
    Good luck.

  • Is there a software that will allow DVD video to put inserted into computer and uploaded into Mac iMovie?

    Is there a software that will allow DVD video to put inserted into computer and uploaded into iMovie on my MacBook Pro?

    Check out this user tip and see if it helps.
    https://discussions.apple.com/docs/DOC-3951

  • I decided to restore the iPhone through iTunes (v. 10.6.3.25).  I connected phone to the computer and pressed the Restore button.  The computer downloaded the file and started to establish an insertion in phone.  At the end it is written "error -1" and

    I decided to restore the iPhone through iTunes (v. 10.6.3.25).
    I connected phone to the computer and pressed the Restore button.
    The computer downloaded the file and started to establish an insertion in phone.
    At the end it is written "a mistake-1" and phone is in a restoration mode.
    I several times tried it to restore, but at the end of an insertion is written "a mistake-1"
    What to me now to do??? Help me.
    Data of my iPhone
    My imei 012856008370109
    Serial number 88151VCFEDG
    Modem 05.16.05
    Model MC640LL

    Hi there,
    Do you have icloud account? You need firstly turn off find my iphone (by go to icloud.com -->sign in --> go to "Find my iphone" and erase your iphone in it). And then you restore your iphone with DFU mode.
    When you erase your Find my iphone and if you can not restore, your iphone has a problem with hardware.
    Some infos can help you.
    Kind regards,

  • I inserted my new 8gb 4x4 RAM but when i boot up the computer and choose this computer it only says that i have 4gb ram inserted and the computer isn't faster then with 2gb!? please help me! I have a MBP from 2009

    I ordered my RAM 8GB from OWC (other world computing) and when i inserted the ram and booted up my computer it says that i only have inserted 4gb ram and the computer isn't faster than it was with 2gb!!! please help me... I've got a MacBook Pro (mid 2009)

    Improperly seating memory is the curse of everyone, even experts.  No one wants to "break" the memory or the slot by pushing too hard.
    So, try again.  Push maybe *just a twinge* harder to seat the memory (just a twinge).
    As to speed ... memory mainly lets you keep more things active concurrently.  Unless you were severely overtaxing your old memory and causing huge "Page Out" counts, only faster HD makes huge speed increases.

  • Using servlets to read from text file and insert data

    Hi,
    Can I use a servlet to read from a space delimited text file on the client computer and use that data to insert into a table in my database? I want to make it easy for my users to upload their data without having to have them use SQL*Loader. If so can someone give me a hint as how to get started? I appreciate it.
    Thanks,
    Colby

    Create a page for the user to upload the file to your webserver and send a message (containing the file location) to a server app that will open the file, parse it, and insert it into your database. Make sure you secure the page.
    or
    Have the user paste the file into a simple web form that submits to a servlet that parses the data and inserts it into your db.

  • I recently bought a new computer and downloaded itunes but when i try to sync it, someone else's apple i.d. shows up and i don't know the password.  I try to authorize my computer but it still won't let me

    I recently bought a new computer and downloaded itunes onto it.  When i sync my ipod it prompts me to authorize my computer
    with the purchases that i've made, but when i try to do so, my apple i.d. is not what shows up and so my ipod won't sync any of my songs or apps.  I have no idea who's username i'm seeing and i've never seen it before.  That's the only thing that is stopping my ipod to sync, a password that isn't mine!! I am beyond frustrated and don't know what else to do, if someone can please help me i would be so appreciative you have no idea.  Thank you so much

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Transfering itunes from XP to new Leopard computer AND synching iPhone help

    I'm a complete Mac OS novice and have purchased a new iMac. I have been using WinXP and own an iPhone. I have backed up my itunes library (from my XP computer) onto multiple dvds. How do I transfer my library onto the mac AND keep my contacts from my iPhone intact? Do I need to do a complete restore on the new computer? Will my contacts be deleted?
    Please bear in mind I am a COMPLETE novice with OS X. Step by step directions for transfering my library, deauthorizing the xp computer, and synching my iphone would be amazing.
    Jason

    Jason,
    Did you use the iTunes backup feature to backup your iTunes library to DVDs? If so, then to restore the backed-up files, insert a backup disc into your iMac, open iTunes, choose File > "Back Up to Disc," and then click Restore.. Once your files are copied, you can [deauthorize your old XP computer|http://docs.info.apple.com/article.html?path=iTunesWin/7.4/en/15281.ht ml] and authorize your new Mac.
    Note: Before you sync your iPhone to your Mac, make sure you have a backup of your contacts and all other important information on your Windows computer.
    Go to the Info tab in iTunes (on your Mac) and select Sync Contacts. When you hit apply, you should get a message saying "The information on this iPhone is synced with another user account. Do you want to sync the iPhone with the information from this user account instead?" Click Merge Info. This should copy the contacts from your iPhone to Address Book on your Mac.
    For more information on syncing your iPhone with your Mac, take a look at this article:
    http://docs.info.apple.com/article.html?artnum=305741
    Hope this helps,
    Jennifer B.

  • I purchased Adobe Premeire Elements and Photoshop Elements 10.0 in 2012. Since then my computer died.I would like to download them on this computer and am unable to do so successfully. Please advise. It was a downoad purchase with no CD

    I purchased Adobe Premeire Elements and Photoshop Elements 10.0 in 2012. Since then my computer died.I would like to download them on this computer and am unable to do so successfully. Please advise. It was a downoad purchase with no CD

    christineae
    It is not clear if your Premiere Elements 10 was a downloaded purchase from Adobe or from an authorized reseller.
    However, do you have a purchased serial number for the product?
    If you have the purchased serial number, you can download Premiere Elements 10 tryout files from the following web site
    and insert your purchased serial number in them during installation to make them your own.
    Photoshop Elements 10 Direct Download Links: Free Trials, Premiere | ProDesignTools
    It is important to read and carry out carefully that web site's "Note: Very Important Instructions" in order to avoid an Access Denied message.
    Just in case message....
    But there could be a complication with regard to files from any source.
    Adobe allows you to have the purchased activated serial number on no more than 2 of your computers.
    If your failed computer has Premiere Elements trapped on it representing 1 purchased serial number, you will be able to installed
    the purchased serial number on only one more computer. If you have the purchased activated serial number trapped on 2 failed
    computers, then you will not be able to use that purchased serial number on another computer until you deactivate at least one
    on one of the other two computers. In this case, it is only Adobe who might be able to help you. None of this may apply to you. I mention
    it as a just in case caution.
    Please let us know if you have any questions or need clarification.
    Thank you.
    ATR

  • Tried to open my old MacBook.  Couldn't remember password.  Followed suggestion to reinstall hardware.  Now startup disk is stuck in computer and it won't turn on.  I keep getting a message saying I need to restart the computer.  Any ideas?

    Tried to open my old MacBook.  Couldn't remember password.  Followed suggestion to reinstall hardware.  Now startup disk is stuck in computer and it won't turn on.  I keep getting a message saying I need to restart the computer.  When I hold down power button, I get the same message over and over.  Any ideas?

    Hello m.goo, and a warm welcome to the forums!
    To eject the Disc, hold the Mouse button down, (or what passes for it on a Laptop), while powering up, if you also hold the Option key down at the same time it should eject & give you a chance to insert your install disc & wait for it to shw as a Boot option.
    "Try Disk Utility
    1. Insert the Tiger Mac OS X Install disc , then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, *you must select your language first.)*
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    Then Safe Boot , (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    If it appears to be time for An Archive & Install, which gives you a new OS, but can preserve all your files, APPs, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120
    Be sure to use Preserve Users & Settings.
    To check if AppleCare applies, AppleCare Products Overview...
    http://www.apple.com/support/applecare/overview/

  • Compare String in a table and insert the common values into a New table

    Hi all,
    Anyone has idea on how to compare a string value in a table.
    I have a Students Table with Student_id and Student_Subject_list columns as below.
    create table Students( Student_id number,
    Student_Subject_list varchar2(2000)
    INSERT INTO Students VALUES (1,'Math,Science,Arts,Music,Computers,Law,Business,Social,Language arts,History');
    INSERT INTO Students VALUES (2,'Math,Law,Business,Social,Language arts,History,Biotechnology,communication');
    INSERT INTO Students VALUES (3,'History,Spanish,French,Langage arts');
    INSERT INTO Students VALUES (4,'History,Maths,Science,Chemistry,English,Reading');
    INSERT INTO Students VALUES (5,'Math,Science,Arts,Music,Computer Programming,Language arts,History');
    INSERT INTO Students VALUES (6,'Finance,Stocks');
    output
    Student_id     Student_Subject_list
    1     Math,Science,Arts,Music,Computers,Law,Business,Social,Language arts,History
    2     Math,Law,Business,Social,Language arts,History,Biotechnology,communication
    3     History,Spanish,French,Langage arts
    4     History,Maths,Science,Chemistry,English,Reading
    5     Math,Science,Arts,Music,Computer Programming,Language arts,History
    6     Finance,Stocks
    I need help or some suggestion in write a query which can compare each row string value of Student_Subject_list columns and insert the
    common subjects into a new table(Matched_Subjects).The second table should have the below colums and data.
    create table Matched_Subjects(Student_id number,
    Matching_studesnt_id Number,
    Matched_Student_Subject varchar2(2000)
    INSERT INTO Matched_Subjects VALUES (1,2,'Math,Law,Business,Social,Language arts,History');
    INSERT INTO Matched_Subjects VALUES (1,3,'History,Langage arts');
    INSERT INTO Matched_Subjects VALUES (1,4,'History,Maths,Science');
    INSERT INTO Matched_Subjects VALUES (1,5,'Math,Science,Arts,Music,Language arts,History');
    INSERT INTO Matched_Subjects VALUES (2,3,'History,Langage arts');
    INSERT INTO Matched_Subjects VALUES (2,4,'History,Maths');
    INSERT INTO Matched_Subjects VALUES (2,5,'Math,Language arts,History');
    INSERT INTO Matched_Subjects VALUES (3,4,'History');
    INSERT INTO Matched_Subjects VALUES (3,5,'Language arts,History');
    INSERT INTO Matched_Subjects VALUES (4,5,'Math,Science');
    output:
    Student_id      Match_Student_id     Matched_Student_Subject
    1     2     Math,Law,Business,Social,Language arts,History
    1     3     History,Langage arts
    1     4     History,Maths,Science
    1     5     Math,Science,Arts,Music,Language arts,History
    2     3     History,Langage arts
    2     4     History,Maths
    2     5     Math,Language arts,History
    3     4     History
    3     5     Language arts,History
    4     5     Math,Science
    any help will be appreciated.
    Thanks.
    Edited by: user7988 on Sep 25, 2011 8:45 AM

    user7988 wrote:
    Is there an alternate approach to this without using xmlagg/xmlelement What Oracle version are you using? In 11.2 you can use LISTAGG:
    insert
      into Matched_Subjects
      with t as (
                 select  student_id,
                         column_value l,
                         regexp_substr(student_subject_list,'[^,]+',1,column_value) subject
                   from  students,
                         table(
                               cast(
                                    multiset(
                                             select  level
                                               from  dual
                                               connect by level <= length(regexp_replace(student_subject_list || ',','[^,]'))
                                    as sys.OdciNumberList
      select  t1.student_id,
              t2.student_id,
              listagg(t1.subject,',') within group(order by t1.l)
        from  t t1,
              t t2
        where t1.student_id < t2.student_id
          and t1.subject = t2.subject
        group by t1.student_id,
                 t2.student_id
    STUDENT_ID MATCHING_STUDESNT_ID MATCHED_STUDENT_SUBJECT
             1                    2 Math,Law,Business,Social,Language arts,History
             1                    3 Language arts,History
             1                    4 Science,History
             1                    5 Math,Science,Arts,Music,Language arts,History
             2                    3 Language arts,History
             2                    4 History
             2                    5 Math,Language arts,History
             3                    4 History
             3                    5 History,Language arts
             4                    5 History,Science
    10 rows selected.
    SQL> Prior to 11.2 you can create your own string aggregation function STRAGG - there are plenty of example on this forum. Or use hierarchical query:
    insert
      into Matched_Subjects
      with t1 as (
                  select  student_id,
                          column_value l,
                          regexp_substr(student_subject_list,'[^,]+',1,column_value) subject
                    from  students,
                          table(
                                cast(
                                     multiset(
                                              select  level
                                                from  dual
                                                connect by level <= length(regexp_replace(student_subject_list || ',','[^,]'))
                                     as sys.OdciNumberList
           t2 as (
                  select  t1.student_id student_id1,
                          t2.student_id student_id2,
                          t1.subject,
                          row_number() over(partition by t1.student_id,t2.student_id order by t1.l) rn
                    from  t1,
                          t1 t2
                    where t1.student_id < t2.student_id
                      and t1.subject = t2.subject
      select  student_id1,
              student_id2,
              ltrim(sys_connect_by_path(subject,','),',') MATCHED_STUDENT_SUBJECT
        from  t2
        where connect_by_isleaf = 1
        start with rn = 1
        connect by student_id1 = prior student_id1
               and student_id2 = prior student_id2
               and rn = prior rn + 1
    STUDENT_ID MATCHING_STUDESNT_ID MATCHED_STUDENT_SUBJECT
             1                    2 Math,Law,Business,Social,Language arts,History
             1                    3 Language arts,History
             1                    4 Science,History
             1                    5 Math,Science,Arts,Music,Language arts,History
             2                    3 Language arts,History
             2                    4 History
             2                    5 Math,Language arts,History
             3                    4 History
             3                    5 History,Language arts
             4                    5 History,Science
    10 rows selected.SY.

  • I just received photoshop elements 10 that I bought used thru Ebay, for my OSX Mac 10.5.8. I put the discs in my computer and nothing happens to help me download it. Can anyone help me with this instillation challenge?

    I just received photoshop elements 10 that I bought used thru Ebay, for my OSX Mac 10.5.8. I put the discs in my computer and nothing happens to help me download it. Can anyone help me with this instillation challenge?

    Does your mac have an intel processor or PowerPC processor?
    System requirements | Adobe Photoshop Elements
    Did you insert the disk that is labeled mac os?
    After you insert the disk, it should show on your desktop.
    If you double click on the the disk icon on the desktop, does anything happen?
    more info about the included disks:
    FAQ: Installing Elements 10, or What do all these disks do?

  • I tried to update my ipod touch but my itunes froze and i had to restart my computer and now it says i have to restore my ipod touch but it always freezes halfway what do i do?

    my itunes said to update my itunes and ipod touch and when i tried my itunes froze and i had to reset my computer and now my ipod has to restore and when it does it freezes what ddo i do?

    This seems to fit yu symptom:
    Hang during restore process: Following Troubleshooting security software will frequently resolve this error. This error can be caused by the default packet size being set incorrectly. There may be third-party software installed that modifies the default packet size in Windows by inserting a TcpWindowSize or MaxGlobalTcpWindowSize entry into the Registry. Contact the manufacturer of the software that installed the packet-size modification for assistance in adjusting this TcpWindowSize values. Typically the default packet size is modified by 3G cellular network card software, ISP communication software, or Internet speed download optimization software. There are legitimate reasons to change the TCP/IP packet size and not use the Windows default settings (for example, network traffic optimization, home/broadband optimization, enterprise app optimization such as database apps, Exchange, and more). Deleting the "TcpWindowSize" or "GlobalMaxTcpWindowSize" entries in Windows Registry could affect the system's performance with other apps or on their network connections. Deleting the customized TCP/IP settings may require the reinstallation of any third-party applications that had modified the TCP/IP settings from the Windows default settings.
    There are two ways to resolve this:
    You can follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) , or follow the steps below to manually find and remove TcpWindowSize and MaxGlobalTcpWindowSize entries from the Registry.
    For Windows XP, Windows Vista, Windows 7: Go to the C:\\Windows folder and launch regedit.
    Go to Edit > Find.
    Search for "TcpWindowSize" entries. There are typically multiple entries of TcpWindowSize/GlobalMaxTcpWindowSize spread throughout the entire Registry. If "TcpWindowSize" exists, one or more third-party applications have changed the user's default Windows settings for TCP/IP.
    Go to File and select Export. This step will export a copy of the Registry that can be used as a backup of the original settings.
    Delete the "TcpWindowSize" entry.
    Search for the next "TcpWindowSize" entry and delete each one until the Registry no longer has any "TcpWindowSize" entries.
    Close Regedit, restart the PC, and test.
    If you are uncertain as to why these registry entries exist and the PC is a business computer, contact your network administrator and determine what values TCP/IP can be set in their Windows Registry setting so that the PC can update or restore an iOS device rather than deleting the "TcpWindowSize" entry.
    If editing the registry does not resolve the issue, restoring on a different computer that did not install the communication software is the step most likely to resolve this issue.
    Above from:
    http://support.apple.com/kb/TS3694

  • I have created an I-tunes playlist consisting of audio recordings recorded in Quick Time 7. The play list works fine in the computer and in the I-pod. However; I am unable to burn the playlist to a Cd disc. what am I missing ?

    I have created an I-tunes playlist consisting of audio recordings (AAC) recorded in Quick Time 7 Pro.. The play list works fine in the computer and in the I-pod. However; I am unable to burn the playlist to a Cd disc. What am I missing ?
    Audio recordings created with Quick time Player 7 and installed as playlist in I-tunes . Playlist works fine in Ipod; unable to burn to a disc. 

    Hi ! to Bd Aqua !
    Thank you for your response. :
    1. Audio recordings recorded in Quicktime 7 pro . Eighteen separate short recordings (18 tracks).
    1A. the combined playlist byte is 28.3 Megabytes
    2. Moved to I-tune.
    3. Created playlist in I-tunes.
    4.I go to file dropdown and request "burn playlist to disc"
    5. Burn Settings dialog box appears.  I click burn.
    6."Insert blank disc", appears in top wlindow.
    7. insert blank disc;  the 'Insert blank disc order" disappears but nothing happens after that.
    There is no indication or even a hint of anything happening.
    Hope you can help, Thanks

  • Did a itunes update on my partners phone and it took away all of his phone contacts and inserted mine can this be reversed

    did a itunes update on my partners phone and it took away all of his phone contacts and inserted mine can this be reversed

    Have him sync his phone to iTunes on his own computer/account, and it should put everything back for him.

Maybe you are looking for

  • Has "anyone!!" managed to use the WebLogic MQ Adapter

    Hi, Its been weeks altogether now that I have been struggling with the WebLogic MQ Adapter on Version 7.0 of weblogic integration. I havent been able to use the Adapter yet. Followed all the instructions in the provided documentation which ships with

  • Import splitting into hundreds of .3 second clips!

    We have a Panasonic PV-D400D, and iMovie's last few versions have erroneously imported all video as tons of little .3 second clips. The way we got around this was to import as one single clip, not using the auto clip thing in iMovie. However, it look

  • CFLOCATION

    Hi, I am using cflocation to redirect to a page after doing process on server side like database updates, some time the page is redirecting properly and the content of the new page also displaying, and some times it is redirecting to a new page but t

  • Photoshop CS2 has decided to not open anymore : (

    I have the CS2 suite which has always worked fine on my imac (Tiger 10.4.11) and I have Epson Stylus Photo RX425 scanner combi which has also always worked. I had to download a driver recently for the printer/scanner as I had lost the CD but it conti

  • SocketException * 2 please help

    Can anyone help with this long time problem. I am trying to write a small HTTP proxy app' to filter content using Sockets etc. Therefore I have a DataInputStream reading from a web server following a GET, and a DataOutputStream to write back to the c