Issues with dates not storing correctly on a data entry screen

We are using Application Express 3.0.1.00.08
I have a table which I have written a data entry screen for, the user enters most of the fields on theentry screen, howevere there are some fields that I would like to populate when a biutton is pressed e.g last_updated_date and creation_date.
I have a on submit after computations and validation process with the following code to set the last updated date:
begin
:P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
end;
I am setting the creation date at the same time as getting the primary key as follows:
declare
function get_pk return varchar2
is
begin
for c1 in (select XX_SVS_SEQ.nextval next_val
from dual)
loop
return c1.next_val;
end loop;
end;
begin
:P1_ID := get_pk;
:P1_CREATION_DATE := sysdate;
:P1_CREATED_BY := :F380_OSS_USER_ID;
end;
However the dates are being written to the database incorrectly they are being written with a year 0009 instead of 2009.
Does anyone know how I can get hidden dates in a data entry form to write correctly to the database.
Regards
Kay

It could be done as a database trigger but surely APEX should be capable of saving the correct date format of an item.
Since my original post I have managed to get the dates stored with the correct year in the hidden fileds by doing the following in my process:
:P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
however for some reason the date is being stored with the correct year now as 2009 , but the time element is not being stored any ideas?

Similar Messages

  • Having issues with itunes not syncing correctly

    ive been running into issues of itunes not wanting to sync my movies.When i try to sync movies, all of my music i imported from cds or files that were not purchased off of itunes gets deleted off of my phone.Im running itunes 12,and ios 8 on my 5s.Been happening alot recently and its frustrating!!!!! Ive tried managing my music and movies and that doesnt help out at all.Im having to download movies from icloud from my phone which at times is hard due to the lack of reliable wifi.Any help or ideas would be greatly appreciated

    as rediculous as this is, I enabled "all mail" under the labels, then went into the actual apple mail settings and checked some box about updateing immediately (for deleted items) . then I had to quit mail then open it back up  - it "appears" to have synced properly. I'll let you know if it all comes back, but this is really a pain in the butt, I swapped from Entourage a few months back because it started acting weird with gmail.
    anyone have any other mail options if this continues to not work? I don't want to have to pull gmail in my browser to move read items each day.
    thanks for all the help.

  • Issues with exchange not working correctly

    When I try to setup exchange on my phone it gives a error cannot find server

    Nothing wrong with the account. It works fine for a solid week then just craps out, i.e., contacts and calendar freeze up, and the email wont show up. I've tried deleting and seeing if the freeze/no email issues persists and so far, the phone works fine. That leads me to believe it's the exchange that is the problem.

  • I have been having syncing issues with icloud notes, contacts, and now icloud email. Does anyone have suggestions?

    Just recently, I have been unable to receive icloud email on my iphone and new ipad3. Although, I am a loyal apple consumer, I feel a bit let down. I am a PhD student and used my ipad/icloud email for downloading  and reading PDF journal  articles. My goal is to eventally buy a MacBook Pro and eliminate some of the syncing issues with icloud by storing my documents on the hard drive. I hope this will give me some relief from all the trouble I have had with icloud. Please share your suggestions.

    Right now, there is an iCloud blackout.  Most people are having issues syncing Notes, Calenders, and Contacts between devices, emails aren't being sent, and Find My iPhone isn't working.

  • Issue with Calendar not syncing with iPhone 3g

    Issue with Calendar not syncing with iPhone 3g.
    Solution
    Create backup of your entire mailbox before starting (THIS IS IMPORTANT)
    Create offline folder (.pst file) Check windows help on how to do this for your version.
    Open folders view on Outlook
    Right click on Calendar in tree view and 'copy to' offline .pst folder
    Go back to main calendar view and delete all entries in your calendar.
    Create simple cal entry and sync test with iphone
    If this works then start dragging cal entries back from the offline folder into the main calendar then sync after each step....
    I moved events in this order
    -Yearly recurrences (ie Birthdays)
    - Monthly recurrences
    - weekly recurrences
    - Daily recurrences
    All appointments from the beginning of this year >> to the end of time!
    If all these sync then the issue is with an older cal item and you have to decide if you actually need these in you current calendar.
    I chose to leave these in the offline cal and if i need access them from there.
    If at any point the sync fails then you know you have a corrupt cal entry in the block you just transferred. Move the offending items back into the offline folder and try again in smaller chunks until you identify the offending items and delete them and manually recreate them in your real calendar.
    Also smart to run the inbox (.pst /.ost ) repair tools for your OS/Outlook version.
    Fixed so far
    XP Pro / Outlook 2008
    XP Pro /Outlook 2003

    I just updated the firmware to iPhone 2.0.1 and the syncing works great both ways.

  • When is the next ios update and will it fix/address the issue with photos not being shown in chronilogical order?

    when is the next ios update and will it fix/address the issue with photos not being shown in chronological order?

    All of us here are users just like you. We have no inside info of when Apple products or operating system updates/upgrades will be released. The next iOS may not even change the issue you have.
     Cheers, Tom

  • Updated iphone 5 to iOS 6.1.3, now trouble with keyboard not responding correctly and screen zooming in by itself...

    updated iphone 5 to iOS 6.1.3, now I am having trouble with keyboard not responding correctly and screen zooming in by itself...
    Buttons pressing themself...
    Also, my main screen is permanently zoomed in...
    suggestions?

    Double tap the screen with THREE fingers, that should get it back to normal again.
    Then go into Settings > General > Accessibility > Zoom > OFF.
    Not too sure about the keyboard and random button presses though.  Back it up and restore from iTunes, see if that fixes it.

  • How do I fix issue with computer not authorized yet when authorized it indicated already authorized?

    How do I fix issue with computer not authorized yet when I go to I-Tunes to authorized it indicated already authorized?

    I updated to iOS 5.0.1 days ago and didn't receive that notification until just now...
    This time I synced new photos I took yesterday, and it gave me the:
    "iTunes Sync: 54 items could not be synced. See iTunes for more information"
    Perhaps it kicks off when new items get synced.
    I've decided to rent a movie yesterday. Once it gets deleted, I'm curious to see if it jumps to 55 items.

  • I'm often having issues with clients not seeing or being able to open attachments, font formatting changes (on the pc end) and the inability to use HTML signatures to promote our company brand.

    I'm often having issues with clients not seeing or being able to open attachments, font formatting changes (on the pc end) and the inability to use HTML signatures to promote our company brand.

    I imagine your clients must be using Outlook, which is seriously broken when it comes to e-mail standards, especially HTML e-mail. You can work around the issues with Outlook by only sending plain-text e-mails and making sure that, in the Edit -> Attachments menu, the last two options are checked. Unfortunately, that means that HTML signatures are out.
    If you need something with a fancy layout, either attach a PDF file to the e-mail or include a link to a website in the e-mail.

  • Issue with Home Address and Phone of ESS(data not getting saved)

    Hi Everyone,
    We have a issue with ESS HomeAddress and Phone.  when we edit and save data, its showing a message that data is saved.  but the data is not getting updated in the backend and the view also is showing old data only.  Pleas help us, if anyone came across this type of issue.
    Thanks & Regards,
    Ravi

    Please check the fields you are editing are not marked as unused in
    V_T588M
    V_T588MFPROPS
    V_T588MFPROPC
    Best wishes
    Stuart

  • Data not storing in Custom infotype build with tab strips

    Hi All,
    I have created one custom infotype 9030,
    With screen 2000.
    which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database.
    where I am doing wrong...please let me know what should be done in this case.
    Regards
    Satish.v

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • Wifi issues with iphone not responding

    Phone: iPhone 4s.
    This issue started approximately two weeks ago. My phone initially started with the Wifi connection greyed out, I followed the appropriate steps to resolve this issue, and was successful. Now I can turn the wifi connection on without problems, but my iPhone will freeze (delay), then return me to my homescreen. Occasionally I do automatically connect to my known wifi, but then will disconnect and return to 3G. If I make an attempt to go to settings to manually reconnect, the phone again freezes. The phone seems to freeze after I click settings, then when pressing Wi-Fi, the bar turns dark bold, but freezes and doesn't open. I then have to click my home button, return to the main menu. Also if I open an app during the seldom opportunity my phone is connected to wifi, the phone will disconnect, return to 3G and freeze. I have rebooted my routers, forgot networks, reset network settings. I have thought about resetting the entire phone, but my phone will not stay connected to wifi long enough for me to back up my data to iCloud. I am thinking of stopping into my local verizon store, but I think they will redirect me to an apple store; which is 35 miles away. Of course the problem with me not connecting to Wi-Fi is my increased use of data. Now I am over 75% for my monthly usage with 2 weeks remaining, and do not see justification in possibly having to pay the overage fee. Many times when my phone freezes due to these wifi issues, or will not respond, I have to do the manual power/home reset. In conclusion, I need to figure out how to maintain my connection to Wi-fi, and stop my phone from not responding when I open my wifi settings. Thanks in advance!

    My Iphone 4S is doing the same thing..  All of a sudden the WIFI button is gray and not working.  I chatted online with a Rep.  He had me call *228 and hit option 1, then call again and hit option 2.  All of a sudden the WIFI button was black.  But it could not find any network.  I shut it off and restarted it and now button gray again.  I called that number again and still gray.  I read somewhere else that a lot of people have a problem with the WIFI button.  They say it basically just stops working.  This was a replacement phone because the volume stopped working on my original phone.  I assume they gave me a refurbished one because it didn't seem new.   I'm due an upgrade in 3 months.   I'm disabled and just hate driving to the store again.  I wish there was an easier way. 

  • An issue with multiple checkboxes displaying correctly.

    My company is converting our website to seam. We obviously have a number of existing pages we must convert and at least try to mimic the previous code. The page I'm currently working on is a catalog request form(see: http://www.perma-bound.com/CatalogRequestForm). I'm totally new to jsf's to an extent. I've done some coding in it while we shift to this but I'm far from an expert. I've been able to get the bean and all the code that interacts with the database to work correctly. My issue is that it's seemingly impossible to style selectManyCheckbox's in a manner similar to that page. When we were using standard html, it wasn't an issue because you could put <input>'s wherever you wanted. In the case of selectManyCheckbox's, they insert a table into the code which seemingly isn't alterable. Here's the snippet in question
    <h:form>
         <h:selectManyCheckbox layout="pageDirection" value="#{ catalogRequestAction.catalogs }">
              <f:selectItem itemLabel="Perma-Picks - Grades PreK-12" itemValue="#{ catalogs[ 455164 ] }"/>
              <f:selectItem itemLabel="Graphic Novels - Grades 2-12" itemValue="#{ catalogs[ 455013 ] }"/>
              <f:selectItem itemLabel="Social Studies - Grades PreK-12" itemValue="#{ catalogs[ 455159 ] }"/>
              <f:selectItem itemLabel="References - Grades PreK-12" itemValue="#{ catalogs[ 455669 ] }"/>
              <f:selectItem itemLabel="High/Low - Grades 2-12" itemValue="#{ catalogs[ 455884 ] }"/>
              <f:selectItem itemLabel="Science & Math" itemValue="#{ catalogs[ 455160 ] }"/>
              <f:selectItem itemLabel="Fiction - Grades PreK-12" itemValue="#{ catalogs[ 455056 ] }"/>
              <f:selectItem itemLabel="Curriculum - Grades PreK-6" itemValue="#{ catalogs[ 455491 ] }"/>
              <f:selectItem itemLabel="English Curriculum - Grades 6-12" itemValue="#{ catalogs[ 455201 ] }"/>
              <f:selectItem itemLabel="Spanish - Grades 7-12" itemValue="#{ catalogs[ 455266 ] }"/>
              <f:selectItem itemLabel="College Prep - Grades 7-12" itemValue="#{ catalogs[ 455018 ] }"/>
              <s:convertEntity/>
         </h:selectManyCheckbox>
         <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
              <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-primary" value="Submit" action="#{ catalogRequestAction.requestCatalogs }"/>
              <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-secondary" value="Reset" action="reset"/>
         </div>
    </h:form>That code generates this page(http://img299.imageshack.us/img299/6550/82163381.png). As I said before, the actual selection of the boxes will yield the appropriate catalog in the database. However, I seemingly can't figure out how to stylize this in a manner that will work. From my understanding, jsf has access to 2 sets of check boxes(the ones I used and the booleans). I'm more than willing to try alternate code. However, after hours of searching online I've found few if any examples that are doing something similar to what I'm trying to do. I have to imagine that there is some other way to do this because in normal html it is simple. But, I'm just not having any luck.
    Edit: Oh and if it matters we're using Mojarra
    Edited by: beckdawg on May 18, 2009 2:19 PM

    I believe this is IE 9.  Whatever the latest is.  It basically stacks all the images on top of each other.  And after some changes I attempted last night, bevel effect is still on some images after I attempted to remove that effect.  This is an issue in all the browsers.
    http://http://jclementdesign.businesscatalyst.com/graphic-design1.html
    This is a link to my portfolio page of my website.  This is an issue with all the lightboxes.
    Thanks for the help.

  • Issue with Crystal Report based on 2 different data sources

    Hi there,
    I am having a frustrating problem with a report I've designed and I'm hoping someone might be able to assist please.
    The report has 3 different prompts, each of which is based on a dynamic list of values retrieved via views within a SQL server db.
    We are wanting to introduce the use of Universes as much as possible, so the data returned is based off a BO Universe data source query.
    I have uploaded the report into BO and have provided the necessary database logon information for the report (in the "Process" > "Database" settings in the CMC) for both the direct db datasource connection (for the views) and the BO Universe query connection.
    When the report is run however, the report still prompts for the database user name & password credentials. I have triple checked my db connection settings, and also have "Use same database logon as when report is run" set to true. I also tested a cut-down version of the report without the Universe connection with the same db logon credentials I provided and there was no credentials prompt when it was run, proving those values are accepted.
    Does anyone know why this is happening & if there is a way around it? Alternatively, is there some way that a report prompt may be based on a dynamic list of values retrieved via a Universe connection? This way I'd be able to remove the db connection for the views and have the report solely based on the Universe.
    Another issue that occurs is out of the 3 prompts, a user can select a User Name OR Number, and also must select a Period. However if the User Name or Number is left blank the message "The value is not valid" is shown. So I tried a cut-down version of the report with only the BO Universe as a data source (static prompts) and this didn't occur, i.e. I was allowed to leave either the User Name or Number empty.
    I hope this all of makes sense - let me know if not. If anyone is able to help out with any of this it would be very much appreciated.
    Cheers,
    Marco

    Please re-post if this is still an issue to the Business Objects Forum or purchase a case and have a dedicated support engineer work with you directly

  • Exchange 2013 CU5 fresh install suffering issues with services not starting and coexistence with 2007

    Hi everyone,
    Hope you can help me out on a couple of issues I've been experiencing during the initial stages of a project to upgrade an on premise Exchange 2007 to 2013.
    On Monday last week I installed the first Exchange 2013 server into the network after a few weeks of careful planning, information gathering and remediation of our current Exchange 2007 environment and associated systems.
    The server itself has been having some issues from the word go, some of which I've resolved but none that are show stoppers but I want to get them resolved before building more servers and setting up the planned 2 x 2 node DAG's
    The main problems are as follows:
    There's usually one service that does not start following an OS restart and it's not always the same service. So far I've seen the following not start: DAG Management, Migration Workflow, Anti-spam Update, Unified Messaging, UM Call Router, Transport
    Service.
    The critical system event log entries are complaining of timeouts when the services are starting up but I can't imagine that the servers boot time is too long...  It's a 2 vCPU/12Gb vRAM VM, Windows 2012 R2
    I receive an error in the Event Log regarding RPC over HTTP Proxy
    to one of the 2007 CAS servers (not our primary one). The first error was because the Windows Component was missing but since installing it, disabling Outlook Anywhere, reenabling it, restarting the server, I now have a new error which is shown further down
    this post
    The Exchange 2013 server install is pretty default, CAS/MBX roles and some basic configuration performed such as new DNS entries, Public SSL certs installed and assigned, URL's updates, SCP updated. I have review and resolved some errors from the event logs
    for over chatty warnings about disk space (the warning is that we have loads of space...)
    This is a brief outline of the environment:
    Exchange 2007 SP3 RU13
    UK - Two physical locations in a stretch LAN (100Mb WAN)
    4 x CCR Cluster Mailbox Servers in two separate CCR Clusters
    Cluster 1 - Windows 2003 R2: One physical, one virtual server - don't ask, legacy install and I know the virtual is not a supported configuration.
    Cluster 2 - Windows 2008 R2: Two virtuals - New cluster built following a 4 day failure of Cluster 1. The aim was to move to supported config and decommission cluster 1.
    Note: Migration of Cluster 1 to Cluster 2 was halted as 2013 was so close it seemed pointless to continue the migration and instead migrate both Clusters to 2013 once in production.
    2 x Virtual Windows 2003 R2 - Hub Transport Servers
    2 x Virtual Windows 2003 R2 - Client Access Servers
    1 x Virtual Windows 2003 R2 - Unified Messaging Server
    1 x Virtual Windows 2003 R2 - Edge Transport Server (DMZ)
    US - One physical location
    1 x Physical Windows 2008 R2 - Mailbox, Client Access, Hub Transport Server
    Exchange 2013 CU5
    UK - Installed into same site along side Exchange 2007 servers
    1 x Virtual Windows 2012 R2 - Mailbox, Client Access Server
    Problem 2 Error Message - Please note, server names and domain name changed:
    Log Name:      Application
    Source:        MSExchange Front End HTTP Proxy
    Date:          18/07/2014 10:00:37
    Event ID:      3005
    Task Category: Core
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      EXC2013.domain.local
    Description:
    [RpcHttp] Marking ClientAccess 2010 server EXC2007CAS1.domain.local (https://EXC2007CAS1.domain.local/rpc/rpcproxy.dll) as unhealthy due to exception: System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.HttpProxy.ProtocolPingStrategyBase.Ping(Uri url)
    Event Xml:
    <Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event>
      <System>
        <Provider Name="MSExchange Front End HTTP Proxy" />
        <EventID Qualifiers="32768">3005</EventID>
        <Level>3</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-07-18T09:00:37.000000000Z" />
        <EventRecordID>64832</EventRecordID>
        <Channel>Application</Channel>
        <Computer>EXC2013.domain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>RpcHttp</Data>
        <Data>EXC2007CAS1.domain.local</Data>
        <Data>https://EXC2007CAS1.domain.local/rpc/rpcproxy.dll</Data>
        <Data>System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.HttpProxy.ProtocolPingStrategyBase.Ping(Uri url)</Data>
      </EventData>
    </Event>

    Hi Off2work,
    I've gone through the article and the Get-OutlookAnywhere commandlet looks fine (especially when compared with our working CAS).
    Having looked through IIS I have spotted two additional misconfigurations with a missing setting to require SSL on the RPC folder and also the .NET version was not set.
    I've now set those to Require SSL and .NET 2.0.5072 however this has made no difference following restarted of both 2007 CAS and 2013 servers.
    I could potentially reinstall the CAS server or additionally decommission it as we have two of them and the other is not causing any errors with the 2013 server. This broken CAS server doesn't even have DNS records (except it's own hostname) or firewall
    rules pointing to it, nor does it have any active client connections if I check with a quick netstat -a
    As for UM, it's next on my list following some client/server connectivity testing so I have not yet assigned the SSL to the services or setup the dial plans, etc.
    The services do start most of the time, but others then don't so it's not a consistent issue with just this service. On my current boot, the DAG Management service failed to start, but again I don't have a DAG implemented yet.
    I will see if UM drops out of that list once I've configured it shortly
    Thanks for taking the time to respond (and that goes to DareDevil too)

Maybe you are looking for