Automatic update value after time period passes

Hi,
In my application on page 8 I have an item which value is to be changed from one value to another depending on a time period. At first the item has value 1. Then we set it on value 2 and we also set a time period, for example 5 days. So after that period the value should automatically change on the value 1.
On page 1 there is a region with a list entries, subjects which have the value 2 set. I want this list to change according the change of value.
Does anyone know how to do this? I am a bit clueless...
Thanks
Regards,
Leila

There appears to be logical issue here.
a) The value will be incremented only when user visits the Page 8 . If user does not visit Page 8 then the change will not occur
b) If the user visits Page 8 but does not save the change (commit) even then the change would not come into effect.
Can this not be handled through a scheduled job that runs on the underlying tables at per-determined intervals/time? Say , once a day?
If the above 2 points do not affect you then you can try the Process route.
i) Write a OnLoad Before Header or After header process on Page 8
ii) In this process find out whether the required/preset interval has elapsed on not
iii) If the criteria is met then change the value of the Page 8 as well as Page 1 items using bind variable sysntax in the Process
:P12_ITEM := '2' ; -- or whatever you want.
:P1_ITEM := :P12_ITEM;How to figure out the interval? If it is date/time based then use SYSDATE. If it is something else , you need to figure out the interval calculation that works for you.
Regards,

Similar Messages

  • Firefox does not start up after an automatic update. Every time i try to open it, it just prompts the Mozilla Crash Reporter.

    Firefox does not start up after an automatic update. Every time i try to open it, it just prompts the Mozilla Crash Reporter.
    ''Add-ons: {972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10
    BuildID: 20100914125854
    CrashTime: 1290192405
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1287124738
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 422
    StartupTime: 1290192405
    Theme: classic/1.0
    Throttleable: 1
    Vendor: Mozilla
    Version: 3.6.10
    This report also contains technical information about the state of the application when it crashed.''
    Same thing happens when i click restart.
    No difference when i run it in Safe mode. And it won't let me create a new profile either. Is there anyway else i can extract my bookmarks? This is driving me crazy!

    Did the crash reporter send any crash reports?<br />
    You can see the crash reports in this folder:
    "C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Crash Reports"
    See: http://kb.mozillazine.org/Breakpad
    See also [[Firefox crashes when you open it]]
    Create a new profile as a test to check if your current profile is causing the problems.<br /><br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]<br /><br />
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"<br /><br />
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br /><br />
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox<br /><br />
    If that still causes the same problem then do a clean reinstall and remove the Firefox program folder.
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    See:
    * http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Why won't Windows XP automatic updates work after installing new ITunes

    After installing the new 11.1 Itunes, Windows automatic updates fail to install any new updates.
    The last time this happened was when I last updated Itunes. I can't remember how I fixed it but I had to go into the apple software and fix something.
    Please help!

    Please help me ! I don't understand why I had to restore to factory settings and then when I tried to re-sync  it kept telling me iTunes is not working. Why ??

  • Life time of SSD and alternative after time period

    Please clerify me the life time of SSD and HDD in term of calculation with respect to use and time period?
    Clarify me, If my SSD drive get inoperable after warrenty period than alternative to make situation nomal. If SSD of notebook became inoperable than my OS and other installed s/w will be operable or not?

    Hi Brad
    I can copy the code from routine #1 into my routine #911 inorder to restirct the display of output type in delivery header. But as mentioned by you this routine is not triggered at the time of PGI. ( I checked at the time of PGI )
    If i link my output type LD00 with Requirement #1 routine then it will be triggered at the time of PGI, but here the o/p is linked with Requirement #911.
    Pls let me know if any thing wrong i mentioned...

  • HTMLDB updateable report not showing the updated values after pagination

    Create updateable multiple record report usingselect wwv_flow_item.display_and_save(1,xxxx) a,wwv_flow_item.display_and_save(2,yyyy) b,
    htmldb_item.select_list(3,STATUS,'Not Applicable;
    Not Applicable,Pending;Pending,Closed;Closed') Status,
    htmldb_item.text(4,REASON) REASON,
    wwv_flow_item.date_popup(5,null,TARGET_DATE) TARGET_DATE
    FROM table_name using sql_report wizard.
    Report executed properly. User can also update the status,reason and target date columns. But if the report contains more than 1 page, updated values in the previous page cannot be seen(old values are displayed).
    Kinldy let me know is there any way to store the updated value and show the user again.
    Thanks in advance.

    Thanks marc for your feedback. Ofcourse what you said is right. But is there any way i can see the changed values before submitting .
    For example, out of the 10 records in the 1st page if the user changes, column value for 9 records and goes to the next page and changes 10 records in the 2nd page and comes back to the 1st page to change the records which he has changed already, he cannot see the changed value for all the 9 records which he has changed.
    Is there any way i can make the user see the changed value
    before submitting after navigating to the other page of the report and comes back?
    thanks in advance.

  • Why do have to disable Yahoo automatic updates all the time?

    I used to be able to open Firefox, and then open my Yahoo mail account without having to go through the additional step of disabling automatic updates. How can I permanently disable automatic updates, so I don't have to do it every time?

    If you are using home sharing then yes. Only photos used for the screensaver are temporarily cached, nothing else is stored. There is no need to restore the unit in order to view photos from your computer's library.

  • Automatic Update stalls after 10.6.5 Combo Update

    The headline says it all: after reinstalling Snow Leopard and applying the 10.6.5 Combo I told the MacBook to look for more updates. It found several (Java, Printer, etc.).
    The download worked fine but everything came to a stop when it said something like: "Before applying the update I have to wait for an old update to finish." That is where everything stopped.
    I deleted
    file://localhost/Library/Updates/ and file://localhost/Library/Preferences/com.apple.SoftwareUpdate.plist
    No success.
    Is there any other file that needs to be trashed?
    Thanks for any suggestion you may have.

    I have same problem.
    Installed 10.6.5 a weeks ago, then realised later that spotlight was not working as well as entourage search. Didn't think it was update related. Tried to fix spotlight by reindexing the main volume in spotlight privacy. But this only created an error.
    Then tried various sudo commands, of stopping, starting reindexing spotlight. Had no luck.
    Decided to back up hard drive, reformatted computer and loaded system in from scratch. Running snow leopard. Everything was working fine again.
    Now a week later ran system update with 10.6.5 and now spotlight and entourage search don't work again. It must be an issue with the software update.
    Has anyone had the same problem, as would rather have apple fix with a software update than waste time, messing with the system.
    Thanks

  • Automatically update iPod after podcasts download?

    I'd like iTunes to automatically update my iPod after all my podcasts have downloaded. Is this possible, or do I always have to manually update the iPod after downloading podcasts?
    Ideally, I'd like to be able to plug in the iPod in the morning, walk away to brush my teeth and shower, then come back and grab the iPod with all my podcasts ready to go.

    I agree, it drives me nuts and is an iTunes design flaw IMHO. If there are any podcasts being downloaded the iTunes should hold off doing the iPod syncing until all the podcasts have finished downloading. This way the problem would not occur.
    PowerBook G4   Mac OS X (10.4.5)  

  • Why the hell does Firefox automatically update itself after I specifically turned off automatic updates?!?!?!?!??! 3 profiles with all of my bookmarks are gone. Never using this browser again!!!!!!

    <blockquote>Removed profanity. Please read the rules and guidelines at https://support.mozilla.com/en-US/kb/Forum+and+Chat+Rules+and+Guidelines - FF4L</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    == Firefox version
    ==
    3.0.19
    == Operating system
    ==
    PPC Mac OS X 10.4
    == User Agent
    ==
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.19) Gecko/2010031218 Firefox/3.0.19
    == Plugins installed
    ==
    *-Netscape Navigator Default Plug-in
    *Runs Java applets using the latest installed versions of Java. For more information: Java Embedding Plugin. Run version test: Java Information.
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r22
    *The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
    *DivX Browser Plug-In: Plays DivX video in your browser!
    *Macromedia Shockwave for Director Netscape plug-in, version 10.1.1
    *Java 1.3.1 Plug-in
    *Java 1.3.1 Plug-in (CFM)

    I also have this problem of Firefox updating by itself (also the add-ons) even when I turn off auto-update.
    Sometimes you do not want to update or download a large file; because you're working offline, have a slow connection, or have a very low download allowance etc. Usually the update doesn't work and cause Firefox to crash. After that it cannot be started again. This is with Firefox Portable but I think I've had this problem the normal Firefox. With the portable version I can just back up a single folder but it is still time wasting and annoying.
    I've noticed that when I start Firefox with auto-update turned off from the previous session, it changes the options to auto-update by itself, it also does this periodically. So every time I start Firefox I have to turn off auto-update, and I have to check again from to time, like a few times a day, because Firefox will by itself turn back on the auto-update.

  • How to automatically update date and time on Numbers spreadsheet

    Would like to have printed version of Numbers spreadsheet reflect present date and time.  I know how to do this in Excel, but can't figure out how to get there in Numbers.

    Add the date and time to the Header or Footer in the Print Dialog via the Insert menu.
    It is only semi-automatic, in that to update the date and time, you must either delete and reinsert the date and time, or you must open the token and update by clicking the Set to Today button.
    Jerry

  • Automatically update creation/modification times.

    HI,
    I'd like to create a script that automatically sets the creation and/or modification time to 'now' whenever a folder/file is added to a directory. When I use Firefox and send my downloads to a specific folder, it resets those times. This allows me to sort by date and always see my newest files at the top. In Safari, it doesn't change these times, and I can't sort this way.
    I also like that such a script would allow me take advantage of its functionality for any file I placed in a particular folder. Any ideas?
    Thanks.

    Hi, thank you for your response.
    I spent a bunch of time working on this but I still can't make it work. To get it to compile, I added "to" at the end of the last line. Hopefully that's correct. As for the rest of it, nothing seems to happen.
    I have another folder action that acts on every file as it's added to this folder and that one works, so I don't ''think'' I'm attaching it incorrectly. I removed this other action for the purpose of testing. The context menu for the folder in question shows an item "Remove a Folder Action" listing the new script.
    As your script seems cleaner I would prefer to make it work. However, using the wording of yours I was able to search and piece together some other stuff that kinda sorta works. The first part is...
    on adding folder items to this_folder after receiving these_items
    repeat with file_ in these_items
    tell application "Finder"
    set file_ to POSIX path of file_
    do shell script "touch -c " & quoted form of file_
    end tell
    end repeat
    end adding folder items to
    A problem with this script was that the Finder didn't always apply the sort even when the modification time was changed successfully. I had to manually sort on something else, and then go back to modification time sort. So I added this after the 'end repeat'...
    tell application "Finder"
    set theItems to name of every file of folder this_folder
    sort theItems by modification date
    end tell
    The whole thing seems to work intermittently. Occasionally, it fails to perform one or the other of its tasks. I haven't figured out why it does this, but it will disable folder actions without warning. Once I re-enable them, it starts working again. I don't know if it's disabling first, or failing and then disabling.
    Any help is always appreciated. Thank you.
    PS. I don't know how to change the code snippets to grey monospace.
    Message was edited by: Decidus

  • Update app after grace period

    We currently have an app with an install base in the tens of thousands. I recently applied an update signed with a valid certificate, but that certificate has just expired. I need to know what will happen after the 180 day "grace period". If I apply another update in more than 180 days, will the original users need to uninstall the original app to install the new one? From what I see in the documentation that looks like the only option...?
    Thanks

    Thanks, Ann154, for your reply.
    Hello nd09,
    Thanks for posting! Is there a reason why you’re considering returning your device? If you recently upgraded to a new device that you purchased directly from Verizon Wireless and are beyond the Return/Exchange period, 14 days, as Ann154 mentioned, you will be charge an early termination fee if your line is disconnected. If you simply return the device during this period than your contract will go back to how it was before the upgrade.  I trust you’ll find this information helpful. Have a great day.
    DaisyP_VZW
    Follow us on Twitter @VZWSupport

  • How to distribute a value across time periods?

    <p>I have an application that tracks employees' actual andforecasted time on a project. The question is how do I get startedon writing a business rule to distribute forecasted time acrosstime periods?</p><p> </p><p>For example, the user selects an employee and estimates that theemployee will spend 1200 hours on the project over the next 2years. so i want to allocate 50 hours per month for the next twoyears. The employee will be a run-time prompt as well as the startyear/month and end year/month.</p><p> </p><p>The dimensions are</p><p> Account -> manhours</p><p> Period -> (standard)</p><p> Years -> FY05:FY15</p><p> Projects -> p1, p2,..., p3</p><p> Employee -> emp1, emp2, emp3</p><p> Scenario -> Actual, Forecase</p><p> Version -> original</p><p> </p><p>Thanks in advance.</p>

    <p>OK so, I have this much so far (unfortunately) This is just afirst draft and it assumes that you are allocating evenly acrossone year known as start year.</p><p> </p><p>But it doesnt do anything.</p>

  • Update Value After Commit

    Hello everyone,
    i'm begginner in ADFand using jdev 11.1.2.4
    I have table , there is attribute called "flag" I want when update in this table and press "commit" after pressing ....update this "flag" with '1"
    ex. After pressing commit "update table set flag = 1 "
    anyone can help me plz.
    Thanx

    Dear I try to write this code
        protected void doDML(int operation, TransactionEvent e) {
            super.doDML(operation, e);
            if (operation == DML_UPDATE) {
                setCallStat("1");  // this is the flag
                try {
                      getDBTransaction().commit();
                  catch (JboException ex) {
                    getDBTransaction().rollback();
                    throw ex;
    but After run application and press commit appear this Error
    java.lang.StackOverflowError
    cannot be cast to java.lang.Exception

  • Yoga 13 -- After automatic update no internet connection

    I just got this lenovo yoga 13 ultrabook. I've only had it for about 18 hours and late last evening there were some automatic updates and after that I could no longer connect to the internet
         - when I ran the windows network diagnostics it said that I needed to install a driver for you network adapter.
    How can I fix this?
    Solved!
    Go to Solution.

    hi clos687,
    i'm assuming you've turned on the wireless by pressing f7 button. after that, if you still can't connect, please, check your drivers (d:/drivers or c:/drivers ) folder to re-install the wireless adapter.
    hope this helps.

Maybe you are looking for

  • Read characteristics value of AUSP-ATWRT

    Hi, There is a code in AUSP-ATWRT and i want to get the text of this code like : AUSP-ATINN = ZHC_REFUSREASON and AUSP-ATWRT = 01-22.04.2009-A07.001 I want to get the mean of the bold area, A07. How to do that? Thanks

  • I met problems about XML Node attributes in Flex 2.0

    Here is my example <Root Pro1="1"> <TestNode /> </Root> I get the XML from HTTPService: var xmlData:XML = new XML(hsTest.lastResult); I can get the value by the method "attribute()": xmlData.attribute("Pro1"); // correct But if i try the code: xmlDat

  • Web-Fotogalerie, defekte Galeriestile

    Hallo Leute, kann es sein das manche Galeriestile der Web-Fotogalerie in PSE3 nicht richtig funktionieren? Bei mir werden bei einigen Stilen keine Bildtitel + Datum angezeigt, trotz das die Häckchen gesetzt sind. Liegt dies an den Vorlagen oder hat m

  • SCEP: failed to open signed data

    Hi, I am trying to create a solution what would consist the following: Avaya hard phones would vpn into the corporate network. Vpn authentication would be based on certificates. As I getting into the implementation I found out that one of the key poi

  • Flush is not c

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for Linux: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production every two or three da