Business Rule Delete Problem

Problem definition:
We have a business rule according to CDM ruleframe, but have a
problem when we want to delete a row from a table. The problem
occurs when the business rule is validated. The
delete operation works fine when the business rule is not
validated.
Business rule: BR_FELT_0006_DEL
Table: SLN_FELTER
CAPI-package: SLN_FELTER_CAPI
Trigger attr.: After triggering statement on DELETE operation
The definition of this delete rule is the same as the definition
in the Headstart demo application.
This is a simple reconstruction of the error problem:
SQL> delete from sln_felter
2 where opve_oppgave_nr = 'RF-1061'
3 and opde_oppgavekode = 1014
4* and inar_inntektsaar = 2000
SQL> /
delete from sln_felter
FEIL pe linje 1:
ORA-20999:
ORA-06512: ved "HST65.CG$ERRORS", line 565
ORA-06512: ved "SLNHL6.CG$SLN_FELTER", line 474
ORA-20998: Transaction Failed
ORA-06512: ved "HST65.QMS$ERRORS", line 128
ORA-06512: ved "HST65.QMS_TRANSACTION_MGT", line 822
ORA-06512: ved "SLNHL6.CG$ADS_SLN_FELTER", line 51
ORA-04088: feil ved utfxring av
triggeren 'SLNHL6.CG$ADS_SLN_FELTER'
ORA-06512: ved "SLNHL6.CG$ADS_SLN_FELTER", line 43
ORA-04088: feil ved utfxring av
triggeren 'SLNHL6.CG$ADS_SLN_FELTER'
SQL> @d:\hsd65\hst\scripts\messages
Feil QMS-00100: Ukjent feil ORA-01403: ingen data ble funnet:
qms_transaction_mgt.perform_business_rule
Kontakt brukerkontakten.
PL/SQL-prosedyren ble fullfxrt.
Error message should have been:
SLX-00367: <p1>: Feltet kan ikke slettes hvis det har pestand
fra skattyter
We have debugged the PL/SQL code and the error occurs in the CDM
ruleframe generated
CAPI-definition and not in the business rule itself. This is a
part of the code where we think the error occur:
procedure br_felt_0006_del
is
l_rule_validation_result boolean := true;
begin
l_rule_validation_result := br_felt_0006_del
( g_current_row.opde_oppgavekode
, g_current_row.inar_inntektsaar
, g_current_row.id
if not l_rule_validation_result
or l_rule_validation_result is null
then
qms_transaction_mgt.process_rule_violation
( p_br_name => 'BR_FELT_0006_DEL'
, p_msg_code => 'SLX-00367'
, p_display_label => display_label
, p_table_name => 'sln_felter'
, p_table_rowid => get_rowid <------ When this procedure
-- is calling the get_rowid function
); -- then we get the ORA-01403: No data found.
end if; -- Business Rule is violated
end br_felt_0006_del;
|
|
|
function get_rowid
return rowid
-- Purpose Return rowid of the current row
-- Usage From br procedures
is
l_rowid rowid;
begin
if g_current_row.the_rowid is not null
then
l_rowid := g_current_row.the_rowid;
else
select rowid     <--- We suspect this is a
-- problem in CDM ruleframe,
into l_rowid -- because a deleted row is read !!!
from sln_felter
where id = g_current_row.id
g_current_row.the_rowid := l_rowid;
if g_stack_index is not null
then
g_felt_tbl(g_stack_index).the_rowid := l_rowid;
end if; -- g_stack_index
end if; -- g_current_row.the_rowid
return l_rowid;
end get_rowid;

We also have a problem with the delete rule.
In our case we have two tables persons and reservations.
A person can place more reservations. The foreign key between them two is cascade delete.
Our code is
Purpose Persons can only be deleted three years after they made the last reservation
Remarks
Revision History
When Who
Revision What
30-01-2002 REPOWN
1.0 Using utility HSU_BRTR (revision 6.5.1.3)
04-01-2002 MAST     
1.1 Code toegevoegd
l_rule_ok boolean := true;
begin
trace('br_klt002_del (f)');
-- for instructions, see the Headstart User Guide
l_rule_ok := not ati_rsg_capi.exists_row
( p_where => 'trunc(reservationdate ) >= add_months(trunc(sysdate),-36) and psn_id = '||p_old_id );
--also tried
--l_rule_ok :=  not ati_rsg_capi.exists_row
-- ( p_where => 'trunc
--(reservationdate ) >= add_months(trunc(sysdate),-36) and
--psn_id = '||p_id   );
return l_rule_ok;
exception
when others
then
qms$errors.unhandled_exception(PACKAGE_NAME||'.br_klt002_del (f)');
end br_klt002_del;
The problem is that this doesn't work. We are allowed to delete every person, even if they have a reservation yonger than three years.

Similar Messages

  • Unable to get to Business Rules in Enterprise View

    Hi to all! :) I successfully connected to the Essbase Server but when I click on Business Rules folder in Enterprise View, I get the message: +"Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules"+. I also clicked "Get detail" in the error message box and it said: +"Error creating DBConfig object. Please check if there are exceptions in the log file and if HBR is configured correctly".+ I checked my permissions in Shared Services and I am sure that I am provisioned to use Business Rules; and moreover, a few days ago I worked with business rules without problems, and now I have this problem and I cannot guess what might cause it and how to fix it. I would be very grateful for any hints!

    Hi,
    We have the same problem. While I know restarting the aas service fixes it, it recurs quite frequently. Does anyone know of a more permanent fix for this problem?
    Thanks.

  • BPM error when opening a business rule task

    I am using a created installation of BPM 12c from the ( summer camp ).
    I am in the BPM composer and I now get the following error whenever I do a right click on a bussiness rule task and then select Open Business Rule
    "A connection to the server has failed. (status=500)". This happens on all the business rule task, in all projects.
    I can open the rule via de Project Home, tabe business rule without problem.
    in the AdminServer-diagnostic.log I see the following error whenever it happens:
    [2015-03-02T01:19:02.192-08:00] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 07a7f8c3-6942-427c-b8c1-658f66c0fea9-00001043,0] [APP: BPMComposer] [DSID: 0000KjPddG7Fw000jzwkno1KvmvP000006] Could not find partial trigger showDoc_cb from RichTable[org.apache.myfaces.trinidad.component.UIXTable$RowKeyFacesBeanWrapper@262f2fe1, id=t1NarrativeActivityTable] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
    The java version of the installation is:
    [oracle@soabpm-vm ~]$ java -version
    java version "1.7.0_55"
    Java(TM) SE Runtime Environment (build 1.7.0_55-b13)

    Check this out:
    Cannot open WebForm in 12c BPM Composer (Doc ID 1950751.1)

  • Business rules security in task lists

    Hi experts,
    I have question regarding security in business rules, the problem is that we have, lets say, 10 users who have all access to a tasklist, but not all of them have access to the same forms / business rules. The ideal would be that if a user has no access to a form, it doesnt show in the tasklist, but he gets to see the form in the tasklist and when he opens it he receives an error message. We can get the user to accept that. But with business rules, the case is different: when a user clicks on a business rule on the tasklist he has no access to, instead of receiving a message denying access, he gets a screen with all the business rules he does have access to, and checkboxes to select the plan type the BR will run on, which is unacceptable and confusing. There are many users and creating custom tasklist for each one of them would be too hard to mantain. Is there a way to achieve a better solution for the user? Thanks in advance for your comments.

    Hi,
    I don't think of any other way.
    The user have access to task list so it will show all tasks, and if the user don't have access to any particular web form it will throw an error informing same only once user open the web form.
    For Business Rule it will show all rule/calc scripts for which user have access too, if the user don't have access to rule attached to that task.
    I had same requirement and then after trying for some time, we provided education about the same to the users.
    Regards,
    -SM

  • Other Delete Business Rule Problem

    Hello everybody
    I have a problem with Oher delete business rules and the problem is for getting rowid for a deleted row and it causes ther error : no data found.
    I solved this problem in this way
    qms_transaction_mgt.process_rule_violation
    ( p_br_name => 'BR_TEAM004_DEL'
    , p_msg_code => 'MS-00184'
    , p_display_label => display_label
    , p_table_name => 'ms_teams'
    , p_table_rowid => null /* get_rowid */
    In fact, I use null instead of get_rowid for this kind of rull. Is it a good way? Have every body any better way?
    Thanks
    Hassan

    Hassan,
    This is a known bug in the original Headstart 6i release. This bug was corrected in Headstart Patch 6.5.2.1 which is available via the Headstart Supplement Option. The Supplement Option can be purchase via your local consulting organization or the Oracle store. You will be given access to a portal from which you can download patches.
    Regards,
    Lauri

  • Problem in setting participant in business rule

    Hi All,
    I am facing problem while setting the target participant in business rule. I want to route the task to the target participant for the adhoc routing in serial process .It's not taking the value as participant name.
    I have 5 participant for approve d task .But when I am writing
    If PreviousOutcome.outcome=="'REJECT'"
    then
    call GOTO(participant:"CTU")
    as CTU is one of the participant in the process.
    But it gives the error while deploying the application as unknown participant .Please tell me how come I route to different participant as per the condition in serial routing.
    please help me.
    Thanks & Regards
    Aseet

    Multi-post:
    http://forum.java.sun.com/thread.jspa?threadID=727161&tstart=0

  • Problem with two of my business rule triggers

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    hmmm...
    Try resetting it again and restoring with the same backup file...
    Does the phone work properly once you've reset it before you try restoring? A lot of people here have experienced problems restoring from backups... could be worth forgetting about it and starting from scratch.
    You could try contacting your nearest Nokia Service Centre (www.nokia.com/repair) and see if they can do anything - it may need the firmware reinstalling or upgrading... possibly... give them a call though and see.
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • Business Rule - Problem with Validation Execution

    I'm running into an issue where conditional Validation Execution is not working as expected. The background is that i have an Entity Object containing a few string attributes on which i must apply Regular Expression business rules to make sure only characters in a certain range is set. I am using a Not Matches regex on the following:
    .*[^\u0020-\uD7FF].*1 attribute is required, 2 are optional. The problem I am experiencing is with the 2 optional attributes.
    Since these are optional, I intended to use the Validation Execution tab so that the Rule is executed only when the attribute is not null. For example, here is what i tried for an attribute named Comments:
    Comments != nullNo validation occurred when I entered an invalid value, such as a string containing line breaks, in a corresponding ADF Faces page. For the heck of it, i experimented by setting the validation execution to the opposite of what i should be - in other words, trigger validation if the attribute is null, such as:
    Comments == nullWith this, the validation occurred as expected.
    Is this a bug, or am I misunderstanding something? I'm not particularly good with RegEx - is it possible this is due to some nuance of the expression?
    Version: JDeveloper 11.1.1.6.
    Thanks-
    -george

    i'm not sure if this is the correct answer or a workaround to the issue i had asked about. Given that caveat, if anyone else ever runs across this thread, what i found worked was to not use the attribute name in the Validation Execution tab's expression, but instead to just newValue as in the following:
    newValue != null

  • Problem with business rule

    Hi all,
    I have a problem with a business rule (BR) deployed as a standalone Descision service.
    the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
    the two conditions are confugured (i.e. <50 and >=50).
    the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary></part></selectionFailure></bpelFault>
    it seems like an output of the business rule used by the assign after the invoke activity is empty.
    But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
    Any help please?

    In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
    cu
    Andreas

  • Problem with FIX-Statement in Business Rule

    Hello,
    ich have a business rule with two nested FIX-Statements.
    I calculate depending on the month in the runtime-prompt a forecast for this month. After that i fix on that month an clear some specific accounts. But some of these accounts still have data.
    they are in the cleardata section and they are children of FiBuKonten from the first fix. When i leave out the @CHILDREN("FiBuKonten") in the first fix the accounts are cleared as excepted, but i need that fix because not all accounts are part of this forecast.
    I changed everything to work as a calc-script and the same problem appears, on dev and prod database.
    Why are some accounts cleared while others not ? Really misterious!
    Here is the rule
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M",@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    FIX([TEBIT_RTP_Period])
         CLEARDATA "41000000";
         CLEARDATA "41100000";
         CLEARDATA "41200000";
         CLEARDATA "41990000";
         CLEARDATA "41000900";
         CLEARDATA "41096000";
         CLEARDATA "41196000";
         CLEARDATA "41296000";
         CLEARDATA "41940000";
         CLEARDATA "42000000";
         CLEARDATA "42100000";
         CLEARDATA "42200000";
         CLEARDATA "42099000";
         CLEARDATA "42199000";
         CLEARDATA "42299000";
         CLEARDATA "42990000";
         CLEARDATA "41918000";
         CLEARDATA "41100900";
         CLEARDATA "42091000";
         CLEARDATA "42918000";
         CLEARDATA "54000000";
         CLEARDATA "54009000";
         CLEARDATA "54009900";
         CLEARDATA "54009600";
         CLEARDATA "54130200";
         CLEARDATA "93541175";
         CLEARDATA "54001000";
         CLEARDATA "54001900";
         CLEARDATA "54014000";
         CLEARDATA "54019000";
         CLEARDATA "54021000";
         CLEARDATA "54021900";
    ENDFIX
    ENDFIX
    Thx for your help.
    Greets
    Kevin

    Does it make a difference when a dimension has dynamic calc members and i dont fix on that dimension to fix on the Level 0 members of that dimension ? The result should be the same in my eyes.
    SGF is dense. I found out that everytime i the fix includes that first member M_124100 the error occoured.
    I changed the rule in the form that i split the FIX Statement. And now it works without the error and with all data cleared. Even when i don`t reorder the dimension SGF.
    Again thanks for your help.
    Greets
    Kevin
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M")
    FIX(@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    ENDFIX
    FIX([TEBIT_RTP_Period])
    CLEARDATA "41000000";
    CLEARDATA "41100000";
    CLEARDATA "41200000";
    CLEARDATA "41990000";
    CLEARDATA "41000900";
    CLEARDATA "41096000";
    CLEARDATA "41196000";
    CLEARDATA "41296000";
    CLEARDATA "41940000";
    CLEARDATA "42000000";
    CLEARDATA "42100000";
    CLEARDATA "42200000";
    CLEARDATA "42099000";
    CLEARDATA "42199000";
    CLEARDATA "42299000";
    CLEARDATA "42990000";
    CLEARDATA "41918000";
    CLEARDATA "41100900";
    CLEARDATA "42091000";
    CLEARDATA "42918000";
    CLEARDATA "54000000";
    CLEARDATA "54009000";
    CLEARDATA "54009900";
    CLEARDATA "54009600";
    CLEARDATA "54130200";
    CLEARDATA "93541175";
    CLEARDATA "54001000";
    CLEARDATA "54001900";
    CLEARDATA "54014000";
    CLEARDATA "54019000";
    CLEARDATA "54021000";
    CLEARDATA "54021900";
    ENDFIX
    ENDFIX

  • Problem with Business Rules in OBPM 10.3.1 Enterprise for WebLogic

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

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

  • Problem in mapping Task payload parameters to Oracle Business Rules facts

    Hi all,
    We are using complex types from our project XSDs inside the Human Task payload. We intend to use these Human Task payload parameters to build routing rules using the Oracle Business Rules interface. Our observation is that when the complexity of these complex types increase, the business rules editor does not show these as facts that can be used in formulating rules.
    Has anybody faced such a problem before. Any help is appreciated.
    We are using the following link to add routing rules –
    http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/bp_decision.htm
    Version details :
    ADF Business Components     11.1.1.60.13
    Java(TM) Platform     1.6.0_29
    Oracle IDE     11.1.1.5.37.60.13
    SOA Composite Editor     11.1.1.5.0.01.74
    Thanks,
    Yamini.

    Problem solved. There was an element in the xml schema that had nillable = true. Because of this the XML Fact for that element would no longer be available in the BPEL Process. Removing the nillable and generating the XML Facts again solved the missing variable problem.

  • Validation Business Rule Problem

    Hi Community
    I´m working with SAP BPC 7.0 NW SP09 Consolidation, the problem I have is when I execute the validation package, the result of the Validation Rule because the business rule don´t respect the number sign of the value calculated.
    For example I try to confirm this formula ASSETS = LIABILITIES + EQUITY
    ASSETS      AST   1000
    LIABILITIES  LEQ     800
    EQUITY        LEQ     400
    RESULT                  -200
    BUSINESS RULE      200
    I was investigating all the posible combinations of dimensions, and I found it could be possible that this error occurs when (Liabilities + Equity) > Asset.
    Rule                                   
    VAL01     ASSETS=LIABILITIES                         
    Rule Details                                   
    Validation Account     Account 1     Flow 1     Sign 1     Account 2     Flow 2     Sign 2     REMARK
    VAL01     ASSETS     F_CLO     1     LIABILITIES     F_CLO     1     
    ASSETS and LIABILITIES are configures as part of dimlist property, where Liabilities have all the equity accounts too.
    Hope anyone help me with this problem
    Thanks in advance

    Hello Ruben
    If Account: VAL01 is 'AST' account than Validation Business Rule will give 200 as the result.For 'LEQ' result will be -200.
    I think the business rule is working as expected.
    Hope this help.
    Regards
    Venkatesh KPS

  • Delete obsolete business rules

    Hi experts,
    I'm currently working with Hyperion Fusion Edition 11.1.1.2.
    In calculationmanager I created 10 business rules for an application.
    I then deleted all of them in one step (marked all then right click "delete").
    The intenet explorer browser freezed showing "DELETE".
    I then closed the browser and logged back in, imported the new 10 business rules to the application and deployed them.
    It is very wierd that I still have the old 10 business rules which I deleted plus the 10 new business rules.
    The old business rules are not to be found either in system-,deployment-, or list-view but can be found in planning application.
    Is there workaround to delete the 10 old business rules which I cannot see in calculation manager and still exist in planning?
    Many thanks
    Ed

    Hi,
    There is a Java API available for Oracle Business Rules, see: http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10663/toc.htm. E.g. for adding buckets to bucketsets, adding or adding, deleting, or reordering rules in A RuleTable.
    Kind regards, Ronald

  • Business Rule problem

    Here is a problem I am not quite sure how to solve.
    Given a collection of objects of type X, find out if there are two objects in that collection that meet certain criteria.  For example, find out if there are two objects X1 and X2 such that X1.city=X2.city.
    How does one go about writing a rule for this?
    Thank you all,

    <p>Thank you!</p><p>I try, try, and try again and finally I solved the problem!:-)</p><p> </p><p>I remember POV axis contains another information aboutversion.</p><p>In detail, I have two form (A and B) identical except twoparameter: version in PAGE axis and account information in POVaxis.</p><p>FormA contains "Mem1_A" in POV and version"Ver_A" in POV, while</p><p>FormB contains "Mem1_B" in POV and version"Ver_B" in POV.</p><p> </p><p>At this point, I can retrieve correctly "Mem1_A" or"Mem1_B", through run-time prompt with local variablecalled "FirstMember". I added another local variable,called "SecondMember", with feature "use byvalue" and set-up with a value. I added following code atbusiness rule:</p><p> </p><p>[FirstMember] (</p><p>    IF (@ISMBR("Ver_A"))</p><p>        [SecondMember] ="Mem2_A";</p><p>    ELSEIF (@ISMBR("Ver_B"))</p><p>        [SecondMember] ="Mem2_B";</p><p>    ELSE</p><p>        ... at thispoint you can't arrive... if you set in PAGE axis only the versionsused in IF...ELSEIF</p><p>    ENDIF</p><p>)</p><p> </p><p>In this way business rule retrieve correct value for FirstMemberand set-up correct value for SecondMember. In business rule code"core" I used only FirstMember and SecondMember to referaccount dimension.</p><p> </p><p>I hope this explanation is clear enough... I don't speak aperfect English :-(</p>

Maybe you are looking for