Validation of business-rule gives error

Hi,
After valadating the following business-rule i get an error message.
0001 FIX ("FY08","50120","DEC")
0002 FIX ("EJV2")
0003 Cleardata "50160" ;
0004 ENDFIX
0005 DATACOPY "50120"->"EJV1" TO "50160"->"EJV2" ;
0006 ENDFIX
The error message is:
Validation error from planning server 'http://sth135.gwnet.nl:19000/HyperionPlanning/servlet/HspAppManagerServlet'.
'Error:Cannot calculate dimension member [50160] with restricted member [50120]An error occurred while running the specified calc script. Check the log for details. on Rule object with name EPMSPEEL.Resultatenrekening.test'OK (O)
It seems to have something to do with a calculation that tries to calculate a member after restricting the calculation to a different member in the same dimension. However, as my knowledge of businessrules is (yet) limited I can not figure out how to adjust the rule properly.

You can not fix on a dimension and do subsequent calculations on that dimension. For example you can not say :
Fix(Jan)
Jan = Feb + March;
EndFix
You need to limit the scope in the fix statment to other dimensions not the one you are trying to calculate

Similar Messages

  • Validating the Business Rule  Essbase Error(1200315):

    When i Execute the BR
    FIX([v_Year],[v_Scenario],"Working", "USD","EUR", "HSP_InputValue",@LEVMBRS("Datasource", 0))
    /* @ANCESTORS ("Products");
    @IDESCENDANTS ("Entities");*/
    AGG ("Products","Entities");
    ENDFIX;
    It is Successful.
    But when i Change the rule with *"JPY"* adding as it is one of the Currency UDA.
    FIX([v_Year],[v_Scenario],"Working", "USD","EUR",_*"JPY"*_, "HSP_InputValue",@LEVMBRS("Datasource", 0))
    AGG ("Products","Entities");
    ENDFIX;
    the Validation throwing me an error.
    *Detail:Cannot calculate. Essbase Error(1200315): Error parsing formula for [FIX STATEMENT] (line 282): invalid object type*
    Can you please Give me the suggestion
    JPY is just a another currency member like USD and EUR.
    But it is throwing me error while i am updating the BR.
    In the Same BR
    There is a Macro
    I pass the parameter "USD" and "EUR" in the Macro. It works good but
    If i Pass the Parameter for a Macro as "JPY"
    It is throwing an Error
    *Detail:Cannot calculate. Essbase Error(1012004): Invalid member name [JPY]*
    I know the Errors means "JPY" Member is INVALID, But the JPY is present in the Outline same as USD and EUR in the UDA "Currency".
    Edited by: 838300 on Oct 13, 2011 10:14 AM
    Edited by: 838300 on Oct 13, 2011 10:14 AM
    Edited by: 838300 on Oct 13, 2011 10:30 AM
    Edited by: 838300 on Oct 13, 2011 10:34 AM

    Are you definitely sure JPY exists in the essbase application, go into eas and open the outline and check.
    It may exist in planning but if it is not defined as a reporting currency then it won't exist in essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Quality check on Business Rules gives strang result for OMS-60005

    OMS-60005 Functions used to record business rules should be labeled as:
    BR_[entity short name]###([decomposition id])_[type abbreviation]
    BR_IDE024_CEW, BR_IDE029_CEV, BR_IDE030_CEW, BR_IPF004_CEW are violations but they are valid as far as I know.

    Yes my particular issue is not like yours. However, there have been many other laptop users experiencing similar problem to yours after 3.10 kernel. Mostly it seems to be bumblebee users that experience your problem with the blank screen. We do know that nvidia have yet to make their official drivers work with kernel 3.10 and up. The drivers in the Arch repository have been patched to work with 3.10. From what I have seen, this also only seem to be affecting laptops with newer nvidia gpu's. I fear there is not much to do with this problem until nvidia give official 3.10 kernel support.
    My suggestion would be to stick with 3.9.9 kernel and the drivers that work with it, and don't upgrade those packages until nvidia has addressed these issues. If you have a look at the nvidia forums you will see quite a number of topics mentioning black screen when starting x on 3.10 kernel, and also a thread for the system dying. Reading some of the threads there may help you keep up to date on whether or not the issue seem to be solved.
    https://devtalk.nvidia.com/default/board/98/

  • Business rules execution error

    Hi,
    I am facing an error with business rules and forms.
    We are having 6 folders and each folder relating to different departments and each department (folder) contains 5 forms.
    The same environment is in UAT server and Production server.
    The same UAT server is migrated to Production.
    Here the problem is example: In each folder, form 2 is tagged with 3 business rules like rule1, rule2 and rule3.
    These 3 rules are same for the form 2 in all folders, except the legal entity, code, prduct will be vary as per the user selection.
    but the code is same.
    In these 3 rules, the first 2 rules rule1 and rule2 are not working. While double clicking the rule, its says that, error while executing the calculation script. Please check the log file. The same error coming for form 2 in all folders with the same rules which are tagged.
    But the same rules are working with the same form in UAT environment. I have tried to change the rules from UAT to Production.
    After changing the rules also, the same error is coming while executing the business rule.
    So can any one suggest me what to do and how to resolve this.
    Thanks & Regards
    RREDDY

    The same error when executing the business rule after opening the form.
    " Error executing the calculation script. Check log for details"
    I have checked the log also, but its also showing the same sentence.
    While validating the rule, I have checked the same thing and I have compared with the UAT settings also. Its all are fine.
    Only these 2 rules with the same form in all the folders are getting the error.
    I have done one more thing that copying the content of Business rule code in UAt and paste the same in Production and saved it.
    I have checked all other settings they are remain same and no changes. Then I have detached the rules from web form and saved it and log-off from planning.
    Again logged in and tagged the BR's to the form and tried to execute, even then also the same error coming.
    thanks
    rreddy
    Edited by: user4483519 on Sep 21, 2009 4:39 AM

  • Two business rules runtime errors

    Hi,
    The business rules looks very nice but I got two runtime errors, The first I have to deploy twice else I got a wdsl error
    08/02/17 13:05:16 -------> CompositeDeployerTimer: deploying composites ...
    08/02/17 13:05:16 --------->deploying composite model: businessrules/br!1.0*2008-02-17_10-23-41_328
    17-feb-2008 13:05:16 oracle.integration.platform.PlatformMessages warningUnableRegisterService
    WARNING: Unable to register service.
    oracle.fabric.common.FabricException: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: oramds:/br/OrderCheckRules_DecisionService.wsdl: MDS-00054: Het bestand dat moet worden geladen oramds:/br/OrderCheckRules_DecisionService.wsdl bestaat niet.
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:341)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:141)
         at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:149)
         at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:130)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:89)
    The other is more serious. All the business rules fails with the same error.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36335
    Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
    This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:516)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:272)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:246)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1273)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at java.lang.Thread.run(Thread.java:595)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36333
    Error while executing the rule session.
    The rule session bpel:1701 failed to execute.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:287)
    SEVERE: <.> Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
    This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.

    I'm not sure what you did to create the rule you are running here. Did you try the Rules chapter of the 105 sample on the TP3 page? That one does work.
    Once you have it working using the sample, try your exercise again and let us know what you did to create your rule. There are many permutations here and we want to know what doesn't work.
    Heidi.

  • Problem with Business rule-Essbase Error(1042017):

    Hi,
    I am getting the following error when i run this business rule specifically.
    Detail:Cannot calculate. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP.  Check network connections.  Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server.  Restart the client and try again.
    I dont get this error with any other rule. I have checked the solution provided in this link
    _[http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_error/erhelp.htm#ercalc.htm]_. But this solution wont help because i dont get this error in any other rule.
    The rule i run is
    "Depreciation Value" = "Cumulative.Asset value"/ ("Assumptions_Programs"->Jul->@UDA(Entity,@NAME(@CURRMBR(Location)))->@UDA(Location,@NAME(@CURRMBR(Location)))->"Assets life in months");
    The functions in the above rule will get replaced as below
    "Depreciation Value" = "Cumulative.Asset value"/ "Assumptions_Programs"->Jul->IND_Assumptions->LOC_IND->"Assets life in months";
    If i hardcode and run, i dont get this error. Please help.
    Regards,
    Ragav.

    The reason it works when you hard code it and why it doesn't when use UDA is simply that you should never have a multiple answers in a cross dimensional. @UDA function returns multiple answers. Even if for your case it only brings back one I believe it is tripping up the calculation. Worse if you are actually bring back multiple answers for @UDA that is definitely not going to work.
    I would have to understand all your fixes above the calcultion to recommend you the best possible solution. But at least you understand why you are getting the error and what you have to fix

  • Business Rule Sequence Error in Planning

    Hello Everyone,
    I have a Planning application where users can run a sequence of rules by going to Tools > Business Rules and selecting the sequence. The sequence has about 8 rules in it. The sequence errors after the 7th rule (a currency conversion/calculation which takes upwards of 12 minutes). The logs do not say anything about an error, however, it does say that the active user was cleared on the database. (The BR log says that the rule never finished but the Essbase log says that it finished. The following rule in the sequence never starts.
    Note: The business rule sequence completes without errors when the sequence is started from Essbase Administration Services.
    Is there some type of timeout/setting update I should look at or any suggestions on where to look within the business rule?
    Thank you,
    Mark

    Hi,
    Have a read of the following :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch02s07s04.html
    It explains how to set the threshold before business rules are run in the background to get around timeouts.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business rule Log/error files in 11.1.1.3?

    Hi,
    How can I trace out the status of business rules in EAS for running a calculation on essbase cube.where can I find these log/error files?
    In log files can we trace out the error like where it went wrong...?
    Thanks

    If you have a look at hbrlaunch.log it will provide details of the business rules that have been run.
    If on 11.1.1.3 and windows the file can be by default in C:\windows\system32
    If you do get any errors running the rule then the essbase app log is probably the best to find more information on the error.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Importing Error

    Hi All,
    I am working on Hyperion Planning 11.1.1.3 and Essbase the same version.
    I took the back of my project related BR back like this.
    1) Right Click on the Business Rule and imported
    2) Selected my project related BR
    3) Select the dependants and click on Export.
    4) Saved in C drive.
    I successfully migrated the application to another system. But BR cant imported.
    Please, any one help me out on this.
    Thank You
    EP

    Hi,
    Make sure you add the location in the locations tab of the business rule, then give the user access in the next tab along.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Dynamic validation of Business Rules

    Who has a good thought/example about a principle of dynamically validating Business Rules without coding every time each BR?
    I am thinking about a table where I can enter the expressions like:
    - <p1> is not Null
    - <p1> not in (select 'x' from <table>)
    - <p1> < 2000
    This logically, simple expressions should return a boolean expression (true or false).

    First, in a well designed data model, I'm not sure I see the need for data validation logic to change regularly. If a particular column cannot be NULL today, it would be rather unlikely that it would somehow need to be NULL tomorrow.
    Second, I'm not sure I see what this approach buys you over the much simpler approach of adding and removing check constraints if the data model changes. Adding and removing a constraint is pretty trivial-- orders of magnitude less difficult than doing the analysis to determine what constraint needs to change and what impact that has downstream.
    Third, I would suspect that if you need to encode these sorts of constrains in a table, your system will kill downstream systems with regularity. If p1 is NOT NULL today, but tomorrow it suddenly allows NULL values, a consumer application might well break (or worse, silently return incorrect results). Data changes should not be able to screw up downstream systems.
    Fourth, if you did build such a system, you would have to build your own constraint validator, rather than being able to rely on Oracle's (unless you wrote code to create and drop Oracle constraints based on values in a table, but that seems rather convoluted). Given that Oracle's constraint validation engine is highly optimmized and highly accurate, a home grown engine isn't going to look particularly good in comparison.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Map Validation done, but deployment gives errors(Unable to produce valid ..

    Hi,
    I have a map which is validated successfully. Its a simple map with just join conditions,splitters and expressions between the source and target tables.
    During Deployment, I get an error - RTC-5325-The generator was unable to produce any valid objects, please correct the source object(s...
    Any ideas?
    Message was edited by:
    user583479

    What are the error messages that you been getting in CIM logs for the first try? And in the second try did initialize_services work? If it is basic CRS installation I dont see why load_baseline_testdata fails. Because CRS endeca app gets deployed with the test data too.
    Try to execute this command and see if there is a crawl created
    CAS/11.1.0/bin>cas-cmd.bat listCrawls
    Also execute this command to check if all the record stores got created
    $CAS_ROOT/bin/component-manager-cmd.sh list-components

  • Javascript validation on page load gives errors in IE, works in Firefox

    Hello,
    I have a javascript function that, depending on the display value of a select list (based on a query), will optionally enable/disable another item on the page. After the page is loaded, you can select a different value and watch the second item function properly (become enabled or disabled). This works in both Firefox and IE6. I added a call to my javascript function in the OnLoad section of the page attributes, so that when the page is first loaded, the second item will be displayed correctly (enabled/disabled depending on the value of the select list), since the user might have changed the value of the select list at some earlier time.
    When I test in Firefox, the record is loaded and the second item is in a correct state depending on the value of the select list.
    When I test in IE6, I receive an error on the page saying that the item is undefined.
    I'm guessing that because the process is in the OnLoad section of the page, IE doesn't yet know about it.
    I'm using App Exp 2.0.0.
    Anyone seen this before, or have any thoughts as to a workaround?
    Thanks!
    Marty

    Here's the js function I call (defined in the HTML Header section of page).
    function ItemTest(pThis){
    var lTest = html_GetElement(pThis)[html_GetElement(pThis).selectedIndex].text;
    html_disableItems(lTest != 'In Process','P4_PHASE_ID','P4_PHASE_DATE');
    This is what I have in the On Load section of the page:
    onload="ItemTest(P4_STATUS_ID);"
    Basically, if the display value of item P4_STATUS_ID isn't 'In Process', then it disables the two PHASE items.
    I have checked out your functions - that's what got me started on this. Very helpful - thank you!
    Marty

  • Error while validating Business Rule (Error Cause: nativeGetNewTLA Rule)

    Hi, I am receiving an error while validating business rules
    An error occurred in: Rule:HypLive.Plan1.Product Interest
    A validation error was received from the Planning server 'http://abc:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=HypLive'.
    'Error:
    Error Cause: nativeGetNewTLA Rule HypLive.Plan1.Product Interest'.

    Are you able to validate the rule in EAS (or Calc Manager)?
    Normally nativeGetNewTLA Rule is followed by out of memory errors like java.lang.OutOfMemoryError,
    Increase the heap size to 1024, re start Planning and try validating it again.
    Cheers..!!

  • Handling business rules validation

    Using adf/bc. After sifting thru alot of documentation, I'm still left wondering about the 'right' way to implement the validation of business rules in the entity class. Specifically, I would like to know the difference between using the validateEntity method to validate attributes and using separate, declarative based method validators for each attribute that needs validation. Also, if a method validator is used and it fails, what type of exception is thrown? JboException? Thanks for input on this.

    Steve, thanks for the response. I've implemented the code from (#107) your examples site and everything works fine with regard to providing custom validation messages for attribute validation errors/exceptions. Also, for other more app specific validation of business rules, i'm using method validators on the entity object, which have a corresponding message bundle. This, in conjunction with your code, works good also in catching and customizing error messages. How does the framework 'find' the message bundle to be used for the error message text in a case like this where there is more than one message bundle? Thanks again, James.

  • Business Rules Error : Exception Occured.

    Hi Everyone,
    I have a problem with business rules , an error message is Exception Occured.
    I already restart all services, but this error still appear.
    Please help ...
    Thanks
    Een

    If you are doing this in planning, you need to go to Business Rules repostiory in EAS and make the rules available for the planning application and also define access. Open the rule and go to Location Aliases to do this, you can also assign access at the same place.
    If you are already in EAS and cant open or Delete the rules you might not have appropriate access to the Business rules repository. check your access

Maybe you are looking for

  • Itunes 7.4 wont open

    so i downloaded itunes 7.4.whatever a while ago. and i havent been on itunes for like a week now. and when i want to open itunes, it wont open. it says "itunes has encountered a problem and needs to close." ive tried re-installing it, but it asks me

  • Parallel Port Listener problem

    hello everyone, I have downloaded the javax.comm package and installed it as given in the installation instructions. I can print my files using the javax.comm classes. But i do not get the Parallel Port Event even if i register a listener. Also for a

  • LCD display problem- bright spot

    Hi, I just bought my idea u310 online. By opening laptop for the first time, I noticed the screen frame is detached. the frame was not fixed in its own place. it was separated from lcd. I pushed corners so that it can get fit in the right place. it s

  • Sound pasue and mute

    i'm trying to pause and/or mute a sound, with little success. i've found out that something like 'sound.play(pausePosition)' might fail on sound-clips with low sampling-rate. however when i try to mute a sound with a 48000Khz sampling rate it simply

  • BUG?! hyperlink can't be changed by coding

    hiho, i like to change the text- and the link-value of a hyperlink in my code. for this i've putted a hyperlink-control on a page and 've included the following code in the page-constructor:     public Page1() {         // <editor-fold defaultstate="