Oracle Alert - Last Checked Date

Hi
on R11i
The Oracle user guide states "In the Last Checked field, Oracle Alert displays the last date that this exception condition was checked, if it has been checked.
I have a few Qs:
1. Is the Last Checked date field only updated if a scheduled (e.g. set to run every day) periodic alert is successfully run?
2. Will it be updated if the alert runs successfully but does not send email as no data meets the alert condition?
3. It appears to me that this field is not updated if a periodic alert with frequency of On Demand is run manually by clicking the Run button. Is this correct?
4. If 3 is correct, is there anyway of finding out when an On Demand alert was run and by who? If not via the apps then a script.
thanks for any help
Sean

I am using :DATE_LAST_CHECKED in the SQL statement in Oracle Alert Manager while creating an alert. I was wondering how the :DATE_LAST_CHECKED gets populated during runtime.
Thanks,
Naveen

Similar Messages

  • Last Import Date Report

    Hiya. I have several tables that are appended to (some daily, some weekly) via data workshop (HTML-DB 1.6.1/10g). The tables contain standard data (computer generated alerts, security scan results, &c.) and do not implement TS (because, frankly, I can't figure it out yet). I'd like to create a small report on the main page of my app that lists specified tables (T1, T2, T3) and reports-back the last time they were appended to so I can quickly see if they are up-to-date (e.g. "T1, 05/25/2005 13:35).
    Would someone mind pointing me in the right direction? Thanks!

    My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
    John Dickey
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM

  • Last Transaction Date Report

    hi
    I'm trying to run a report in order to audit our database of suppliers (over 1000) (supplier records managed in symmetry)
    I need to see against every supplier the last date that we paid them so that I can identify the ones not used in the last 2yrs and disable them.
    the closest report I'm getting is one that shows every payment date for every supplier and is so large that I'm running out of space in excel when exporting the report.
    Any advice on what items to select and parameters to set in order to get this report would be much appreciated!!!!!

    My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
    John Dickey
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM

  • Voice Memos older than last Sync date not copying from iPhone to PC after sync, even though "Include voice memos" is checked

    I am trying to copy over my voice memos from my iPhone to my PC. I have "Include voice memos" checked under the Music tab.
    I had an issue with voice memos being duplicated on my iPhone after a sync (I got two versions of each memo on my phone for some reason), so after deleting the extra copies on my phone I deleted all voice memos from within iTunes and chose the option to move the files to the Recycle Bin. So the Music\iTunes\Itunes Music\Voice Memos folder is empty, and there are no voice memos showing up in iTunes.
    But now when I sync, it isn't copying over the older memos that are on my iPhone to my computer. If I record a new voice memo then that memo transfers successfully, but any voice memos with a recording date older than my last sync date do not transfer.
    How can I get these older voice memos (with dates older than my last sync date) transferred over from my phone onto my PC?

    Does anyone know of a way that I can access the voice memos with dates older than my last sync date...?

  • To find last run date of custom concurrent program in oracle apps

    Hello Exports,
    Can you pls tell me how to find last run date of custom concurrent program in oracle apps.( thr Backend query )
    Thanks in advance,
    Edited by: 981527 on Mar 7, 2013 3:01 AM

    try the below:
    select fcp.user_concurrent_program_name
    ,fcr.request_date
    ,fu.user_name
    ,fcr.actual_start_date
    ,fcr.actual_completion_date
    ,fcr.phase_code
    ,fcr.status_code
    ,fcr.argument1
    ,fcr.argument2
    ,fcr.argument3
    from fnd_concurrent_programs_vl fcp
    ,fnd_concurrent_requests fcr
    ,fnd_user fu
    where fcp.user_concurrent_program_name like 'Payroll Run'
    and fcp.concurrent_program_id = fcr.concurrent_program_id
    and fcr.requested_by = fu.user_id
    order by fcr.actual_completion_date desc

  • How to check the last receiveing date of a specific material

    Dear Experts,
    I want to check the last receiving date of an specific material.  Is there any standard t.code ?
    Mov.Type 101, 103.
    Thanks in advance.
    Dinesh

    Hi,
    Transaction code MB51 used to list out the posting date of GR received material document number, date and quantity.
    This report is basically used for list out all the material document based on sort out of posting date, movement type (101 ,103 etc).
    There you can easily find it the posting date of the GR receiving.
    MC.A is the Analysis report which is used for analysis of Material total Goods receiving and goods issues -basic list.
    - I suggest to use report MB51 - based on receiving movement 101, transfer 301,311 etc or issues movement 201 posting date.
    Thanks and Regards,
    Thiru

  • Last Accessed Date of Tables (including SELECT) for Oracle 8 DB clean-up

    Hi all,
    I am assigned the task of listing out tables in a large database which are not used anymore. Is there a way by which we can find the last accessed date of the tables (including SELECT access) so that it would ease my task of finding out used tables?
    Your comments on LogMining for Oracle 8.0 and AUDIT on Production DB are welcome
    Many Thanks,
    Ravi

    Hi all,
    I am assigned the task of listing out tables in a large database which are not used anymore. Is there a way by which we can find the last accessed date of the tables (including SELECT access) so that it would ease my task of finding out used tables?
    Your comments on LogMining for Oracle 8.0 and AUDIT on Production DB are welcome
    Many Thanks,
    Ravi

  • How to get the last run date.

    We intend to develop an incremental data load mapping using this strategy:
    1) The mapping reads the date it was last run from an auxiliary table.
    2) It selects from the source only those rows that were inserted or updated after said date.
    3) Then, a post-mapping process updates the last run date in the auxiliary table, using SYSDATE.
    The problem with this logic is that there is a gap: if the mapping starts running at 1:00 and ends at 2:00, the rows that are inserted in between will never be loaded.
    Is there any way to get the value when the mapping started running? Is there a better way to do this?
    Any help would be appreciated.
    Juan Algaba

    There is always the possibility of some record updates slipping through the crack if you are depending on dates unless you are very carefull. All of the audit tasks that the OWB-generate code performes take time. Any pre- or post- process that needs to run takes time. So which date is the best cuttoff point to equate to "when the last run of the merge (or insert or update) statement completed"?
    Plus, how do you handle reloads if the previous load failed and your mapping had incremental commits?
    Is your source on another server? If so, are the dates in perfect synch? The audit tables populate with sysdate of your runtime schema. Is that the same as the sysdate on your source remote database?
    I would qualify my query to look for all updates since the start of the last run that finished successfully - adjusted if neccesary for sysdate differences if it is on a remote schema. And make sure that your code handles any reloads gracefully in the event that this brings back data that you have already loaded once. .
    Because we use Oracle Streams to load a local staging area, we also have custom code to dump the primary keys of all data changes to utility staging tables while streams is updating the local copy. So, our Person table has an st_Person_delta table that just holds the primary keys that have been updated by Streams since the last ETL run.
    During datamart load we disable the streams apply to stabilize our environment, and join these lists of pk's to their source tables to drive our ETL. So we only select data where Streams has performed an update to the row since our last run. When we are done our ETL, we truncate the primary key staging tables, and then turn streams back on to start loading up our new delta into our staging tables again..
    The ETL gets pretty complex though when many tables join together in one mapping and you need to check all possible source table deltas to see if any of them got updated to determine the delta for a given dimension or fact record, but it works great once you get it all done.

  • Upload text file to oracle table with checking and aggregation

    Hi Friends,
    I am new to ODI.  I have encountered a problem which is specific to ODI 11G (11.1.1.6.3) to upload text file to oracle table with checking and aggregation.  Would you please teach me how to implement the following requirement in ODI 11G?
    Input text file a:
    staffCode, staffCat, status, data
    input text file b:
    staffCodeStart, staffCodeEnd, staffCat
    temp output oracle table c:
    staffCat, data
    output oracle table d:
    staffCat, data
    order:
    a.staffCode, a.staffCat, a.status
    filter:
    a.status = ‘active’
    join:
    a left outerjoin b on a.staffCode between b.staffCodeStart and b.staffCodeEnd
    insert temp table c:
    c.staffCat = if b.staffCat is not null then b.staffCat else a.staffCat
    c.data = a.data
    insert table d:
    if c.staffCat between 99 and 1000 then d.staffCat = c.staffCat, d.data = sum(c.data)
    else d.staffCat = c.staffCat, d.data = LAST(c.data)
    Any help on fixing this is highly appreciated. Thanks!!
    Thanks,
    Chris

    Dear Santy,
    Many thanks for your prompt reply.  May I have more information about the LAST or SUM step?
    I was successful to create and run the following interfaces p and q
    1. Drag text file a to a newly created interface panel p
    2. Filter text file a : a.status = ‘active’
    3. Lookup text file a to text file b : a.staffCode between b.staffCodeStart and b.staffCodeEnd
    4. Drag oracle temp table c to interface panel p
    5. Set c.staffCat : CASE WHEN b.staffCat IS NULL THEN a.staffCat ELSE b.staffCat END
    6. Set c.data : a.data
    7. Drag oracle temp table c to a newly created interface panel q
    8. Drag oracle table d to interface panel q
    9. Set UK to d.staffCat
    10. Set Distinct Rows to table d
    11. Set d.staffCat = c.staffCat
    12. Set d.data = SUM(c.data)
    However, the interface q should be more than that:
    If c.staffCat is between 99 and 1000, then d.data = the last record c.data; else d.data = sum(c.data)
    Would you please teach me how to do the LAST or SUM steps?  Moreover, can interface p and interface q be combined to one interface and do not use the temp table c?  Millions thanks!
    Regards,
    Chris

  • Run a PL/SQL statement in an Oracle Alert action?

    Hello
    did anyone know is it possible to run a PL/SQL statement in an Oracle Alert action?
    I can run an SQL like “UPDATE Table SET alert_run = 'ok' where id = 10;” but if I run instead of this the following
    “Select XXKN_TEST.UPDATE_XXX_TEST('&USER_NAME') From dual;”
    I get the following error log:
    Alert: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ALECDC module: Check Periodic Alert
    PL/SQL procedure successfully completed.
    XXKN_TEST.UPDATE_XXX_TEST('GROSS2')
    ERROR at line 2:
    ORA-00904: "XXKN_TEST"."UPDATE_XXX_TEST": invalid identifier
    APP-ALR-04020: Oracle Alert was unable to execute "&VALUE". Check that this file exists and that its read protection is set correctly.
    Many thanks for your help,
    Alois

    Hello Suresh,
    I tried your suggestion but it doesn't work.
    The PL/SQL procedure was successfully completed but no data was modified.
    Are you sure that running a PL/SQL is possible in an alert action?
    Kind Regards,
    Alois

  • Oracle Alert Configuration in 11i

    Hi Hussein:
    I am trying to configure oracle alerts for my application ( Test ) following article
    How To Check Oracle Alert Setup? [ID 577392.1]
    But when I run the query in the third step , I am not getting the two rows that is expected.
    3) Login into SQL*Plus as the 'APPS' user and run the following SQL.
    select object_name, status from user_objects
    where object_type = 'TRIGGER'
    and object_name like 'ALR_FND_PROFILE_OPTIONS%';
    Do I have to run any scripts to get this triggers created? I am kind of last.
    I went through the whole document and changed a user profile so I can check if the alerts is working. Nothing came out , Not an email or even a printout.
    Regards,
    Bala

    Hi Bala,
    Please run the test in (Note: 271367.1 - Oracle Alert Alert Check Setup Test) and see if it returns any error/warning messages.
    If you are on 11i and you have RUP4 patch installed (or above), then you need to consider having Workflow configured.
    Please see these documents/threads for details.
    Note: 422782.1 - Changes Introduced in Alerts Post RUP4 and its Impact
    Note: 428193.1 - How to determine what email system is being utilized for Oracle Alert processing?
    Oracle Alert and WF mailer
    Oracle Alert and WF mailer
    Regards,
    Hussein

  • Issue with Oracle Alerts after a recent chagne

    Hi,
    We use Oracle Alerts to send remainder emails regarding pending notifications. And we have configured these alerts to be run on specific dates of a month like 12th and 15th. For fixing any issues, we do the changes on our dev/test instance and extract them to an LDT and get them tested on QA instance and then move it to Production instance.
    We have made a recent change to couple of the alerts which were supposed to be run on every 12th and 15th day of a calendar month, but after the changes they are run daily.
    Following are the changes:
    LDT extract before change:
    BEGIN ALR_ALERTS "XBOL" "BAC OTL India Payroll Reminders to Managers on 12"
    OWNER = "05132"
    ALERT_CONDITION_TYPE = "P"
    ENABLED_FLAG = "Y"
    START_DATE_ACTIVE = "2009/08/13 00:00:00"
    DESCRIPTION = "Payroll Reminders to Managers on 12th of month"
    FREQUENCY_TYPE = "M"
    MONTHLY_CHECK_DAY_NUM = "12"
    DATE_LAST_CHECKED = "2010/02/22 05:12:08"
    MAINTAIN_HISTORY_DAYS = "5"
    CHECK_START_TIME = "48600"
    SQL_STATEMENT_TEXT =
    "SELECT\n\
    LDT extract after change:
    BEGIN ALR_ALERTS "XBOL" "BAC OTL India Payroll Reminders to Managers on 12"
    OWNER = "021Y3"
    ALERT_CONDITION_TYPE = "P"
    ENABLED_FLAG = "Y"
    START_DATE_ACTIVE = "2009/08/13 00:00:00"
    DESCRIPTION = "Payroll Reminders to Managers on 12th of month"
    FREQUENCY_TYPE = "M"
    MONTHLY_CHECK_DAY_NUM = "12"
    DATE_LAST_CHECKED = "2010/02/22 05:12:08"
    MAINTAIN_HISTORY_DAYS = "30"
    CHECK_START_TIME = "0"
    SQL_STATEMENT_TEXT =
    "select\n\
    From the above, you can see nothing apart from MAINTAIN_HISTORY_DAYS & CHECK_START_TIME and the SQL query has been changed. Still the frequence type is M(monthly) and day to run is 12th. But still its being run daily.
    Can you please let me know why changing history days and check start time is impacting the alert behavior over here. Is this expected behavior ?
    Is it due to the date_last_checked being in 2010 ? If so, why the same behavior wasn't observed before change/fix ?
    Regards,
    Pramod.

    Thanks for your response Gaurav. Reviewed the pointed out metalink note id's and they were very helpful.
    The NEXT_SCHEDULED_CHECK in alr_periodic_alerts_view is set to 'T' for these two alerts which means it will be picked up by the next Periodic Scheduler run and hence it picked up. That clarifies the issue.
    But this behavior was experienced only after the recent change, and with the past changes to these alerts, it used to get fired only on the scheduled date(like 12th in this case) and even at that times the NEXT_SCHEDULED_CHECK was set to 'T'.
    The only extra modification this time was CHECK_START_TIME which was changed from 48600 to 0.
    I was able to investigate further on this and when I set this back to 48600 and take date_last_checked back in time for this alert, it was not getting fired/run in the next time. Its running on the scheduled date only.
    Appreciate any explanation on this ?

  • Oracle alerts in correction mode

    Hello every one,
    Is there any way to enable an oracle alert when HR enters information using Correction mode? We want to track who is correcting the information of an employee. Based on last update date and last update by we can not do since it will be updated in both update\correction mode.We want to track only correction mode changes.
    Thanks.

    Hi User;
    What is your EBS and OS?I belive you can try to control it via using trigger.
    Please see:
    http://apps2fusion.com/apps/oracle-hrms/15-oracle-hrms/204-triggers-in-oracle-hrms-and-payroll
    Also see:
    http://oracle.anilpassi.com/date-tracking-in-hrms-payroll-in-oracle.html
    Regard
    Helios

  • What’s up with “Last Backup” date?

    I have a 10g database running on Redhat and I can never get the Last Backup date to change. I was set by the Oracle default backup and has not changed yet. As you can see the data is 4/17/04.
    High Availability
    Instance Recovery Time (seconds) 12
    Last Backup Apr 17, 2004 2:07:53 AM
    Archiving Enabled
    Problem Archive Areas 2
    Flashback Logging Disabled
    When I click on the date link this page shows a more current backup, I think? Any idea what is going on? Is my database backed up?
    Results
    Select All | Select None
    Select Key Tag Completion Time Contents Device Type Status Obsolete Keep Pieces
    249 TAG20050330T023107 Mar 30, 2005 2:31:10 AM SPFILE, CONTROLFILE DISK AVAILABLE NO NO 1
    248 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:30:53 AM ARCHIVED LOG DISK AVAILABLE NO NO 1
    244 BACKUP_MAIN.ARGUSR_033005021640 Mar 30, 2005 2:23:15 AM DATAFILE DISK AVAILABLE NO NO 1

    Fraid so .. there are way too many weird things and gotchas with this product.
    At this point I would delete the database from oem.
    Go into targets, select the db click remove.
    After about 10 minutes (or check the Management tab, overview .. verify the deletion was complete.
    Go back to the agent tab, click Go to the database prompt for it to rediscover the database.

  • Send an email as attachement through oracle Alerts

    Hello Experts,
    I am oracle technical consultant , from last week i m searching for the oracle alerts i got some topics but that didnt help me. So i raise this thread to OTN.
    What my requirement is i want to automate the proccess of running an PO report and send across to corresponding vendor to email id as an attachment.
    as per my knowledge i have to do the following things,
    1. Creation of procedure, for identification of Purchase order on perticular day and also if the status of the concurrent program is competed then we have to send the report as an attachment.
    2. Register the procedure as a concurrent program and schedule everyday..that i can do from oracle alerts
    I dont know what code should i write in the procedure.
    My oracle application version in 11.5.10 and database version is 10g.
    Thanks,
    Atul
    Edited by: Atul on Jul 6, 2011 2:44 PM

    Hi Atul;
    Please check below:
    concurrent ouput to email
    concurrent ouput to email
    Hope it helps
    Regard
    Helios

Maybe you are looking for

  • How can I transfer my iTunes from one laptop to another?

    Is it possible to transfer iTunes from one laptop to another?

  • Question about user creation.

    So I've created using the Wiki article https://wiki.archlinux.org/index.php/Users_and_groups here. I've created a user and gave it a password and added to the wheel, and it works fine. I can login and it starts X and everything, however there is no f

  • How to generate 10K invoices per day ?

    Dear All, My quary How are you doing then 10K invoice pre day in SAP , and how you maintain the system responce time I am working in a telcom company and every day we are generatirg moer then 10K invoice for handset and vouchers which contains 500K o

  • How do you calculate a field

    Hi all, I would really appreciate some help as I do not know programing, java script or other programming languages.  I need to have a field calculate for me. The form has date of birth. Then I need the next field, (a text field) calculate the age on

  • Missing the end of DVR shows

    Very frustrating issue here.  Seems probably 80-90% of everything we DVR on 2 different units typically has the last 10-20sec cut off.  I realize this can happen from time to time because of a mis-match between broadcast schedules and actual show tim