Creating numbered list via business rule in a form

The problem is explained in thread subject, i have a need to create a numbered list in a coulmn of some form via business rule.
i tried this, but numeration start from 1696 and adds 2 for every next row
FIX("plan1")
FIX("Final")
FIX("NormC_NA")
FIX("Local")
FIX("BegBalance")
FIX({RTP_Year})
FIX("AgrSN")
FIX("Administration")
FIX(@Descendants("Agreements",0))
set createnonmissingblk on;
"HSP_InputValue"(sn = sn + 1; "Region" = sn;)
set createnonmissingblk off;
ENDFIX
ENDFIX
ENDFIX
ENDFIX
ENDFIX
ENDFIX
ENDFIX
ENDFIX
ENDFIX
sorry, that was stupid question, overworked, didn't notice i fixed the same dimension twice via two different members, after i worked ths out everything became fine.
Again sorry for unnecessary disturbance.
Edited by: s0uLr1pPeR on 14.03.2012 8:44
Edited by: s0uLr1pPeR on 14.03.2012 9:04

one more suggestion i want to give it to you,
when you are writing a Base fix
you can also write in this way
FIX("plan1","Final","NormC_NA","Local",[RTP_Year], etc)
/* Your Calculation */
ENDFIX
Thanks,
Avneet

Similar Messages

  • When a sequence is created in planning and business rules added to it, can

    When a sequence is created in planning and business rules added to it, can be seen in planning and on task lists. However when further rules added, the sequence disappears from planning and from task list and can no longer be seen

    The security on each business rule will affect whether the sequence is visible - the underlying rules determine whether you see the sequence. If just one is not right the sequence will not be visible. Check the security - or add the rules to a project and assign project level security...
    Nick
    Edited by: Nicholas King on May 24, 2011 4:39 AM

  • Unable to create Human Task and Business Rule in JDeveloper

    Hello,
    I am unable to create Human Task or business rule in my JDev... am getting below error in Feedback tab.
    Previously reported error [NoSuchMethodError in o.mds.internal.dt.config.NamespaceConfigBuilder:397]
    And Below is the message log trace.
    Oct 15, 2012 12:58:51 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Oct 15, 2012 12:58:51 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
    Oct 15, 2012 12:58:51 PM oracle.jps.common
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: line 3 column 19.
    Any idea/suggestions would be greatly helpful.
    Thanks,
    Sudheer

    Its due to JDeveloper installation or cache issue...
    I uninstalled completely and installed again. I am able to create Human Task now. Maybe it helps someone.
    -Sudheer

  • Business rules attached to form

    Hi
    Business rules attached to form was disappeared, after we install 9.3.1 shared services services pack1.BR's is there in EAS and i can run them from there.But i can not see them in any where in planning.I am not able to see in the list of BRs, when i am creating new form as well.I checked the securityin EAS for Brs, it is same as before,i added our admin group as well, still ican not see in planning....
    Plz suggest....
    Thanks,

    In EAS, check if the outline selected points to the application under the Planning server.
    Check for the access privileges and locations within EAS.
    Restart EAS, RMI and Planning. Login to Planning as the Planning administrator, then into EAS and check.
    Try using another administrator rather than the default admin.
    HTH-
    Jasmine.

  • Issue in business rules attahed with forms (11.1.2.2.300)

    We have attached Business rules with relavent forms but when we run business rule from form some other rule is run instead.

    Hi Bilal,
    So the Sales_Value rule runs regardless of what rule you attach to the form?
    How are you running the rule? Run on Save, or through a right click menu? Just by clicking the rule on the left?
    Can you confirm that:
    In the Administer Forms and Ad Hoc Grids screen, the "Production_Quantity" rule id definitely attached and that in the Properties tab, you have the correct box ticked for that rule (e.g. Run on Save etc).
    Can you also make sure that the "Sales_Value" rule is NOT present in the form in the same screen?
    Do you get the same results when you run via Smart View?
    Have you deployed the application since you changed the form/Added the rule to the Form?

  • Error Creating New Location in Business Rules

    I have installed System 11.1.1.x EAS Web on Windows / WebLogic. When I log into EAS as 'Admin' I can log into Business Rules and Create a New Location. When I log in as any other user, I get a message that "Business Rules Login Successful" but when I try to create a New Location I get and error. I get to the select location screen. When I expand (+)Essbase, I see my Essbase Server. When I expand my Essbase Server, I get this error message:
    Error Connecting to Essbase Server <server name>
    Detail: Exception occurred. Please check your log files for details.
    hbrserver.log:
    2010-01-14 10:02:44,265 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.util.UserServerInfoXMLParser - Error while reading file server.xml
    2010-01-14 10:02:44,265 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerCmdListener - EAS error exporting HBR data (xto.exportXml) to the xml transfer object.
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Cannot sign on user. Invalid sign on attempt.
    com.essbase.api.base.EssException: Cannot sign on user. Invalid sign on attempt.
         at com.essbase.api.session.Essbase.signOn_internal(Unknown Source)
         at com.essbase.api.session.Essbase.signOn(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement.connect(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadata.getChild(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadata.connect(Unknown Source)
         at com.hyperion.hbr.core.MetadataCmdListener.connect(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
         at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Error connecting to Essbase server <my essbase server>.
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadata - Error connecting to Essbase server <my essbase server>.
    hbrclient.log:
    2010-01-13 18:24:45,883 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Essbase/<my essbase server>.
    2010-01-13 18:29:41,114 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Essbase/<my essbase server>

    John, Thanks for the response.
    The user has all provisions in SS for Essbase and Applications (Server Access as well as Application Administrator). I can explore all the Essbase applications in EAS.
    I have double checked all the provisions and refershed security in EAS. I am still getting the same error.
    Here are a few more interesting things that I have noticed from debugging. The only account with the ability to create "New Locations" or Associate a Business Rule with an Essbase Application is "admin". If I deprovision "admin" in SS, I can no longer create New Locations. If I add the provisions back for "admin" then I can create New Locations. So, that tells me that BR is looking at SS for provisioning of "admin".
    Here is another interesting message in hbrserver.log.
    2010-01-14 11:42:34,377 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving Indirect Users and Groups.
    I get the above message when I 'Right Mouse' on Administration under Business Rules and select "Refresh User List".
    Any additional thoughts?
    Edited by: user3086671 on Jan 14, 2010 9:02 AM

  • How to validate a node list using business rules

    Hello everybody:
    I'm developing with Oracle SOA Suite 11.1.1.6
    I'm using business rules to check some business requirements from my processes and I am having a situation that I like to share with you in
    order to receive some advices to solve it.
    In the rule input variable I have an element with the following structure (example):
    [code]
    <User>
        <Name>Big Boss</Name>
        <ExpertiseLevel>10</
    ExpertiseLevel>
         <DepCode>RRHH</DepCode>
        <AssignedUsers>
            <User>
                <Name>Roman</Name>
                <ExpertiseLevel>5</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Mark</Name>
                <ExpertiseLevel>2</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Jane</Name>
                <ExpertiseLevel>5</ExpertiseLevel>
                <DepCode>RRHH</DepCode>
                 </AssignedUsers>
            </User>
            <User>
                <Name>Lisa</Name>
                <ExpertiseLevel>3</ExpertiseLevel>
                <DepCode>FNZ</DepCode>
                 </AssignedUsers>
            </User> 
        </AssignedUsers>
    </Request>
    [/code]
    Using business rule I need to check that all the users departament code *<DepCode>* match with an specified code, besides another
    validations. As it's showed in the previous XML I have a user list inside the *<User>* node and I have to use a loop to check all the users
    assigned to the Big Boss user. My question is: Which could be the most "efficient" way to make that loop?
    I have been thinking in some options:
    1- Create a ruleset for users validation and make the loop inside the process executing the user ruleset many times as users exist?
    2- Using functions (but this is not an option because I have a requirement that forbid to use functions inside the business rules
    implementation)
    Could anybody tell me how can I use the foreach available in the ruleset advanced mode? Can I execute a desicion table in a loop?
    Thanks in advance

    hi
    I guess you will need a CX.
    when user enters a value to the node,your CX will get fired.
    it will take the current value and check with your database.if value already exists then you have to empty that node in the CX. and show a message that you needs to change the value of node.
    Let me know if you need code.
    send a mail on [email protected]
    I will provide you the code.
    Regards,
    Kaushal

  • How to use  create & ruleExecutionSet in oracle business rules

    I am trying to run the demo example of oracle business rule (car demo) using
    ruleExecutionSet.
    What are the changes thet i have to made in example in order to create & use the ruleExecutionSet to run the car demo .
    with regards
    saleem khan

    you are in the Oracle Forms Forum and your question is related to JDeveloper and Crystal Reports, you think those two are linked to Oracle Forms in anyway??
    Please post your questions in the appropriate Forum.
    Tony

  • Create numbered list for table of contents 5.2.2

    Cannot change format in the table of contents to create a numbered list.

    So you cannot create a numbered list for the Table of Contents in iWork Pages 5.2.2.?
    You cannot make this:
    1.    Name of Chapter One.........................5
    2.    Name of Chapter Two.........................9
    You have to live with
    Name of Chapter One.............................5
    Name of Chapter Tow..............................9

  • Create numbered list paragraph style

    Hi;
    I have Pages version 5.2 installed on my MacPro 10.9.4.
    I am trying to create a numbered list paragraph style w/o success; since the numbered list attribute isn't being remembered as part of the paragraph style.
    Next time i mark something as belong to the paragraph style i created, it shows w/o a number (numbered list isn't set).
    What am i doing wrong?

    Using Pages 5.2.
    Just one of the over 110 missing features:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=424&sid=571e57a6fbee e115ddb08955041013cc&mforum=iworktipsntrick
    Use Pages '09 if you have it.
    Peter

  • Run calc script via business rule

    Hello all,
    I have calc scripts and business rules in my hyperion essbase.
    one of the calc scripts e.g. aggregates some values.
    In the business rule i copied the code from the calc script and this business rule can be executed in the planning tool.
    Now, everytime when i change the code from the calc script, i have to change same things at the business rule.
    And now my question:
    Is it possible to start a calc script with the business rule?
    e.g. content of business rule: execute "calc_aggregate"
    Is there a command?
    Then it would save time and i only have to change the calc script and not both.
    Thanks for your efforts,
    Chris

    1) try to use essbase 9.3 with dataexport command in calc script (this version essbase is compatible with planning versions 9x and 4.1)
    2) you can write (or found in google) UDF function for run system command or (and) export data set
    3) you can run system command from Planning web and run CSC and RUL from essmsh
    ER

  • Business Rules in Web Forms

    Hi
    I am comparitively new to Hyperion Planning 9.3.1 and I have to design a web form in which I want to perform calculation in cells of the web form like adding subtraction of the values in the cells of the form.
    As for my knowledge I need to design Business Rules for this and I am not sure how and where to define these rules in Hyperion Planning 9.3.1 version of Planning.
    Can anyone help me solve this problem as soon as possible.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    For a simple in-sheet calculation like this, you might consider two other solutions:
    1) Use a dynamic calc in your model to subtract the two items. As soon as the user saves the inputs, the results will be displayed, and there is no need to create a business rule, manage security for that rule, etc.
    2) Use custom JavaScript. As soon as the user tabs out of the input cell they can see the results - even before the form saves.
    With the business rule, you'll need to wait for the rule to run before the results can be displayed. It's somewhat like a stored procedure in a relational database. But there are other options.
    Hope this helps,
    - Jake

  • Running Business Rules on Composite Forms

    Hi,
    I'm using Planning v11.1.2, and I am trying to get a business rule to run from a Composite web form. The version and entity are the only prompts in the business rule, and they are shared globally on the component forms. If I put the business rule on the component forms, it doesn't even make an attempt to run on save. If I put it on the composite form, it attempts to run, but fails ("An error occurred while processing this page. Check the log for details."
    Shouldn't business rules be able to run from composite forms? If not, why is the option to put them in there? If so, does anyone have any insight into this problem?
    Thanks,
    Sabrina

    Thanks John, but unfortunately, neither one of those is my issue. The first says I can't have the business rule on the base form if I have it on the composite form. The rule is not on the base form, and it still won't run on the composite form. The second one I don't understand at all. The symptom "Business Rules are not running with composite data forms when the 'Run on Save' option is checked". The cause "The Business Rule is not running when it is run from a base form." Huh? This is a cause? The solution: "You need to attach the Business Rule to the composite form, not just the base form." This would seem to indicate that I have to have the rule on both the base form and the composite form. It doesn't work no matter which way I set it up.
    Furthermore, in testing to see what's going on, I tried taking off the hide prompt option, and the rule does not appear to be taking the entity from the page member on the form (it just displays the last entity chosen).
    Sabrina

  • No Planning server/database is listed in Business Rules Cluster 11.1.2.

    Issue: no planning server is listed under "Planning" located under available servers list while adding a cluster. However Essbase server is listed.
    Have I created a cluster for planning and registered/configured properly? Yes I did after going thru lot
    (you can read more here: Re: Unable to connect to Planning URL after new instal & configuration 11.1.2
    I have configured Planning after Essbase/EAS. I am not sure if this is anything to do or not. I went thru following thread and read up listed doc and did not find any resolution. Error creating planning locations from eas console

    I'm still having this problem. I checked that RMI is running but whenever I try to enter in Planning the logs write that it can't connect to the eas database, and HBRPluginData relational table isn't being filled.

  • Business Rules not visible sometimes-via web and smartview

    We use EPM 11.1.2.
    we have a unique problem-Business rules (associated with forms)sometimes fail to appear either via web or smartview for our users.After logging out and back in,sometimes they appear again.
    If we explicitly 'disconnect all' from smartview, close Excel, and go back in again, then the rules are visible.
    It is becoming hard to tell when the users can or cannot see the business rules.
    All users have the right provisioning-interactive user.
    Has anybody seen this kind of behavior before?
    We had a similar issue a while back-with eas web versus eas desktop client. Oracle gave us a specific fix for the eas business rules problem.
    Edited by: 784749 on Sep 26, 2011 11:59 AM

    Thats the strange thing; We use (native) groups to provision. This works fine for the other 5 users.
    But even if I provision this one user for the Business Rules, they remain invisible to this user. (in Planning)
    I discovered this morning that this user can create a new BR, but when I try to open it in AAS console I get an error
    "Exception occured, Please check your log file for details."
    Unfortunately, the log doesn't provide any more details. (even if I set the level to Debug)

Maybe you are looking for