Business rules from database

Hi,
We have bussiness rules in the database. I get the messages from the business rules out of the database but i get also the errormessages from the trigger. for example:
ORA-20801: FTP- 60032: The height must be between 40 and 250 cm (invalid height) FTP- 60019: The value for the BMI is not valid (invalid bmi) ORA-06512: at "AAAA.P_ERROR", line 423 ORA-06512: at "AAAA.CG$AUS_FTP__FUP", line 10 ORA-04088: error during execution of trigger 'AAAA.CG$AUS_FTP_FUP' ORA-06512: at "AAAA.P_VTIR_VAPI", line 97 ORA-06512: at "AAAA.ITR_U_VTIR", line 149 ORA-04088: error during execution of trigger 'AAAA.ITR_U_VTIR'
Where and how can i filter this message so that only the first messages are shown. View is UIX with ADF jheadstart
Regards,
Erik

Erik,
In the JHeadstart RuleFrame extension something similar is done: it catches ORA-20998 errors and throws a new JboException for it.
I suggest you do something similar: create your own superclass for your Application Module similar to RuleFrameApplicationModuleImpl, which specified a factory similar to RuleFrameTransactionFactory, which instantiates a class similar to RuleFrameTransactionImpl in which you catch the ORA-error.
hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • What business rules from DataBase to BC4J

    Hi, I am new in the BC4J world. Can anyone tell me what business rules will be converted to BC4J with JDeveloper? The tuple rules, record rules, Foreign Keys and Primary keys will be put into the BC4J layer, but...... the entity rules and interentity rules? Where will they be? Can the be put into the business layer? Are the automatically generated for you?
    Thank you,
    Rene

    I'd recommend reading this whitepaper that describes a systematic method for thinking about and implementing business rules in BC4J:
    http://otn.oracle.com/products/jdev/htdocs/bc4j/BusinessRulesInBc4j.pdf
    We automatically pickup up primary key and not null constraints, and we use the foreign key constraints to reverse-engineer associations/compositions.

  • Error accessing Business Rules from EAS

    Hi,
    I am using EPM System 11 and trying to access Business Rules via Essbase Adminstration Services Console (EAS). When I open up the Business Rules node from Enterprise View, and select Repository View > Rules, a list of all the Business Rules is displayed. However, when I try to click on one to open it in the editor, I received an error message from EAS the reads:
    Business Rules Error. Error creating DBUserGrpObjLinkTable. Cannot continue.
    When I click Get Detail, it just displays Detail: null. This occurs when trying to open any of the Business Rules. In the past I have had no problem creating, editing, and launching business rules from EAS.
    I am still able to successfully launch the Business Rules I have already created and assigned to my Planning application FROM the Planning Web Application, but I am not able to edit them or create any new ones in EAS. Does anyone know what has happened to cause this error? It appears as if something happen to the one of the tables in the relational database that was configured during the installation of the EPM system? I can provide more detail if necessary. Thank you.

    I have restarted the services and that did not solve the problem. This may be a stupid question, but I'm not exactly sure who I would contact at Oracle about this problem. Can someone tell me where I should look for this?
    Also, I have a bit more information from the logs that may be helpful in solving this. Here is an excerpt from the hbrserver.log:
    2009-12-09 03:28:10,656 WARN main com.hyperion.hbr.core.AccessControlManagerServer - HBR repository is not configured. HBR will not be available.
    2009-12-15 10:25:02,656 FATAL http-10080-Processor4 com.hyperion.hbr.core.AccessControlManagerServer - Error creating DBUserGrpObjLinkTable. Cannot continue.
    It appears that the HBR repository is not configured? I am confused because Business Rules were working fine just last week, and I'm not sure what has changed. Also, I can still successfully run Business Rules from Planning. Any ideas on how to fix the repository? Thanks.

  • Unable to access to Business rules from planning

    HI all,
    We are using Hyperion Planning 9.3.1, Essbase 9.3.1 and AAS 9.3.1.
    Unfortunately, we are not able to access to business rules from planning.
    All rights are set properly, the business rules are visible through AAS 9.3.1 and are accessible from all locations.
    When we go to tools/business rules and select the database, we are not able to see any business rules.
    If someone has any idea, it will help us a lot,
    Thanks for reading this post, guys.

    Thanks for your help John,
    Unfortunately, we do not have the directory \HyperionPlanning\webapps\HyperionPlanning\WEB-INF\classes\.
    We tried to put the file in the directory \HyperionPlanning\deployment\tomcat\HyperionPlanning\webapps\HyperionPlanning\web-inf\classes\
    But it still doesn't work.
    For your information, we are currently using TOMCAT as web server.

  • How to create business rules from Jdeveloper 10.1.3.1.0

    Dear Experts
    Can I able to create Oracle Business rules from My JDeveloper 10.1.3.1.0. Using this link They are creating repositories, rule sets for their BPEL process, But in my version I cant found <BPEL components> under component palette. Why these features are missing, to get those additional features what I have to do.. ? Please suggest your best for me.
    Also Is it possible to build business rules from java sdk & from rule author..? If so means what is the difference, which one is having advantage.
    Thanks,
    Rajesh

    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/decision.htm

  • Error opening business rule from AAS

    Hi,
    I'm unable to open business rules from AAS console associated with one of the Planning/ Essbase application. This particular planning application is also not showing up when I try to "select outline" for the business rule. The business rules for this particular application are running fine from Planning web application.
    Error retrieving Planning application app_name on server server_name.
    Detail:Exception occurred. Please check your log file for details.
    hbrserver.log randomly shows one of the two errors given below:
    2010-06-15 16:02:56,469 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error retrieving Planning application app_name on server server_name.
    or
    2010-06-15 15:28:22,094 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Cannot retrieve connected root element for Planning/server_name/app_name/database_name
    There is no issue with other business rules which are associated with other applications.
    I have tried restarting EAS service but that didn't fix the issue. Also, i reckon this problem came up after I manually deployed 64 bit weblogic for EAS. On other environments where tomcat is being used there are no issues at all.
    Thanks in advance.

    I take it you have tried the standard process of :-
    Stop Planning,EAS, RMI services.
    Start RMI,EAS,Planning
    Log into the planning application through the web.
    Log into EAS, open your rule.
    Also can you create a new rule for the planning application after following the above process?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Trouble Creating Business rules from EAS

    Hi All,
    I am new to Essbase and Planning. I am facing trouble creating Business rules from EAS. Every time I click on Business rules it shows login failed...

    Hi,
    Welcome! I believe it could be an access issue. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/hbr_admin_help/ch03s02s01.html
    I would also check the provisioning. Here are the Business Rules roles: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/apas08.html
    Hope it helps.
    Mehmet

  • Can't launch Business rules from Smartview

    Hi,
    I am trying to lauch a business rules from smartview, but the "calculation option"/ "business rules" menu is unavailable in Excel.
    This business rules is available in the Web HBR launcher.
    How could I get access to business rules in Excel please ?
    Regards

    In Excel, you can't launch a Business rule in a free form, you have to use a form from Hyperion Planning for example.
    It would have been nice to be able to launch a BR in Smartview, as in the web launcher.

  • Business rules from epma to planning

    Hi,
    In EPMA version 11.1.12 I am having an issue with business rules. I wrote and deployed a business rule from EPMA to planning and everything was fine, the rule ran on save in the data form.
    Now, I tried to run the rule a few days later and it won't run. I tried to remove and re-add the rule, but now its not visible. In planning, I can't see 'business rule security' in the administration drop down.
    I deployed the application and all the rules and everything is successful, but still nothing in planning. In another application the rules are there.
    How could a business rule disappear from planning and not show up again when it was deployed? Any help is appreciated. Thanks,
    Dq

    We sometimes see similar issues when the services are recycled in the wrong order. Perhaps a service failed or was restarted (after you had been successful in running the business rule from Planning)?
    - Jake

  • Enable/select/change to Business rules from Calc Manager in App settings

    Hi all,
    Somehow we are Unable to Expand the Planning Node in Essbase Administration Services (EAS) Console When Creating Business Rules. I am not sure is it
    I am not sure, is it because of one of the application has calc settings as calc manager in under application settings in dev environment, but in other environment all applications set it as Business Rules.
    I was trying to change from Calc Manager to Business rules in App settings, but it is grayed out and not able to change to Business rule from calc manager.
    Please suggest me.
    Thanks,

    If it say been set incorrectly then you may need to update one of the relational tables for the application.
    Table - HSP_SYSTEMCFG
    Field - CALC_ENGINE_OPTIONS
    Values - 1=HBR, 2=CalcMgr
    Restart the planning application web app service after making changes.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Exporting business rules from Calc manger

    Hi all,
    when i try to Export business rules from Calc manger nothing happens but i can import to calc manger.
    I am using EPM 11.1.2.1
    Appreciate your help

    Are you sure you are following below steps for export:
    http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/cmgr_export.html
    Cheers...!!!
    Rahul S.

  • Migrate Business Rules from 9.x to 11.x

    I am trying to migrate business rules from 9.21 to V11.1.1.3
    I used to export the rules, then edit the XML for the correct server and location names, then import into the target server-all with 9.21
    Now when I try the same process, I get this error when importing into V11.1.13
    Detail:Error while importing object properties.
    Detail:com.hyperion.hbr.beans.UserObjAccessFilter.setUserGroupName(java.lang.String)
    I can use the migrate repository option just fine, but then I have to go in with a SQL script and update the location and server names in the relational tables. I prefer the export/import since I can do that without impacting users.
    Any ideas on how to import the rules and resolve this error?
    Thanks
    Jeff

    Hmm no luck with one rule that has no security assigned to it. and no luck with one project with no security.
    Here is the xml for 1 rule that won't import:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <HBRObjects>
    - <Rules>
    - <Rule>
    <property class="java.lang.String" method="setBody" value="ACED00057372001E636F6D2E6879706572696F6E2E6862722E636F72652E52756C65426F6479047B4D7ABDC064F60200065A000564697274795A000B697347726170686963616C4C0007636F6D6D656E747400124C6A6176612F6C616E672F537472696E673B4C000A636F6D706F6E656E747374002C4C636F6D2F6879706572696F6E2F6862722F67726170686963616C2F47726170686963616C566563746F723B4C000872756C655465787471007E00014C000473616C3071007E000178700000740000707402192F2A4553535F4C4F43414C4520456E676C6973685F556E697465645374617465732E4C6174696E314042696E6172792A2F0A534554204147474D49535347204F4E3B0A5345542055504441544543414C4320204F46463B0A0A46495820284275646765742C20223173742050617373222C20264375727242756459722C20404C45564D4252532822506572696F64222C2030292C4072656C61746976652822546F74616C20456D706C6F79656573222C30292C4052454C41544956452822546F74616C20436F6D70616E79222C3029290A0A2043414C432044494D2028224163636F756E7422293B0A0A22456D706C6F79656520546178657322203D2022456D706C6F79656520546178205261746520496E707574222D3E224E6F20456E74697479222D3E224E6F20456D706C6F79656522202A2022546F74616C2053616C617279223B0A0A22456D706C6F7965652042656E656669747322280A0A494620282246542F505422203D3D31290A0A22456D706C6F7965652042656E6566697473223D2242656E65666974205261746520496E707574222D3E224E6F20456E74697479222D3E224E6F20456D706C6F7965652220202A2022546F74616C2053616C617279223B0A454C53450A22456D706C6F7965652042656E6566697473223D234D495353494E473B0A454E4449460A290A454E444649580A0A43414C432044494D202822456D706C6F796565222C456E74697479293B0A0A0A71007E0004" />
    <property class="java.lang.String" method="setMetadataReferences" value="" />
    <property class="java.lang.String" method="setDefMetaDataRepo" value="Planning/balt-hypplan/CorpBud/Eeplan" />
    <property class="java.lang.String" method="setBodyAsCalcScript" value="/*ESS_LOCALE English_UnitedStates.Latin1@Binary*/ SET AGGMISSG ON; SET UPDATECALC OFF; FIX (Budget, "1st Pass", &CurrBudYr, @LEVMBRS("Period", 0),@relative("Total Employees",0),@RELATIVE("Total Company",0)) CALC DIM ("Account"); "Employee Taxes" = "Employee Tax Rate Input"->"No Entity"->"No Employee" * "Total Salary"; ENDFIX CALC DIM ("Employee",Entity);" />
    <property class="java.lang.String" method="setName" value="Corp-EE Benefits & Taxes Calc" />
    <property class="long" method="setLastModified" value="1211738336600" />
    <property class="java.lang.String" method="setVersion" value="" />
    <property class="int" method="setId" value="220" />
    <property class="java.lang.String" method="setDescription" value="" />
    <property class="java.lang.String" method="setOwner" value="native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER" />
    <property class="int" method="setObjectType" value="1" />
    <property class="boolean" method="setEditable" value="false" />
    <property class="boolean" method="setLocked" value="false" />
    <property class="java.lang.String" method="setLockedBy" value="0" />
    <property class="java.lang.String" method="setUpperName" value="CORP-EE BENEFITS & TAXES CALC" />
    <property class="java.lang.String" method="setModifiedBy" value="native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER" />
    <property class="java.lang.String" method="setOpenForEditingBy" value="0" />
    <property class="boolean" method="setOpenForEditing" value="false" />
    </Rule>
    </Rules>
    <Macros />
    <Variables />
    <Sequences />
    <Projects />
    <RuleMacroLinks />
    <RuleVariableLinks />
    <MacroMacroLinks />
    <MacroVariableLinks />
    <SequenceItemLinks />
    <SeqPrompts />
    <ProjectItemLinks />
    - <UserObjAccessFilters>
    - <UserObjAccessFilter>
    <property class="int" method="setObjectID" value="220" />
    <property class="int" method="setObjectTypeID" value="1" />
    <property class="int" method="setLocationID" value="9" />
    <property class="int" method="setTaskID" value="2" />
    <property class="java.lang.String" method="setUserGroupID" value="0" />
    <property class="int" method="setUserGroupTypeID" value="0" />
    <property class="boolean" method="setSearchNoLoc" value="false" />
    <property class="boolean" method="setSearchNoUser" value="false" />
    <property class="boolean" method="setSearchNoObj" value="false" />
    <property class="boolean" method="setSearchNoTask" value="false" />
    <property class="java.lang.String" method="setUserGroupName" value="" />
    </UserObjAccessFilter>
    </UserObjAccessFilters>
    - <Locations>
    - <Location>
    <property class="int" method="setCluster" value="0" />
    <property class="java.lang.String" method="setLocation" value="Planning/balt-hypplan/CorpBud/Eeplan" />
    <property class="int" method="setLocID" value="9" />
    <property class="java.lang.String" method="setUpperLocation" value="PLANNING/BALT-HYPPLAN/CORPBUD/EEPLAN" />
    </Location>
    </Locations>
    </HBRObjects>
    I see the setUserGroupName property class and it is empty..

  • Accessing Business rules from BPEL, OESB and OSB

    How to aceess Business rules from BPEL, OESB and OSB ?

    Hey you can use Decision Service in BPEL process. You have "Decide" activity for this. However, no idea about ESB or OSB.

  • Update  details for Business Rules from SOA Composer

    Hi All ,
    I am not able to update Business Rules from SOA Composer (http://localhost:7001/soa/composer).
    I have tested with many browser and Please , some one can suggest .. on this .
    Rgds
    Sudhee

    Thanks for your reply ,
    Just Using BPEL component and BR...
    Somehow i am not able to update Business rules from Composer .
    Rgds
    Sudhee

  • Executiong Business Rules from ODI on Linux

    Hi,
    I would like to execute Business Rules from ODI. I know that it is possible with the CmdLnLauncher command on Windows, but I don't know how to do on Linux ?
    Thanks to John Goodwin, I know it's possible using the KM, but it is not my favorite issue. I would prefer using a command if it's possible.
    Does an OS command exists to execute Business Rules from ODI on Linux ?
    Can you help me please ?
    Thanks very much.
    Virgile.

    Ace2 wrote:
    I have ODI on Windows and I couldnt find CmdLnLauncher.bat/.sh !
    I am looking in $ODI_HOME\oracledi\bin . Is that the correct location ?It is a Hyperion product nothing to do with ODI.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Problem with Java Mapping

    Hello experts, I developed a Java Mapping Programm for reading filename of a pdf file and giving filename to a rfc structure for calling a rfc module. Thus, I test it via testing interface method and implementing a main method in my mapping class, wh

  • Connecting MBP to HDTV.

    How can I make my MBP 13" display onto DYNEX 40" HDTV without the left and right borders being blacked out? Using HDMI cable to connect. I have the picture up but I would prefer to have the full screen filled.

  • I don't remember any securuty questions and of course I don't know them and I can't purchase an app

    I don't remember any securuty questions and of course I don't know them and I can't purchase an app

  • Do we need Portal with NW BPM??

    Hi BPM Experts. I have a question. do we need Portal with NW BPM?? can we process NW BPM without Portal?? Best Regards, Yuki

  • CFMAIL sending duplicate messages

    I am using ColdFusion 11 on a Windows Virtual Server 2008.  The CFMAIL tag is producing duplicate messages (3 each time with IE11 and 2 each time with FireFox.  Numerous tests have produced the same results.  I tested with and without the mail spoole