Enable dynamic triggers

Hi, running a diagnostic report for a setup I am doing and it says the following dynamic triggers are not enabled (under the INCIDENT REGISTER). My question is, how do you enable a dynamic trigger. I searched in dba_objects and couldn't find any of these triggers so I'm just wondering how the process works. Thanks.
PER_APPRAISALS_ARU
PER_PERFORMANCE_REVIEWS_ARD
PER_PERFORMANCE_REVIEWS_ARI
PER_PERFORMANCE_REVIEWS_ARU
PER_PERIODS_OF_PLACEMENT_ARU

Dynamic trigger maintenance is performed thru a HRMS Super User responsibility (under Other Definitions --> Dynamic Triggers). These are "logical" triggers and not physical triggers in the classic database sense and therefore you do not find them in DBA_TRIGGERS.
Also see ML Doc 363676.1 (HRi Dynamic Triggers)
HTH
Srini

Similar Messages

  • Advantages of Dynamic Triggers

    Hello,
    Can somebody please tell me what are the advantages of using Dynamic triggers over Database Triggers.
    Regards,
    Gayatri

    Hello,
    I have created a Dynamic Trigger on Per_periods_of_service table. To get the client approval they need valid reasons for production approval.
    Can somebody help me in providing some valid reasons by which they will be convinced for using dynamic triggers over Database Triggers?
    It is a bit Urgent !
    Regards,
    Gayatri

  • Enable Dynamic Sorting in Tabular Report

    Hi All,
    I have 100's of reports and i need to enable dynamic sorting for the columns in tabular report.
    Just wanted to know which tag i need to put in advanced tab of the report where i can set the XML.
    Please guide

    Thanks Krishna..
    I have done that for one report and i want to do it for the remaining 99 reports.As i have to run each and every report and then enable dyamic sorting which is pain...so i was just thinking if there is any property in advanced tab of the tabular report where i can do it and then set the XML for the reports

  • Disable dynamic Triggers

    Hi All,
    We have a requirement to disable the dynamic triggers (HRMS Manager -> Other Definitions -> Dynamic Trigger Definition) prior to R12 upgrage. Is there any API available for this task? or any alternative way is there to disable these apart from manually disabling from front end.
    Thanks,
    Subhasish

    Dear Subhasish,
    Global Super HRMS Manager --> Other Definitions --> Action Parameters --> check the Default Group, vlause will appear magically
    Enter a new line for "Data Migrator Mode" and "Y"
    Hope this helps
    Regards
    Giuseppe

  • How to enable dynamic query in weblogic 7.0?

     

    Hi,
    The documentation explains how to enable dynamic queries and set a
    method-permission to control access. If you find the information at the
    following link insufficient, let me know.
    http://e-docs.bea.com/wls/docs70/ejb/cmp.html#1089703
    You enable dynamic queries in your weblogic-ejb-jar.xml file with the following:
    <enable-dynamic-queries>True</enable-dynamic-queries>
    You can set a method permission as follows:
    <security-role>
    <role-name>Admin</role-name>
    </security-role>
    <method-permission>
    <role-name> Admin </role-name>
    <method>
    <ejb-name> EmployeeEJB </ejb-name>
    <method-name> createQuery </method-name>
    </method>
    </method-permission>
    - Matt
    Sanjeev Chopra wrote:
    also posting to EJB newsgroup
    "CottonXu" <[email protected]> wrote in message
    news:[email protected]..
    How to enable dynamic query in weblogic 7.0? The documentation accompanieswith
    Bea doesn't explain it in detail. How to set <method-permission> inejb-jar.xml?
    Thanks in advance.

  • How to enable Dynamic Time Series?

    Hi expert,
    I tried to enabled Dynamic Time Series for an application, by go to Dimension Library, right click, select "Dynamic Time Series", then selected both YTD and QTD for generation 2 and 3 respectively, then refresh database.
    But found seems the DTS is not enabled, tried to use in in Smartview, but cannot retrieve anything. Is there any further steps I need to take to enable DTS? Please help!
    My HP application is on 11.1.2.1 and we use EPMA. Thanks!

    You should really only have to do what is documented at - http://docs.oracle.com/cd/E17236_01/epm.1112/epma_admin/epma_dts_members.html
    This may be useful as well in Oracle Support - "Clarification on the Generation Level when Setting up Dynamic Time Series (DTS: YTD, QTD,..) for Hyperion Planning [ID 1334732.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Enabling dynamic queries in wl7

    How do I enable dynamic queries in WL7. The info provide here is not very clear...like how/what to change in ejb-jar.xml http://e-docs.bea.com/wls/docs70/ejb/cmp.html#1089703

    Hi Minh,
    This is the second time I've answered this question in a week. I'll make sure the documentation gets clarified.
    You enable dynamic queries in your weblogic-ejb-jar.xml file with the following:
    <enable-dynamic-queries>True</enable-dynamic-queries>
    You can optionally set a method permission in ejb-jar.xml to control access to the feature. An example follows:
    <security-role>
    <role-name>Admin</role-name>
    </security-role>
    <method-permission>
    <role-name> Admin </role-name>
    <method>
    <ejb-name> EmployeeEJB </ejb-name>
    <method-name> createQuery </method-name>
    </method>
    </method-permission>
    - Matt
    Minh Cao wrote:
    How do I enable dynamic queries in WL7. The info provide here is not very clear...like how/what to change in ejb-jar.xml http://e-docs.bea.com/wls/docs70/ejb/cmp.html#1089703

  • Using "enable-dynamic-queries"

    Has any one used <enable-dynamic-queries>True</enable-dynamic-queries> in weblogic-ejb-jar.xml?
    If yes, where exactly do you specify that? As per the DTD, you do it in "<entity-descriptor>"
    element. I tried that but I can't deploy the application on wls 7.
    Any ideas what might be wrong?
    Also, does anyone know if I WLS 7 supports using WL extensions to EJB-QL for writing
    dynamic queries?
    Thanks for the help.

    Here's the relevant section of my weblogic-ejb-jar.xml
    <weblogic-enterprise-bean>
    <ejb-name>ABC</ejb-name>
    <entity-descriptor>
    <entity-cache>
    <concurrency-strategy>Exclusive</concurrency-strategy>
    </entity-cache>
    <persistence>
    <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <db-is-shared>false</db-is-shared>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    <enable-dynamic-queries>True</enable-dynamic-queries>
    </entity-descriptor>
    <local-jndi-name>ABC</local-jndi-name>
    </weblogic-enterprise-bean>
    Here's the stack trace for the error.
    ####<Jun 6, 2002 12:11:39 PM EDT> <Info> <HTTP> <MKDW> <myserver> <main> <kernel
    identity> <> <101202> <_appsdir_exploded_dir:web preparing>
    ####<Jun 6, 2002 12:11:40 PM EDT> <Error> <Deployer> <MKDW> <myserver> <main> <kernel
    identity> <> <149205> <The Slave Deployer failed to initialize the application appsdirexploded_dir
    due to error weblogic.management.ApplicationException: Prepare failed. Task Id =
    null
    Module Name: ejb, Error: The XML parser encountered an error in your deployment descriptor.
    Please ensure that your deployment descriptor corresponds to the format in the DTD.
    The error was:
    org.xml.sax.SAXParseException: Element type "enable-dynamic-queries" must be declared.
         at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1273)
         at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1889)
         at weblogic.apache.xerces.validators.common.XMLValidator.validateElementAndAttributes(XMLValidator.java:3714)
         at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1242)
         at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1186)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
         at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
         at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:133)
         at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjbJarLoader_WLS600.java:469)
         at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:252)
         at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:216)
         at weblogic.ejb20.dd.xml.DDUtils.processWLEjbJarXML(DDUtils.java:202)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:100)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:85)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:491)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:213)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:628)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:548)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:437)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:478)
         at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:252)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
         at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
         at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:762)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
         at weblogic.Server.main(Server.java:31)
    --------------- nested within: ------------------
    weblogic.xml.process.XMLParsingException: Element type "enable-dynamic-queries" must
    be declared. - with nested exception:
    [org.xml.sax.SAXParseException: Element type "enable-dynamic-queries" must be declared.]
    File: META-INF/weblogic-ejb-jar.xml Line: 211 Column: 37
         at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:137)
         at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjbJarLoader_WLS600.java:469)
         at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:252)
         at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:216)
         at weblogic.ejb20.dd.xml.DDUtils.processWLEjbJarXML(DDUtils.java:202)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:100)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:85)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:491)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:213)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:628)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:548)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:437)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:478)
         at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:252)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
         at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
         at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:762)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
         at weblogic.Server.main(Server.java:31)
    }.>

  • Need enable all triggers start eith 'EMP_'

    Hi ,
    i am looking for a single query to enable all of my triggeers start with trigger name'EMP_' insted of enable all triggers individually.any help??

    in pl/sql something like:
      begin
        for i in (select owner||'.'||trigger_name trg_name
                    from all_triggers where trigger_name like 'EMP_%' and status = 'DISABLED') loop
          execute immediate 'alter trigger '||i.trg_name ||' enable';
        end loop
      end;
    in sql spool the file then run the spool file.
      set verify off;
      set echo off;
      set fedback off;
      spool c:\sql\enabled_trigger.sql;
      select 'alter trigger '||owner||'.'||trigger_name||' enable;' from all_triggers
       where trigger_name like 'EMP_%' and status = 'DISABLED';
      spool off;
      set fedback on;
      set echo on;
      set verify on;

  • Enable "dynamic date calculation" variable type

    When saving reporting date/period in a report variant, we may use "dynamic date calculation" to specific date as selection parameter.  But the "Dynamic date calculation" is not visible in some ABAP reports - only "Table Variable from TVARVC"  type is available for selection. 
    For those reports that are missing that variable type, how can we enable the "Dynamic date calculation" variable type to be visible?

    Hi Paco:
    Yes, they are z-reports, both have the same almost everything, created by the same ABAPer, for the same application SD, just grouping the data differently.
    It seems a screen (#100?) is missing,  In the old version, it's screen 100 where to activate the "D" and "B" variable types.  Now it goes to screen 281.
    Stacy

  • Enable Dynamic Time series

    hi,
    I am trying to look for dynamic time series option in planning web and i m not able to locate it. I am on planning 9.2. .
    Can anybody let me know where can i enable it on web and if i need to enable it via essbase as well once i refresh the outline??
    Thanks!

    To add on to John's comments beginning in 9.3.1 you have the ability to set this up in EPMA as well. A caveat is you should make sure to rename your Year dimension Years and your Period dimension Periods as these begin to be reserved words with DTS enabled.
    Regards,
    John
    http://www.metavero.com

  • Enable all triggers/Recompile all procedures???

    Hi,
    I have a good number of triggers I want to enable and procedures/functions I want to recompile. I tried to create a cursor for it but got the error (please find below) apparently I'm missing something in my code...
    I wonder if it's possible at all?
    Please help)))
    Thanks a lot
    Marina
    Here is my code and error message:
    SQL> DECLARE
    2 TRIG_NAME VARCHAR2(40);
    3 FETCH_STATUS INTEGER;
    4 RC2_NAME INTEGER;
    5 ROWS_PRSD INTEGER;
    6 CURSOR RC1 IS SELECT OBJECT_NAME FROM ALL_OBJECTS
    7 WHERE OBJECT_TYPE ='TRIGGER' AND STATUS='INVALID';
    8 BEGIN
    9 OPEN RC1;
    10 FETCH RC1 INTO TRIG_NAME;
    11 IF RC1%NOTFOUND THEN
    12 FETCH_STATUS:=-1;
    13 ELSE
    14 FETCH_STATUS:=0;
    15 RC2_NAME:=DBMS_SQL.OPEN_CURSOR;
    16 END IF;
    17 WHILE FETCH_STATUS=0 LOOP
    18 DBMS_SQL.PARSE(RC2_NAME, 'ALTER TRIGGER :X ENABLE;', DBMS_SQL.NATIVE);
    19 DBMS_SQL.BIND_VARIABLE(RC2_NAME, ':X', 'GCM.'||TRIG_NAME);
    20 ROWS_PRSD:=DBMS_SQL.EXECUTE(RC2_NAME);
    21 FETCH RC1 INTO TRIG_NAME;
    22 IF RC1%NOTFOUND THEN
    23 FETCH_STATUS:=-1;
    24 ELSE
    25 FETCH_STATUS:=0;
    26 END IF;
    27 DBMS_SQL.CLOSE_CURSOR(RC2_NAME);
    28 END LOOP;
    29
    30 END;
    31 /
    DECLARE
    ERROR at line 1:
    ORA-04070: invalid trigger name
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 824
    ORA-06512: at "SYS.DBMS_SQL", line 32
    ORA-06512: at line 18

    Hi Marina....
    It's so easy it not even like Oracle.
    DBMS_UTILITY.COMPILE_SCHEMA (schema VARCHAR2);
    In case you don't believe it....
    otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76936/dbms_ut2.htm#1002085
    Note: You may have to edit out the '<br>'s put in by the Forum code to get the URL to work. Also you may have append some of the URL which may be truncated, usually the bookmark(#nnnn).
    Smile while you compile. Good Luck.

  • When should one use Dynamic Triggers ?

    I have a requirement where I want to send an email to HR whenever the supervisor of an employee changes.
    I am on 11.5.10.2 and the options which I know are :
    a) Business Events ( Not Possible as on 11i there are form handlers and not api on people/assignment form)
    b) Database trigger ( I do not want to use custom trigger on database)
    c) Alerts( I am currently using but its difficult to identify change in supervisor value only)
    d) Dynamic Trigger ?
    Thanks
    Ashish

    Hi Ashish,
    Why do not you try with form personalization.
    1) using execute procedure call a procedure .
    2) then from the procedure you can call the below standard procedure to send email.
    l_mail_conn := UTL_SMTP.open_connection (l_mailhost, 25);
    UTL_SMTP.helo (l_mail_conn, l_mailhost);
    UTL_SMTP.mail (l_mail_conn, from_name);
    UTL_SMTP.rcpt (l_mail_conn, to_name);
    UTL_SMTP.open_data (l_mail_conn);
    UTL_SMTP.write_data (l_mail_conn
         , 'Date: '
         || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
         || CHR (13)
    UTL_SMTP.write_data (l_mail_conn, 'From: ' || from_name || CHR (13));
    UTL_SMTP.write_data (l_mail_conn, 'Subject: ' || subject || CHR (13));
    UTL_SMTP.write_data (l_mail_conn, 'To: ' || to_name || CHR (13));
    UTL_SMTP.write_data (l_mail_conn, Message );
    UTL_SMTP.close_data (l_mail_conn);
    UTL_SMTP.quit (l_mail_conn);
    3) Make sure that you enable the below setups .
    The UTL_MAIL package is new enhancement in Oracle 10g. you have to run
    {ORACLE_HOME}/rdbms/admin/utlmail.sql
    {ORACLE_HOME}/rdbms/admin/prvtmail.plb
    to install it and also run
    ALTER SYSTEM SET smtp_out_server = 'ip_address:port' SCOPE=BOTH;
    I hope it may help you ..
    Thanks
    Asif

  • Question about Workspace enabled tables, triggers

    Hello,
    We have created our tables structured from Oracle Designer and we also have several triggers, API for almost all the tables. While reading Workspace Manager, it seems that after I would execute dbms_wm.enableversioning, it woould rename my table to a view and would creat other views and tables. I have following questions:
    1)What would happen to those triggers which are based on the original tables. Would trigger be attached to the VIEW definition of the origianl table?
    2) Lets assume I have a customer and cust_address tables respectively, I have a customer id =100 which has two customer address rows in the LIVE. I have a workspace is based on cust_address table. Would it be possible for a user to see all the address data ( live + workspace) for customer=100 in one SQL query?
    3) What if I have two live customer address rows in cust_address tables and 3 rows in workspace of cust_address table, does workspace manager allow me to conditionally add and update worskpace rows to LIVE data, ie could I add 1 row from workspace to LIVE and update one row from workspace to LIVE data?
    Thanks for your answers?
    Syed

    Ben,
    Here is our business problem. We receive data in terms of text file regarding our customers. Files contain customer name and address information and customers payments and debts information. For the sake of simplicity,lets assume that I have customer , address, payment , debts and referral table . From the file we only load to teh customer,adderss,payments and debts table, once data is loaded, end user creates referral data which is stored in referral table.
    When we receive data, we are not sure if data contain any customer unique key ( customer id, or SSN etc) , we try to match the incoming data based on last name, first name, date of birth , SSN and address etc, if system find a match then it creates rows in all these 4 tables (customer, address, payments and debts). If system did not find any match then I have another table called potential_match ( with similar columns like customer table plus matched_customer_id) and system insert the customer rows in this table and also insert other data such as address, payments and debts to the respective table. I want to process all these data immediately because business need is to immediately create referral data.
    When an end user find some time, they come to potential_match table and they try to identify if two customers are really same or not, if they decide that two customers data are same then we have to associate address , payments, debts and referral data ( and some data in other tables which have been created by other process) to the original customers. So I need to write a PL/SQL which will basically add all the children records of customer say B to customer say A if A and B are same.
    I was looking into workspace manager and I found that it might be a possible solution and I am not sure how would I utilize WSM so that end user does not have to change the way they used to be working. IF I donot add customer's other data ( address, payments, debt etc) to LIVE immediately then they would not be able to search for the customer debt if the debt is in workspace. I want to give them a transparent look to LIVE and production data all time ( I donot want to give them gotoWorkspace feature). Only few user will have access to potential_match table and gotoWorspace and they will be able to merge /associate to the original customers ie removing from workspace and adding to LIVE. Some time users may want to unmatched also, meaning if they matched two customers into one then if due to some problem it was a wrong mergd then they should be able to unmerged into two different customers and associative data. Users also want to run temporal query such as they want to go back intime and want to see customer debt data as on Dec 2004.
    Based on your experience, how would I be able to design my workspace, do you think WSM is the way to go or I should use my own PL/SQL custom code to implement the problem.? I have never used it so I am not sure, I need to understand its implication. Currently we are using Oracle 8.17 but very soon we are moving to 10G.
    Thanks for all your help.
    Syed

  • Enable dynamic inputText

    Hi every body ,
    I have created 3 radiobuttons and 3 inputText fields in a panel grid , they are divided in two separate columns .All text fields are initially disabled.When user click one radio button (say radio1) the corresponding text field (say inputText1)
    will get enabled .Again if radio2 is clicked then inputText2 will become enabled.
    My problem is I am not getting the proper ID value of inputText & for that reason am not enable textfield.
    Here is my jsf code :
    <h:panelGrid columns="2" >
         <h:selectOneRadio id="radio" layout="pageDirection" 
              value="#{multiSiteBacking.radioVal}" immediate ="true" valueChangeListener="#{multiSiteBacking.getradioVal}" >
                 <f:selectItems value="#{multiSiteBacking.dataMap}"/>
              <a4j:support event="onchange" reRender="form" focus="radio"/>
         </h:selectOneRadio>
         <h:panelGrid width="100%" >
              <c:forEach var='item' items='#{multiSiteBacking.dataList}'>
                   <h:inputText id="#{item.id}" value="#{item.value}" size="30"   disabled="#{multiSiteBacking.textField}"/>
              </c:forEach>
         </h:panelGrid>
    </h:panelGrid>Here is my backing bean code :
    //private property
    private boolean textField=true;
    //action
    public void getVal(ValueChangeEvent valueChangeEvent) throws Exception
              this.setChieldInternationalTextField(false);
    //Getter & setter
          * @return the
         public boolean istextField() {
              return textField;
          * @param
         public void settextField(boolean textField) {
              this.textField= textField;
         }please help.
    regards,
    SB

    Is my question is to hard to ANSWER ?

Maybe you are looking for