Reverse Sign in Business rule Parameter

Hi Guys,
Can anyone give me some scenario where we can use reverse sign in  the business rule (Checked). Why we change the sign of the account.
Source Account                      Destination Account                        Reverse Sign
1030200000                             1030200000
Thanks...

Hi,
This helps you to adjust the signs when you are posting values from one ACCTYPE account to another.

Similar Messages

  • Headstart Business Rule IN parameter changes value

    I've created a Business Rule (CEV rule � triggered by create) with following code:
    IN parameters: p_datum_van, p_cat and p_prest
    cursor c_cap is select datum_tot
    from cew_cat_prest
    where . . .
    and p_datum_van between datum_van and datum_tot
    and datum_tot is not null;
    l_datum_tot cew_cat_prest.datum_tot%type;
    begin
    dbms_output.put_line('BR5 p_datum_van '||p_datum_van);
    open c_cap;
    fetch c_cap into l_datum_tot;
    if c_cap%found then
    dbms_output.put_line('BR5 eerste controle p_datum_van '||p_datum_van);
    update cew_cat_prest
    set datum_tot = p_datum_van - 1
    where cat = p_cat
    and prest = p_prest
    and datum_tot = l_datum_tot;
    dbms_output.put_line('BR5 tweede controle p_datum_van '||p_datum_van);
    update cew_cat_prest
    set datum_tot = l_datum_tot
    where cat = p_cat
    and prest = p_prest
    and datum_van = p_datum_van;
    dbms_output.put_line('BR5 derde controle p_datum_van '||p_datum_van);
    The updates are not executed correctly since p_datum_van changes !!!
    Eerste controle: p_datum is correct
    Tweede controle: p_datum has changed its value
    What we do:
    Record 1: van (from) 01/01/2003 tot (to) 31/01/2003
    Record 2: van 01/02/2003 tot <null>
    Add new record: van 15/01/2003
    What we want:
    Record 1: van 01/01/2003 tot 14/01/2003
    Record 3: van 15/01/2003 tot 31/01/2003
    Record 2: van 01/02/2003 tot <null>
    Eerste controle: parameter p_datum_van = 15/01/2003
    Tweede controle: parameter p_datum_van = 01/01/2003
    Remark: if we use the TAPI procedure ups instead of updates, we have the same problem
    How is it possible that an IN parameter changes its value during execution of a procedure ???

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Moving Net Income to Balance Sheet with Business Rule

    Hello,
    The system is BPC 7.0 SP3, on SQL 2008
    I was wondering if anyone else has had this issue.  I created a business rule that moves Net Income Year to Date to the Balance Sheet, and call it through logic.  
    The problem I am having is that all periods are calculating correctly except for Period 12.  The same number that is calculate for Period 11 is posted to Period 12. 
    The Time Dimension looks correct with it's prior and current and next properties.
    Here is the Business Rule setup, all entries you do not see are NULL
    Transformation Group        Source         Source DataSRC     Destination Account   Destination DataSRC                      
    CEYTD                                NetIncome     TOTALADJ             29210                          Input                                                                               
    Reverse Sign                      YTD        Remark          
    False                                    True        CEYTD
    Here is the logic I use to call the stored procedure.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [USD], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [LC], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    If anyone has experienced this issue before, I would really appreciate some help on how to resolve it.
    Thank you,
    Mark Glowczewski

    Hi
    why not try the script logic in doing this it will be much more flexible
    Thanks

  • Smart View error on Launching Business Rule

    Hi ,
    I am in Planning 9.3.1
    After connecting to Planning Webform from Smartview, i am trying to Launch Business Rule attched to the webform
    Hyperion--> Calculation Option--> Rules on form
    It open the new BR Launching window with all parameter selected in the Webform Page drop down list but when i trying to change the Arguments
    by clicking on the icons or if i am clicking on the Launch button getting following error
    "Substitution Vars XML is malfunctioned, can't initialize dialog"
    any idea or tought on this.
    -KK

    There is an article on this issue on "My Oracle Support"
    SmartView "Substitution Vars XML is malformed, can't initialize dialoge.." Message is Displayed after Clicking on the Magnify Button [ID 752508.1]
    Symptoms
    Error message in SmartView after clicking on the magnify button "Substitution Vars XML is malformed, can't initialize dialog.." is displayed.
    Planning web forms with Business Rule (Runtime prompt) set to "Run on Save". When submitting data in SmartView, it will then open a separate window to allow changes to the run time prompt values.
    Cause
    This issue is caused by substitution variables values containing double quotes or the '&' signs.
    Solution
    This is a noted bug, but the following will help as a workaround to the problem:
    1. Login to EAS as administrator.
    2. Next navigate to the enterprise view.
    3. Select the Essbase Servers.
    4. Right-click on your server.
    5. Select Edit.
    6. Select Variables.
    7. Remove double quotes and '&' signs from substitution variable value.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Currency Conversion and Carry Forward

    Hello Guys,
    I have a question related to the Business Rules Currency Conversion and Carry Forward
    I configured the business rule "Currency Conversion" and I selected "Apply to Periodic". What this rules does with the flag selected  is to get the value of the previous month converted and add the factor (Local Currency previos month - Local Currency Actual month) * Exchange Rate of Current Month
    For Example: USD previos month +
    This rule applies perfectly from FEB to DEC but if I run it for January, it does not consider the value of USD previos month and LC previous month for calculations so the result I get is:
    (and of course it´s because it only applies to periodic)
    I need to include into my results this amounts and factor so the question is: Is not a flag I can activate to force the system to act as it does for FEB to DEC periodic ??
    I also set up the Business Rule "Carry Forward" so with this rule Im able to bring values converted in USD from DEC to JAN for example from a Data Source Input, but the problem is that it erase any other value I have in other Data Source members and I need to keep that info.
    Hope you can come with a suggestion.
    Im working with SAP BPC NW 7.5 SP08

    Hello guys,
    Yes, my fiscal year is from JAN to DEC and Im using a YTD app,
    As you mentioned for P&L accounts the rule works fine; but we want to carry forward LEQ accounts. Is there a way to use or configure the currency conversion rule with the flag "Apply to Periodic" to carry forward LEQ accounts for the next following year?
    Here is how we configured our Carry Forward Business Rule
    Source and Destionation account = 4111
    Source and destionation Flow= FCLO
    Reverse Sign= False
    Data Source Type= ALL
    Same Period= False
    Apply to Periodic=False
    Opening Data Source=DatosBase
    Source Data Source = AJ_AC
    Regards

  • Able to edit Business Rules through Excel interface?

    Hi,
    I wonder if there is any way that I can add, modify or delete the Business Rules definitions through Excel interface. In the Admin Console, though the Business Rules interface looks neat, I encounter the following difficulties in editing the Account Transformation definitions:
    1. The check in the Reverse Sign sometimes disappears after the definitions being saved. I have to click something other than Business Rules, like Dimensions, Application, Security, etc, and come back to Account transformation again in order to have the Reverse Sign check being saved.
    2. I'm not able to to check the Reverse Sign in the last definition of Account transformation. It always disappears after being saved. My workaround is to put a dummy definition at the end or not to put that definition, which needs Reverse Sign, at the end.
    3. When I delete some definitions in the middle, the following error pops up after validation.
    [] value does not exists in ID of Account dimension.
    4. I have written my definitions in my design documents in Excel but I'm not able to copy and paste all of them to Admin Console's business rules. I have to fill in each value one by one.
    Or can I simply edit the table dbo.clcCALCAccount_XXXX? Since I used to be a database programmer, I feel it easier to directly edit the database table rather than using the business rules interface.
    Best Regards,
    Sunny

    Sunny,
    It is not according to the book but it is possible to change the business rules directly on the SQL. That is the way i do it sometime... and yes the table you point is the right one. You see other tables for other business rules...
    Usually i just do a copy and paste into excel. Then i change into excel (i also use EVPROs to check if the members are not calculated members...) and then i repaste it into SQL...
    But I have to say, do it at your own risk, as I stated before it is not really advised/safe...
    Nic

  • Error while integrating Business rules (decision service) in BPEL

    hi'
    from some time I am struggling to integrate Business Rules with BPEL, I was successfully able to integrate it also.
    however now once again the same error has started coming.
    If it try to deploy the BPEL process it will give built failed but the BPEL process will come in the BPEL console
    and after passing the parameter it will give unable to find the decision service WSDL file.
    please advice what is the issue some time it works perfectly some time it shows error while deploying.
    error:
    Buildfile: D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\build.xml
    [java] Java Result: 1
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Oracle-SaaS/Downloads/jdevstudio10134/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process OEADetermineApproverBPEL on bg1ws0044, port 80
    [deployProcess] Deploying process D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\output\bpel_OEADetermineApproverBPEL_1.1.jar
    [deployProcess] Successfully deployed the process "OEADetermineApproverBPEL" on server "bg1ws0044" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for OEADetermineApproverBPEL on bg1ws0044, port 80
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Application Deployer for default_OEADetermineApproverBPEL_1_1_HumanTask1 STARTS.
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Copy the archive to C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear begins...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Unpacking default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Done unpacking default_OEADetermineApproverBPEL_1_1_HumanTask1.ear
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:40 Notification ==>Unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Done unpacking workflowform.war
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\applications\default_OEADetermineApproverBPEL_1_1_HumanTask1.ear ends...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Starting application : default_OEADetermineApproverBPEL_1_1_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Started application : default_OEADetermineApproverBPEL_1_1_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/08/05 18:48:42 Notification ==>Application Deployer for default_OEADetermineApproverBPEL_1_1_HumanTask1 COMPLETES. Operation time: 1422 msecs
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] BindWebApp error: javax.management.ReflectionException
    [deployTaskForm]
    BUILD FAILED
    D:\Oracle-SaaS\Downloads\jdevstudio10134\jdev\mywork\OEA\OEADetermineApproverBPEL\build.xml:97: Error while deploying the form on server "bg1ws0044" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         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 oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 8 seconds

    hi',
    I am able to deploy it successfully the problem was with version,the form also got successfully deployed according to the build,
    when I tried to run the JSP page, below is the OC4J Server log and next is the error on the IE.
    OC4J Server log
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    D:\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\jdevstudio10131\j2ee\home\oc4j.jar;D:\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=nandiisa.sonata.local -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=172.23.*|172.23.0.60|*.sonata.local|localhost|127.0.0.1|bg1ws0044 -Dhttps.proxyHost=nandiisa.sonata.local -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=172.23.*|172.23.0.60|*.sonata.local|localhost|127.0.0.1|bg1ws0044 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Aug 6, 2009 2:54:20 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Aug 6, 2009 2:54:20 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 10201 ms.
    Target URL -- http://172.23.19.80:8988/OEA-BPELProcessforApproval-context-root/HumanTask1/form/war/HumanTask1.jsp
    09/08/06 14:54:25 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    WARNING: Code-source C:\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html) has the same filename but is not identical to /D:/jdevstudio10131/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0.
    09/08/06 14:54:30 log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    09/08/06 14:54:30 log4j:WARN Please initialize the log4j system properly.
    <2009-08-06 14:54:30,245> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:125)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.impl.TaskQueryService.<clinit>(TaskQueryService.java:78)
         at oracle.bpel.services.workflow.client.JavaWorkflowServiceClient.getTaskQueryService(JavaWorkflowServiceClient.java:77)
         at humantask1.form._war._HumanTask1._jspService(_HumanTask1.java:92)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    error on the IE.
    500 Internal Server Error
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: com.collaxa.common.util.Base64Encoder     Dependent class: oracle.bpel.services.workflow.verification.impl.VerificationService     Loader: current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0     Code-Source: /D:/jdevstudio10131/integration/lib/bpm-services.jar     Configuration: <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_htmlThe missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/jdevstudio10131/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]     at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]     at oracle.bpel.services.workflow.verification.impl.VerificationService.encryptString (VerificationService.java:1924) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.verification.impl.VerificationService.createTokenFromMap (VerificationService.java:1806) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit> (VerificationService.java:145) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.query.impl.TaskQueryService.<clinit> (TaskQueryService.java:78) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at oracle.bpel.services.workflow.client.JavaWorkflowServiceClient.getTaskQueryService (JavaWorkflowServiceClient.java:77) [D:/jdevstudio10131/integration/lib/bpm-services.jar (from <classpath> in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\public_html), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp:0.0.0]     at humantask1.form._war._HumanTask1._jspService (_HumanTask1.java:89) [D:/jdevstudio10131/jdev/mywork/OEA/BPELProcessforApproval/output/.jsps/ (from *.jsp in D:\jdevstudio10131\jdev\mywork\OEA\BPELProcessforApproval\output\.jsps), by current-workspace-app.web.OEA-BPELProcessforApproval-webapp.jsp22074838:0.0.0]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:453) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:591) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:515) [D:/jdevstudio10131/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [D:/jdevstudio10131/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by api:1.4.0]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:711) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:368) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:866) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:448) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:216) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:117) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:110) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket (ServerSocketAcceptHandler.java:239) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700 (ServerSocketAcceptHandler.java:34) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:298) [D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]

  • 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

  • Validation - Business Rule or/and UJ_Validation

    Hi experts,
    I'm on BPC 7.5 NW, I'm facing problem to construct a simple validation where I need to compare the amount from one parent account against to other. Let's explain the business scenario and after the technical solutions.
    Business Scenario
    Compare the Total Assets is equal to the Total Liabilities. The Total Assets is represented by a parent account "1", the Total Liabilities is represented by a parent account "2". If it is different show a warning.
    This is need to trigger, after the Actual Transactional Data Load + Journals.
    Technical Solution
    Application: Legal
    Dimensions: Empresa (Entity), Conta (Account), Fonte (C_DataScr), Versao (C_Category), Groups, Intco, MesAno (Time), TipMov (Flow), CCusto (User Defined), CLucro (User Defined)   
    1 - Business Rule
    Validation Definition
    Validation Account         Remark                       Validation Operand           Other destination dimension Members                              Validation Tolerance
    ZATIVO_X_PASSIVO     Ativo x Passivo                       =                           CONTA=VALIDATIVPASS,INTCO=SPTOTAL,CLucro=ACTEDUMMY,CCusto=ACTENONE                0
    Account 1                    Flow 1                  Sign 1               Account 2                 Flow 2                       Sign 2             Remark
    1                           TMTOTAL*                  1                          2                        TMTOTAL*                    1                  Ativo x Passivo
    *The TMTotal Flow is a parent from every data on the master data TipMov (flow)
    Validation.lgf
    *RUN_PROGRAM VALIDATION
        CATEGORY = %VERSAO_SET%
        CURRENCY = %GROUPS_SET%
        TID_RA = %MESANO_SET%
        OTHER = [ENTITY=%EMPRESA_SET%]//For More than one other scope parameters: OTHER = [ENTITY=%ENTITY_SET%;INTCO=%INTCO_SET%...]
    *ENDRUN_PROGRAM
    Result
    When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category  not found in application LEGAL"
    2 - Validation with UJ_Validation
    Assign the driver dimension to Legal - in case I used the CONTA (Account)
    Rule Maintenance
    Assigned Member: "1" and "2"
    Use Logic Table
    Dimension = Empresa (Entity)
    Operator "="
    Members = TECSA - This is a parent from every Entities.
    Result
    When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category  not found in application LEGAL"
    3 - Validation with UJ_Validation and BADI
    Assign the driver dimension to Legal - in case I used the CONTA (Account)
    Rule Maintenance
    Assigned Member: "1" and "2"
    Use BAdI Implementation
    BADI_UJ_VALIDATION_RULE_LOGIC
    Create a Enhancement ZATIVO_X_PASSIVO
    Filter
    Rule_Num = 1
    APPSET_ID = ZTECSA
    DIMENSION = CONTA
    Class
    METHOD if_uj_validation_rule_logic~do_validation_logic.
      FIELD-SYMBOLS:
                       <field1> TYPE ANY,
                       <field2> TYPE ANY.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE is_data TO <field1>.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE is_data TO <field2>.
      IF <field1> NE <field2>.
        es_message-message = 'Error in Validation'.
        es_message-recno = 1.
        es_message-MSGTY = 'W'.
      ENDIF.
    ENDMETHOD.
    And add this line to the script
    *START_BADI_UJ_VALIDATION_RULE_LOGIC~DO_VALIDATION_LOGIC
      QUERY = ON
      WRITE = ON
    *END_BADI
    Result
    Data Region:
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CCUSTO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CLUCRO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CONTA WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:FONTE WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INTCO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:TIPMOV WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] MEASURES IS NOT SPECIFIED!
    So what could I make to maintain all my options to do what I need ?
    I appreciate any help
    Best Regards
    Alexandre Mendoza Collepicolo

    Hi,
    Just to check, can you try and hardcode the category in the rules itself...just for a test to see if it is working.
    You can have the category mentioned as CATEGORY=ACTUAL in the rules itself for Other source dimension members and other destination members. J
    This is to check if the validation package runs successfully or not.
    Thanks,
    Sreeni

  • SOA Suite Business Rules: Error caching the Decision Services metadata

    hi ofm users
    im currentntly trying
    SOA Suite 11.1.1.1.0
    on Oracle XE
    on Windows XP Pro
    what im trying is a simple use case of business rule component,
    my service is getWorkStatusByDay, that i implement using
    business rules component using decision table.
    my rule model is (conceptually):
    Day{
         String id;
         String code;//mon,tue,wed,...,sat,sun
    WorkStatus{
         String id;
         String code;//holiday, work
    WorkStatus getWorkStatusByDay(Day):
    is rule service that decides WorkStatus code by Day code,
    eg:
    if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
    if Day.code=sat,sun then we got WorkStatus.code=holiday
    i've successfully created the composite project, using
    rule component, mediator, and exposed it as a webservice
    compiled and deployed ok.
    but when i try to run the service using soapUI WS tester,
    i'm getting error in the console, see stacktrace below.
    im able to reproduce the error by deploying the project
    to another computer with a same spec as above.
    So is there any solution to this ? how to fix this issue,
    as this is a very basic sample scenario.
    Any information will be appreciated,
    as im looking forward to evaluating Oracle Business for a client project :)
    [2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
    ORABPEL-36109
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
    <XML_IDENTIFIER> ...<IDENTIFIER> ...
    at line 10 column 49 in main
         at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
         at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
         at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
         at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
         at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
         at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
         at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
         at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
         at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
         at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
    [2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
    oracle.fabric.common.BusinessFaultException
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
         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:597)
    -----

    hi ofm users
    im currentntly trying
    SOA Suite 11.1.1.1.0
    on Oracle XE
    on Windows XP Pro
    what im trying is a simple use case of business rule component,
    my service is getWorkStatusByDay, that i implement using
    business rules component using decision table.
    my rule model is (conceptually):
    Day{
         String id;
         String code;//mon,tue,wed,...,sat,sun
    WorkStatus{
         String id;
         String code;//holiday, work
    WorkStatus getWorkStatusByDay(Day):
    is rule service that decides WorkStatus code by Day code,
    eg:
    if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
    if Day.code=sat,sun then we got WorkStatus.code=holiday
    i've successfully created the composite project, using
    rule component, mediator, and exposed it as a webservice
    compiled and deployed ok.
    but when i try to run the service using soapUI WS tester,
    i'm getting error in the console, see stacktrace below.
    im able to reproduce the error by deploying the project
    to another computer with a same spec as above.
    So is there any solution to this ? how to fix this issue,
    as this is a very basic sample scenario.
    Any information will be appreciated,
    as im looking forward to evaluating Oracle Business for a client project :)
    [2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
    ORABPEL-36109
    Error caching the Decision Services metadata.
    Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
    Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
    <XML_IDENTIFIER> ...<IDENTIFIER> ...
    at line 10 column 49 in main
         at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
         at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
         at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
         at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
         at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
         at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
         at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
         at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
         at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
         at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
    [2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
    oracle.fabric.common.BusinessFaultException
         at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
         at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
         at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
         at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
         at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
         at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
         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:597)
    -----

  • 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

  • ADF BC, how implements business rules?

    Hi.
    I am new in oracles technology. Please help me understand how implements business rules.
    For example: I have two tables operation(id,code) and operation_item(id, operation_id, code). I create entities objects for it: OperationEntity, OperationItemEntity and association: OperationItemToOperation. Then create entity-based view object OperationById which have bind parameter id for find operation by id. I also create entity-based view object OperationItem and view link OperationItemToOperationLink.
    My ApplicationModule contains OperationById and OperationItem via OperationItemToOperationLink
    I want implements "clone" method at OperationById view for current row. This method create copy selected row from operation table and copy all rows from operation_item table where operation_item.operation_id = operation.id.
    I add method createCurrentRowClone to OperationById:
    public void createCurrentRowClone() {
    OperationByIdRowImpl currentRow =
    (OperationByIdRowImpl ) getCurrentRow();
    OperationByIdRowImpl newRow = (OperationByIdRowImpl ) createRow();
    insertRow(newRow);
    newRow.setAttributes(currentRow);
    //TODO create copy for all rows from OperationItem
    //??? how get OperationItem instance
    and I add method clone to OperationItem:
    public void createClone {
    // for all row from OperationItem create clone
    but I don't understand how get OperationItem instance in OperationById scope. I have method getOperationItems() in OperationByIdRowImpl class which return RowIterator, and it give me instances of OperationItemRowImpl class, but not OperationItem with rows where operation_item.operation_id = operation.id
    Thanks in advance

    For realizations "clone" method which make copy for current row from OPERATION table and all rows from OPERATION_ITEM table where
    operation_item.operation_id = operation.id I moved realisation business logic from View Object to Entity.
    For it enough:
    1) entities objects: OperationEntity, OperationItemEntity;
    2) association for this entities: OperationItemToOperation;
    3) entity-based view object: OperationById which have bind parameter "id" for find operation by ID;
    4) application module: ApplicationModule;
    I add method createCurrentRowClone to OperationByIdImpl class. It just call createClone method for current row:
    public void createCurrentRowClone() {   
    OperationByIdRowImpl currentRow = (OperationById) getCurrentRow();
    currentRow.createClone();
    method createClone in OperationByIdRowImpl class call createClone method from entity layer:
    public void createClone() {
    getOperationEntity().createClone();
    method createClone in OperationEntityImpl class make new row and call createClone for all row from OperationItemEntity:
    public void createClone() {
    OperationEntityImpl newRow = (OperationEntityImpl) getDefinitionObject().createInstance2(
    getDBTransaction(),null);
    newAtm.setCode(getCode());
    //create copy for all rows atm_operation
    RowIterator itemIterator = getOperationItemEntities();
    while ( itemIterator .hasNext() ) {
    OperationItemEntity itemRow = (OperationItemEntity ) itemIterator.next();
    itemRow.createClone(newRow);
    and finally method createClone(OperationEntityImpl operation) in OperationItemEntityImpl class make new row in OPERATION_ITEM table
    public void createClone(OperationEntityImpl operation) {
    OperationItemEntityImpl newItem = (OperationItemEntityImpl) getDefinitionObject().createInstance2(
    getDBTransaction(), operation);
    newItem.setCode(getCode());
    If you have another solution, please post it here.

  • Unable to associate an outline for business rule

    Hi All,
    I am not able to associate an outline (either essbase or planning) to validate a business rule. The hbrserver.log from epmsystem1/diagnostics/logs/eas
    says below output.
    2012-03-28 17:57:40,192 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Error connecting to Essbase server http://<servername>:19000/aps/Essbase?clusterName=EssbaseCluster-1.
    2012-03-28 17:57:40,193 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadata - Error connecting to Essbase server EssbaseCluster-1.
    2012-03-29 09:57:13,209 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: EPMCSS-00502: Failed to get group with identity native://DN=cn=f5ef9686a5e205bd:7ad025f2:12202d6e25a:-7ffe,ou=Groups,dc=css,dc=hyperion,dc=com?GROUP. Group not found in configured user directories. Check user directory.
    2012-03-29 09:57:13,211 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2012-03-29 09:57:13,283 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    2012-03-29 09:57:13,354 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    2012-03-29 09:57:13,419 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: EPMCSS-00502: Failed to get group with identity native://DN=cn=f5ef9686a5e205bd:-1c3b8cd:11ffef2e704:-7ffc,ou=Groups,dc=css,dc=hyperion,dc=com?GROUP. Group not found in configured user directories. Check user directory.
    2012-03-29 09:57:13,420 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2012-03-29 09:57:13,725 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server ojhyperiondev01.mtn.com.ng.
    2012-03-29 09:58:25,363 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: EPMCSS-00502: Failed to get group with identity native://DN=cn=f5ef9686a5e205bd:7ad025f2:12202d6e25a:-7ffe,ou=Groups,dc=css,dc=hyperion,dc=com?GROUP. Group not found in configured user directories. Check user directory.
    2012-03-29 09:58:25,364 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2012-03-29 09:58:25,449 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    2012-03-29 09:58:25,516 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    2012-03-29 09:58:25,579 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: EPMCSS-00502: Failed to get group with identity native://DN=cn=f5ef9686a5e205bd:-1c3b8cd:11ffef2e704:-7ffc,ou=Groups,dc=css,dc=hyperion,dc=com?GROUP. Group not found in configured user directories. Check user directory.
    2012-03-29 09:58:25,579 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2012-03-29 09:58:25,694 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server ojhyperiondev01.mtn.com.ng.
    2012-03-29 10:00:08,562 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Cannot sign on as user already signed on.
    com.essbase.api.base.EssException: Cannot sign on as user already signed on.
         at com.essbase.api.session.Essbase.signOn(Unknown Source)
         at com.essbase.api.session.Essbase.signOn_internal(Unknown Source)
         at com.essbase.api.session.Essbase.signOn(Unknown Source)
    Can anybody help me please.. I tried with newly created admin user with all the privillages.. still no luck.
    Many Thanks

    Is this 11.1.2.1 by any chance?
    We had this as well, but resolved the issue with this KB:
    Error: "Error connecting to Essbase server EssbaseCluster-1" When Trying to Connect Business Rules to Essbase [ID 1328483.1]
         Modified 25-JUL-2011 Type PROBLEM Status PUBLISHED     
    In this Document
    Symptoms
    Cause
    Solution
    References
    Applies to:
    Hyperion Essbase - Version: 11.1.2.1.000 and later [Release: 11.1 and later ]
    Information in this document applies to any platform.
    Symptoms
    in version 11.1.2.1, after switching Essbase from using host name to a cluster name, in Essbase Administration Services (EAS) it is no longer possible to navigate lower than "EssbaseCluster-1" in the tree of Locations in Business Rules. The following error occurs:
    "Error connecting to Essbase server EssbaseCluster-1".
    This happens with both pre-existing and new business rules.
    Cause
    This issue has been identified as unpublished BUG 11783671 - Unable To Select Outline For Essbase Rule If Essbase Cluster1 Is The Server
    Solution
    The current workaround is:
    1. Search for the file named 'essbase.properties' under %EAS_HOME%. Note that normally on a windows setup %EAS_HOME% points to the following path:
    ":\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas"
    If it does not exist, create a blank text file and name it 'essbase.properties' and place it under %EAS_HOME%\server\bin
    2. Open it in notepad and add the following setting to the beginning of the file:
    aps.resolver.urls=http://<APSSEVERNAME>:APSPORT/aps
    e.g aps.resolver.urls=http://server1:13080/aps
    NOTE: The line is case sensitive
    3. Save the file and restart the EAS server.

  • Customizable checkbox at IF/THEN Business Rule Editor

    Hello.
    Does anyone know what "Customizable" checkbox is for? It can be found at Business Rule Editor on IF/THEN view: if you click any test or action parameter you will see in in popup. I have not found clues in documentation.
    Here is the scrrenshot: View image: business rules

    I have found this section in documentation of the rule engine
    1.3.5.2 Constraint Definitions
    Constraint definitions let you mark portions of rules as customizable. For example, the discount to offer to a Gold customer could be constrained to be within a specified range such as 5 to 25 percent. Using Rule Author, by defining a constraint, you can select a value from within the specified range using a special interface that does not allow you to modify the entire rule.
    My thought is that if you check the box you can fine grain a specific rule on runtime.

  • Help PLEASE !!!!!!!!!! Accout Transformation Business Rule

    Hi<br>
    I am trying to use the account transformation Business Rule in BPC 7 for MS. I have stored data gainst the the following <br>
    application = legal<br>
    period = 2009.006<br>
    category = Actual<br>
    ConsolView = LC<br>
    Intco = I_9005<br>
    Measure = Periodic<br>
    DataSourceL = input<br>
    Account  =650110 and 650115<br>
    I have built a report to display this data and to display account 100000
    <br>
    My logic to call the rule is
    <br>
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT( '%APP%', 'ACTUAL' ,'LC',  %SCOPETABLE%, '%LOGTABLE%', 'ABC',99 )<br>
    *Commit
    <br>
    I run my logic in debugger and in the Region tab I set Category to Actual and the Time to 2009.006
    <br>
    In the Business Rule I have a transformation group of ABC and in it I have two rows. I have tried many combinations of parameter values but generally I set the source account to 650110 and 650015 and the destination account to 100000 and leave all other fields empty.
    <br>
    When I run there are no error messages but no data is moved to account 100000.
    <br>
    The log contents are;
    <br>
    <br>
    Start time --->5:01:13 PM  -  Date:26/06/2009  (build code:254)
    <br>
    <br>
    <br>
    User:EXTENDTEC\BPC_SYSADMIN
    <br>
    Appset:Austereo
    <br>
    App:Legal
    <br>
    Logic mode:1
    <br>
    Logic by:
    <br>
    Scope by:
    <br>
    Data File:
    <br>
    Debug <br>
    File:C:\BPC\DATA\WebFolders\Austereo\Legal\PrivatePublications\BPC_SYSADMIN\TempFiles\DebugLogic.Log
    <br>
    Logic File:Acct Transform ABC.LGF
    <br>
    Selection:DIMENSION:Category|ACTUAL|DIMENSION:Time|2009.006|
    <br>
    Run mode:1
    <br>
    Query size:2
    <br>
    Delim:,
    <br>
    Query type:0
    <br>
    Simulation:0
    <br>
    Calc diff.:1
    <br>
    Formula script:
    <br>
    Max Members:
    <br>
    Test mode:0
    <br>
    Is Modelling:1
    <br>
    Number of logic calls:1
    <br>
    <br>
    Call no. 1, logic:C:\BPC\DATA\WebFolders\Austereo\AdminApp\Legal\Acct Transform ABC.LGF
    <br>
    <br>
    Building sub-query 1
    <br>
    <br>
    Query Type:0
    <br>
    Max members:
    <br>
    Executing SPRUNCALCACCOUNT  'Legal', 'ACTUAL' ,'LC',  SPSCOPE_428552, 'SPLOG_486004', 'ABC',99
    <br>
    <br>
    SPRunCalcAccount Version 7.0.112
    <br>
    <br>
    Time to run stored procedure:.6 sec.
    <br>
    call 1 completed and data posted in 0.7 sec.
    <br>
    Run completed in 0.7 sec.
    <br>
    <br>
    End time --->5:01:14 PM  -  Date:26/06/2009
    <br>
    <br>
    I have spent two days trying to get this thing to work. Am I correct in assuming the purpose of this is to copy data from the source account to the destination account. Can somebody please tell me whether there are other factors that control a business rule.
    <br>
    I have spoken to most of the Australian BPC experts and none have successfully invoked the SPRUNCALCACCOUNT. I have read all available documentation and not found an explanation that sheds light on what I am doing wrong. Has anyone successfully used theis Business rule?
    <br>
    Thanks in advance
    <br>

    Hi Bronwen
    Whether you included the System_contants.LGL and Consolidation_Library.LGL in the logic file.
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB CONSOLIDATION_LIBRARY.LGL
    Syntax used & its works.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%APP%],[ACTUAL],[LC],[%Scopetable%],[%Logtable%],[ABCC])
    Give a try!
    Note: Use the Square brackets [[%APP%]] in the syntax.
    after posting this thread, syntax is showing as URL.
    Cheers
    Uma
    Edited by: Uma Swaminathan on Jun 26, 2009 9:37 AM

Maybe you are looking for