Rolling years dynamically updated from a business rule

Hi All,
Can anyone advise on how they have solved the problem of rolling opening balances from one year to another in essbase\planning. Our users could potentially want to forecast out x number of years and we don't want to necessarily hardcode out the business rule with each year. At them moment they are being prompted for the number of years that they will roll out and also the start and end year, they then have a business rule that loops the number of years and then fixes on the year range. This works however it will lead to performance issue going forward as the loop combined with the fix on the range will loop say 25 times for 5 years (5x5) instead of only 5 times.
Has anyone any pointers as to how to restrict this to only a year per pass or has anyone had this problem before ?
Thanks in advance

Thanks,
We have prompts in already , the problem is that for our opening balances to flow through we need to calculate one year, then the next, then the next etc... but we don't know each time we run the business rule how many years we will forecast for (it is user dependant). Our code works but it loops on the whole subset of the years in range based on the user selection.

Similar Messages

  • DB Call from Oracle Business Rule +Java Method call from OBR

    Hi,
    1.We have a requirement in project where we need to make DB Call from Business rule.
    We are using ORACLE SOA11g.
    Is this possible.Any pointers on this will be helpfull.
    2.Can we call java method from Oracle Business Rule.If so pls suggest how it can be done.
    Thanks In Advance,
    Oracle SOA User

    You can implement java class to make database updates using JDBC. You can add Java class as fact in business rules and invoke methods as actions of the business rules.
    Hope this will help.
    Jayesh Patel
    http://jayesh-patel.blogspot.com/
    http://www.yagnasys.com/

  • 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

  • Extracting rule details from oracle business rule repository

    Hi,
    Which of the oracle business rule APIs provide retrieving following details :
    1. Get all dictionaries stored in the oracle business rule repository.
    2. in each dictionary,
    2.1. How to retrieve all ruleset list in a rulesets
    2.2 How to retrieve all rules in each ruleset
    This is because, I want to build a custom UI to display the rule details in the oracle business rule repository. In my case, dictionary, ruleset in a dictionary and rules in a ruleset are dynamic (administrator can add, update delete at ant time via rule author UI)
    Appreciate your help.
    Thanks
    Hareendra

    Hi,
    We are also having a similar requirement. Could you please tell me whether you got answers for the queries.
    - How to extract rules from ruleset / rule repository
    Appreciate your help.
    Regards,
    AP

  • Extracting details from oracle business rule repository

    Hi,
    Which of the oracle business rule APIs provide retrieving following details :
    1. Get all dictionaries stored in the oracle business rule repository.
    2. in each dictionary,
    2.1. How to retrieve all ruleset list in a rulesets
    2.2 How to retrieve all rules in each ruleset
    This is because, I want to build a custom UI to display the rule details in the oracle business rule repository. In my case, dictionary, ruleset in a dictionary and rules in a ruleset are dynamic (administrator can add, update delete at ant time via rule author UI)
    Appreciate your help.
    Thanks
    Hareendra

    Hi Hareendra,
    I think you should post your question in this other forum:
    Forum Home » SOA & Process Management » SOA Suite
    Oracle Business Rules is a component used in SOA Suite
    Regards!
    Jorge

  • Updating Business Rule access and security

    Hi All,
    We have recently load balanced the planning servers, as a part of this currently we have to update "Location" and "Acces Privileges" tabs to reflect "All Locations".
    There are hundreds of business rules for us across all servers. I was hoping if there is an automated or maxl way of updating access for business rules rather than manually pulling all the groups in each business rule.
    any thoughts on this.
    Thank you
    Arun

    Hi john,
    Thanks .It works fine....
    I have another question.
    I have some calculationscripts along with this business rule.I m not able to find out a option to launch a calculation script from the planning application.
    I m logging in as User1(Planner).
    do I need to add security for calculation script?
    I didn't get any option to add security to calculation scripts in eas?
    Plz help
    Thanks

  • 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

  • Control process flow from Business Rules

    hi
    i would wish to control the process flow in BPEL by using Business Rules(based on conditions) rather than using Switch. how can i accomplish this? please do help me in this.

    what do you mean with control the process flow? Do you mean to destine which partner link is called? Or just make some decissions through the business rules and use a switch afterwards....
    If you are talking about controlling the partner link to be called, then you should have a look at the chapter three of the cookbook
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    You could use the outcome of the business rule to make a decission which endpoint reference to use. Perhapes even return the endpoint reference from the business rule...
    Greets Jens

  • Smartview Forms - Business Rule Execution

    Users edit data within Planning, but don't see changes when refreshing in SmartView until a user executes business rules {Aggregation rule} on the Plan2 cube within Planning [via internet explorer].
    Once the form where the business rule is attached is loaded/saved [set to both on the form / business rule property] - the data in SmartView has the calculation updated.
    Do business rules NOT run from SmartView?

    buiseness rule can be executed from smart view as well but before that i would like to tell you that smart view can be connected to
    1)Essbase using the URL http(s)://<servername>:13080/aps/SmartView
    2)Planning using the URL http(s)://<servername>:8300/HyperionPlanning/SmartView
    here 13080 is the default smart view port for Essbase and 8300 is the default port for Planning.
    Now if the user makes a connection to planning then he can view the data forms and the buiseness rules but not the normal grid view that was visible otherwise in essbase.
    for Forms : Hyperion tab -> Forms -> Select Forms
    for HBR/Calculation Scripts : Hyperion tab -> Calculation options -> Buiseness rule
    if you are connected through Essbase then you can not view the HBR and forms but if you are using the calculation scripts for aggregation then they are visible
    Hyperion tab -> Calculation options -> Calculate

  • Rolling year for DP Planning book

    Hello DP Gurus,
    I have a business requirement in Demand Planning where client wants a future rolling year in Planning book.
    The defination of rolling year is current month + 11 months in future displayed in a yearly bucket.
    E.g. Rolling year for a current month i.e. Aug 2014 is from Aug 2014 to July 2015 as Year 1 and Aug 2015 to July 2016 as Year 2.
    When we move into next month i.e. Sept 2014, the rolling year will be from Sept 2014 to Aug 2015 as Year 1 and Sept 2015 to Aug 2016 as Year 2. 
    So the planning book will have two buckets in future as Year 1 and Year 2
    I have tried the following and it does not support our requirement.
    1. Fiscal year variant in time bucket cannot be used as I can add only one fiscal year variant in my SBP. What I would need here is 12 fiscal year variants e.g. Jan - Dec, Feb-Jan, March-Feb etc
    2. Planning Start date in data view does not work as it considers a calander year.
    Have anybody come a cross this requirement. Could you please help us on this.
    Thanks in advance.
    Regards,
    Sameer

    I dont think it is possible to restore a deleted data view. What you can do is backmigrate the planning book from production to quality. That will make sure that your data view( actually the entire planning book) in quality is in sync with that in production. Backmigration is very easy and you can take help from basis team to do that
    Thanks
    Aparna

  • Using a business rule to set the substitution variables

    Hi All,
    I am having issues with setting the value of Substitution variable from a Business rule.
    Any help would be appreciated.
    Thanks,
    Shakil

    Thanks for your response, John.
    I am trying to set the Substitution variable through a data form on which the Business rule is attached.
    The admin guide for Planning states that "You can set substitution variables on the Essbase server,
    application, or database level. The same substitution variable can exist on multiple levels;
    Planning uses the first one it finds as it searches in this order: 1) database 2) application 3)
    server." So I believe that it should be possible.
    Regards,
    Shakil

  • Problem with Business Rules in OBPM 10.3.1 Enterprise for WebLogic

    We're having a problem with our Business Rules. We've updated two of our business rules (that are used by business rule transitions) in Studio; however, when we publish the updated process, the business rules are not updated. We cannot find anywhere in the Process Admin where to administer the rules to make sure they're overwritten.
    I've double checked, and the updated rule code is in the .project.xpdl, but for whatever reason, the rules are not being updated during the deployment. I'm sure that we've done this many times in the past, but for some reason, now it is not working.
    We're tried variations of the different versioning when we publish, and we've also tried to unpublish all of the older versions of our process, but it does not change the business rules. We can try to unpublish and undeploy, but it seems like we would lose all old instances of that process that are still running if we did that.
    Has anyone ever had this issue, or know if there is a way to effect the business rules via the process admin?

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Business Rules Error when Decision Function surfaced as WebService in BPM

    To use a BusinessRule as from a Business Rules activity,it needs to be surfaced as a WebService.
    I've run into an issue where as soon as I check that box and save, the BusinessRule in question goes into a error mode when viewed from the BPM Project Manager (which is why this question is posted here).
    The scenario is this:
    My types are defiend in XSD. There is a SimpleType - FooStepTypeType - which is a retricted xs:string, the common way top create an enumeration. I import this as an XML fact, it creates a Enum bucketset, which is perfect. I create a decision function - DecisionFunction1 - which has an input parameter of this type and a boolean output. I set up a simple decision table to use the input and assert the output. The editor is happy.
    At this point, I can't use the DF in my process, as it's not exposed a service, and won't be selectable via the the Properties/Implementation of a Business Rules activity.
    A soon as I mark the DF as a WebService and save it, an the rule disappears from the Rules section of the Business Catalog and reappears at the root of the catalog in error. In some cases it can't be edited.
    Hovering over the error file produced this error message:
    The argument ‘step’ of decision function ‘DecisionFunction1’ could not build because of ‘BPM-71517: Unable to identify the parameter QName. Cause: ‘FooStepTypeType. Action: Make sure that the decision function parameter is of XML type and exactly one XML Schema Element exists that represents the parameter’.
    My XSD previously did not contain a freestanding element of this type, but had elements defined in another complex type of this type. Adding a freestanding element didn't change anything. In fact it seems that elements are not avaialble to be imported as XMLFacts, only types.
    At this point, if the Rules editor is still open, the DF can be "unserviced" and after saving may be recoverable with a JDev restart. If not, manually removing the DF from the .rules xml file can help recover the file so that it can be edited again.
    SO: THE QUESTIONS.
    Why can't I use a simpleType as an input parameter for a DF exposed as a WebService? What is BPM-71517 asking me to do exactly? I can't find any references to it via searching. Why does eveything seem fine until I expose it?
    Addendum - using JDev 11.1.1.4.0 with BPM tools 11.1.1.4.0.5682
    Addendum2 - upgraded to 11.1.1.5.0 and the problem is still there.....
    TIA,
    Bill
    Edited by: wylderbeast on May 20, 2011 9:38 AM
    Edited by: wylderbeast on May 20, 2011 10:09 AM
    Edited by: wylderbeast on May 31, 2011 3:22 PM

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • Using dataexport in a business rules and define the filename with a sub var

    Hi,
    I have created a calc script to export data using DATAEXPORT, and to define the filename an essbase variable.
    Here all right
    I copy this code to a business rules to run it from a business rules, but I have a problem with the essbase variable, when I validate it, it gives me the error:
    Detail:Encountered "&FileNm" at line 28, column 26.
    Was expecting:
    My essbase variable is set to:
    "e:\Hyperion\products\Essbase\EssbaseServer\app\TMPGB\dataexportCustomerY2.txt"
    in double quote
    How anyone use in a Business rules with the command dataexport an essbase substitution variable

    Just tried:
    Script: DATAEXPORT "File" " " &Filename "#Missing";
    SubsVar: "c:\DataExtract.txt"
    it worked with no issues.
    Cheers,
    Alp

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

Maybe you are looking for

  • BI Publisher with Siebel 8.1 using custom SQL data source

    Hello , We have Siebel 8.1 implemented with embedded BI Publisher for reporting . For some custom requirements , we want to connect to other oracle database table and display the results in Siebel reporting environment . I know this is possible with

  • TS2972 is it possible to use home sharing between two users on the same computer?

    My wife and I have itunes accounts and want to be able to share music we have each bought on our accounts. We have tried setting up the home sharing on our PC but it doesn't show up on the screen. Can anyone please help?

  • HT3275 my time machine says the backup is too large but it should only be incremental

    I have time machine trying to back up my mac (OSX10.6) to a time capsule but it gives the error: "This backup is too large for the backup disk. The backup requires 240.66 GB but only 8.25 GB are available." This time capsule is used for backups on mu

  • IPhoto '11 with corrupted Places

    I've got a weird situation occurring in Places - where multiple images (100+) which were originally "tagged" in separate locations are now referencing the same incorrect name and location. When I try to delete this errant place in "Manage My Places",

  • About Logical Reads

    Problem: 1. If you run a SQL code and you read the logical reads. is it benefit for performance issue to have low value of logical reads not matter what? 2. What is the definition of logical reads?' Im a beginner in performance tuning