Rule base issue

Hi there,
I've been building a rule base and when I test the following rules and select "Aggregate Format" as the preferred family of format, it concludes that the product does not meet the preference requirements for Standard, Horizontal, or Linear formats since the preferred family of format is Aggregate. Clearly, it should meet the preference requirements but there must be an issue with my rules. Any ideas on how to solve this issue? what tests to run?
the product meets the preference requirements for Standard, Horizontal, or Linear formats if
    (1) the product’s first choice is the Standard, Horizontal, and Linear formats or
        (2) the manufacturer's product = “able to use multiple format styles” and
        (2) the preferred family of format = “Standard, Horizontal or Linear”
    (1) the product’s first choice is the Aggregate Format – Different Kinds of Foods and does not meet the requirements
       (2) the manufacturer's product = “able to use multiple format styles” and
       (2) the preferred family of format = “Aggregate Format” and
(2)the most suitable NFT format figure is not Figure 10.1 and
(2)the most suitable NFT format figure is not Figure 10.2 and
(2)the most suitable NFT format figure is not Figure 10.3 and
(2)the most suitable NFT format figure is not Figure 10.4 and
(2)the most suitable NFT format figure is not Figure 10.5 and
(2)the most suitable NFT format figure is not Figure 10.6 and
(2)the most suitable NFT format figure is not Figure 11.1 and
(2)the most suitable NFT format figure is not Figure 11.2 and
(2)the most suitable NFT format figure is not Figure 11.3 and
(2)the most suitable NFT format figure is not Figure 11.4 and
(2)the most suitable NFT format figure is not Figure 11.5 and
(2)the most suitable NFT format figure is not Figure 11.6

Since the rule contains both AND and OR clauses, OPA needs to know how they are combined.
By default, there are the grouping operators ALL (or BOTH) to group premises joined by AND, and ANY (or EITHER), to group premises joined by OR.
However, it is also possible to replace the grouping attributes with new attributes. This seems to be what has been misleading you.
When applying grouping operators to your rule, you would get:
the product meets the preference requirements for Standard, Horizontal, or Linear formats if
    (1) the product’s first choice is the Standard, Horizontal, and Linear formats or
        all
        (2) the manufacturer's product = “able to use multiple format styles” and
        (2) the preferred family of format = “Standard, Horizontal or Linear”
    (1) the product’s first choice is the Aggregate Format – Different Kinds of Foods and does not meet the requirements
        all
        (2)the manufacturer's product = “able to use multiple format styles” and
        (2)the preferred family of format = “Aggregate Format” and
(2)the most suitable NFT format figure is not Figure 10.1 and
(2)the most suitable NFT format figure is not Figure 10.2 and
(2)the most suitable NFT format figure is not Figure 10.3 and
(2)the most suitable NFT format figure is not Figure 10.4 and
(2)the most suitable NFT format figure is not Figure 10.5 and
(2)the most suitable NFT format figure is not Figure 10.6 and
(2)the most suitable NFT format figure is not Figure 11.1 and
(2)the most suitable NFT format figure is not Figure 11.2 and
(2)the most suitable NFT format figure is not Figure 11.3 and
(2)the most suitable NFT format figure is not Figure 11.4 and
(2)the most suitable NFT format figure is not Figure 11.5 and
(2)the most suitable NFT format figure is not Figure 11.6
but since you have omitted the grouping operators, OPA would have interpreted the level (1) clauses as intermediate attributes. This could be misleading.
Try to split the rule in multiple rules. This is likely to help you debug this rule.

Similar Messages

  • Oracle ODBC Driver 10.02.00.04 sqora32.dll with /*+ RULE */ base hints

    Hi Everybody,
    I have a problem with SQL queries with /*+ RULE */ base hints being posted to an Oracle database. I have reason to believe that these queries are generated by the Oracle ODBC Driver itself. Although I don't have a performance problem per se, I need to reduce these hints to a minimum so we can fine-tune the database as a whole.
    * The views that are hit are always the same: All_Objects, All_Arguments, All_Synonyms,
    * We are using Oracle ODBC driver 10.02.00.04 for Windows, the database server is a RS6000 with AIX and Oracle 10g,
    * Aside Oracle Development tools, there are no applications, reports or similar gadgets that query the tables described above.
    I would really appreciate any help about this issue.
    Here is an example of the type of queries that I'm writing about:
    SELECT /*+ RULE */ '', b.owner, decode (b.object_type, 'PACKAGE', CONCAT( CONCAT (b.object_name, '.'), a.object_name), b.object_name), NULL, NULL, NULL, NULL, decode (b.object_type, 'PACKAGE', decode(a.position, 0, 2, 1, 1, 0), decode(b.object_type, 'PROCEDURE', 1, 'FUNCTION', 2, 0))
    FROM ALL_ARGUMENTS a, ALL_OBJECTS b
    WHERE ( b.object_type = 'PROCEDURE' OR b.object_type = 'FUNCTION' ) AND b.object_id = a.object_id AND (a.sequence=1 OR a.sequence=0) AND b.OBJECT_NAME = 'MYTABLE' AND b.OWNER = 'MYSCHEMA' UNION
    SELECT /*+ RULE */ '', b.owner,b.object_name,NULL, NULL, NULL, NULL,decode(b.object_type, 'PROCEDURE', 1, 'FUNCTION', 2, 0)
    FROM ALL_OBJECTS b
    WHERE (b.object_type = 'PROCEDURE' OR b.object_type = 'FUNCTION') AND b.OBJECT_NAME = 'MYTABLE' AND b.OWNER = 'MYSCHEMA' UNION
    SELECT /*+ RULE */ distinct '', a.owner,CONCAT(CONCAT (a.package_name, '.'), a.object_name),NULL, NULL, NULL, NULL,decode(a.position, 0, 2, 1, 1, 0)
    FROM ALL_ARGUMENTS a
    WHERE (a.sequence=1 OR a.sequence=0) AND a.OBJECT_NAME = 'MYTABLE' AND a.OWNER = 'MYSCHEMA' ORDER BY 2,3
    Best Regards,
    Manuel
    Edited by: user10165637 on Jul 28, 2009 1:29 PM

    Hi Greg,
    Thank you for your answer. One of the things that we did when we migrated to Oracle 10g was to ensure that the "Disable Rule Base Hints" flag, located in the "Work-arounds" tab in the ODBC DSN window is checked. We previously refreshed all Microsoft's Access databases to use this new DSN connection. Still, the hints are there.
    However... we may have been able to link these calls to these Oracle System Catalog views, with a custom application that launces Crystal Reports.
    Although we all know that Crystal Reports also caches ODBC DSN configuration settings, I must say that these same Crystal Reports do not generate hints when called from their InfoView server.
    We will proceed to modify the custom application, overridding the dissable rule-base hint work-around with the string "DRH=T" on the connection string. Next week we will know if this works.
    Best Regards,
    Manuel

  • Partitioning on Oracle 8.0.6 (rule base vs. cost base)

    At my current engagement, we are using Oracle Financials 11.0.3 on Oracle 8.0.5 which uses rule-based optimizer. However, it is been planned to upgrade the database from Oracle 8.0.5 to Oracle 8.0.6 as well as implement Oracle partitioning. With this in mind, we are concerned about possible performance issues that the implementation of partitioning may cause since RBO does not recognize it.
    We agree that the RBO will see a non-partitioned table the same as a partitioned. In this scenario where you gain the most is with backup/recoverability and general maintenance of the partitioned table.
    Nevertheless, we have a few questions:
    When implementing partitions, will the optimizer choose to go with Cost base vs. Rule base for these partitioned tables?
    Is it possible that the optimizer might get confused with this?
    If this change form RBO to CBO does occur, the application could potential perform poorly because of the way it has been written.
    Please provide any feedback.
    thanks in advance.

    If the CBO is invoked when accessing these tables, you may run into problems.
    - You'll have to analyze your tables & ensure that the statistics are kept up to date.
    - It's possible that any SQL statements which invoke the CBO rather than the RBO will have different performance characteristics. The SYSTEM data dictionary tables, for example, must use the RBO or their performance suffers dramatically. Most of the time, the CBO beats the RBO, but applications which have been heavily tuned with the RBO may have problems with the CBO.
    - Check your init.ora to see what optimizer mode you're in. If you're set to CHOOSE, the CBO will be invoked whenever statistics are available on the table(s) involved. If you choose RULE, you'll only invoke the CBO when the RBO encounters situations it doesn't have rules for.
    Justin

  • Can we access two different Siebel BO in Same OPA Rule Base

    Hi all,
    can we access two different BO's from same rule base.
    what i means is,can we pass siebel data to OPA Rule Base from two different BO's .
    Thank you for your help in advance.

    There are two approaches to do this and they both involve making some small changes on the Siebel side.
    You can create an Integration Object which contains all the business components that you want to send to OPA if you are using an Integration Object mapping.
    If you would prefer to use a Business Object mapping then you will have to create a new Business Object which combines the BCs of all the Business Objects that you want to send to OPA.
    As you can see, although one approach involves Integration Objects and one involves Business Objects they both work by creating a single object which is an amalgamation of the information that you want to send to OPA.
    Cheers
    Frank

  • Rule Base Engine

    Folks,
    In an enterprise system, the rules are variable in a year and they may change. The rules and data are somehow dynamic. The dynamic data exists in a RDBMS but about the rules, I want to put them in a Rule Base Engine. If they are hard coded, the system is not flexible again the changes. One solution is to use the rules behine an interface and after any changes, we can implement the related interface to get the goal. but I have a question! Is there any other way to abstract the rules in an engine or some thing like that ?
    Any comment is welcome,
    Amin Emami

    You can implement a rules engine using the Interpreter Pattern in Java from scratch in a few days.
    Checkout the GOF Design Patterns book for the pure pattern, or the Applied Java Patterns for a more practical example.
    You can use this pattern to Interpret your rules file from a free form text document but then you need to implement a tokeniser & parser, which takes time. So a good alternative is to use XML.
    You can use your projects existing DAO to access the database.

  • Error compiling Rule base in 10.4.4

    Hi ,
    I am facing an error while compiling (using Build and Debug option) OPA rule base in OPM 10.4.4 version.
    The rule base was originally built in 10.4.2 and it gets successfully complied in 10.4.2 version.
    Error code: OPA - E00088 ( Unknown attribute)
    Could you please help me with this.
    Let me know if you need additional details.
    Thank you
    Chetan Jain

    Where are you seeing "Error code: OPA - E00088 ( Unknown attribute)"? Is it the 'Error List' in OPM? Often the errors there are clickable and will take you to what's causing the error, e.g. when there's an interview screen causing an error, clicking the error in the Error List usually opens the problem interview screen (in your case it sounds like an attribute not a screen though).
    The other thing I'd try is narrowing down the cause of the problem. For example, is there a particular rule document which won't compile?
    Cheers,
    Jasmine

  • Converting to ASA rules base

    I am just about to start on a project where we are moving from Old Cyberguard firewalls to ASA 5520 firewalls, I was wondering if anyone has a rule base converstion tool that would be able to do a lot of the basic work? And so of the NAT conversions?

    Hello Glenn
    To be honest with you I do not think there is a convertion tool from that firewall to our ASA.
    I would recommend to read and analize the configuration guides for the ASA or if you have any question related to the ASA setup let us know.
    We will be more than glad to help!!
    Regards,
    Do rate all the helpful posts
    Julio

  • PF Basis Issue

    Dear Experts,
    I was having an issue for PF Mid Month joinees. Where, supposing if an employee's Basic is Rs. 20000, and joins on 15th of the month, then basic becomes Rs. 10000. But SAP was calculating it on the basis of Rs. 6500 for 15 days. I had written a PCR for the same, and works fine. But due to this PCR, another situation has come across. If for any employee, we do not want to deduct PF, still it is getting deducted. When I comment this rule in my schema, it works fine, but due to commenting this rule, mid month joinees Pf gets affected. Please guide me how to solve this issue using single schema.
    Thanks and Regards,
    Bhagyashree

    Hi Bhagyashree,
    During Hiring in IT587 you have 2 option to decide on how pf gets deducted...
    Basis for Contribution
    Eligibility pay or PF basis which ever is less (i.e by default for any basic above Rs 6500/--  system will take Rs 6500/- as basic amount)
    PF Basis :- PF will be deducted as per basic....
    "But SAP was calculating it on the basis of Rs. 6500 for 15 days"
    In this case first option might has been clicked...... Uncheck it & opt option 2.....
    Regards,
    Veeram

  • Family Base Issues.. FRUSTRATED

    I added Family Base to my cell plan last week in an attempt to control my daughter's out of control data usage.  I set everything up (with my husband and I as parents, her as a child and blocking her data after 5 GB).
    Both she and I are getting text messages that we have exceeded our data limits and/or we have used 75% of our data for the month, although we have only used (as a family) 2.344 GB of 13 GB. 
    I have already called Customer Service and was told to clear our cache, which was done and I am still having issues.
    I am beginning to believe that the program is just terrible.  I am also a bit angry that Verizon would put out a program that is so faulty.  I am a 19 year customer with Verizon and right now with all  of the extra charges and no data rollover and all of the great things I am seeing about other carriers I may finally jump the fence, so to speak.

        First and foremost as a 19 year customer of ours, we certainly appreicate your many years of loyalty with us jwpillar. I understand the importance of ensuring the Family Base feature is working acurately at all times. Allow us to get to the bottom of this for you. I myself use this feature for my daughter and receive text messages when she is getting close to her data allotment. When you receive these text messages are they referring to her allotment? With Family Base, you will get text messages when the line who has the data restriction reaches 50%, 75%,90% and 100% of the allotment. Also, when you set the data restriction, did you power her phone off and on to ensure the data allotment is set correctly?
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • Business Rules Import Issue

    Hi, I met some problems in business rules import.
    1. The buisness rules import cannot be overwritten, everytime when I deployed a rule to a new environment, I need to delete the old one first. Can I do some setting to enable overwriting?
    2. When the rule contains a character ">", the export xml will add a special character like "space" after it. Sometimes caused the rules failed after the deployment. Seems it is a bug.
    3. When the rule has the property "hide" for some run-time prompts, sometimes it will lose after the import, is it also a bug or any workaround?
    If any good suggestion or experience for the above problems? Thanks

    Hi,
    It would be helpful to others if you say which version/patch you are using.
    To answer number 1, that has always been a feature of business, you don't get the option to overwrite, its always been a pain.
    I have not come across issue 2 and I am sure I have imported many rules with the cross dimensional operator in them ->
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Running issue??

    I am having all the BR's in my webform Run on Save
    When the rule runs on save, the rule is taking a lot of time to complete and may it is cretaing loops, may be since there are more than one rule.
    And if I run that rule by double clicking the rule on the same webform it gets completed in 30-40 seconds.
    I don't know what could be the issue
    I don't think there is a problem in my rule because that rule runs quickly by double clicking it.
    Please help!!
    Recenltl I also got error opening Planning
    The eror says:
    Failure to connect to the Apache Bridge
    No Backend server available for connention.
    Thanks

    You could look into setting business rules to run in the background after a set time period, this may help issues with timeouts on the web server.
    Have a look at :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch02s07s05.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Audit Issue

    We turn on audit for business rule in both classic and EPMA planning apps. EPMA version is the same class app migrated. I checked the audit record after launching a business rule in both classic and EPMA version. In classic, the rule has type of Business Rule and New_val as the name of the rule. However in EPMA version, the rule has a type of Calc Script and New_val as the first several SET commands in the script. Why the EPMA version behave this way?
    Thanks

    Hi,
    I did'nt faced any issues wile exporting using the LCM. This is actualy the best methods of exporting and importing the BRs form different environments.
    You can also try exporting na dimporting the BRs from EAS console.
    I dont you how you are doing it, it is hjust about selecting the artifacts take an export and import from the file system.
    It is ok to copy paste if you have a few rules to export, but if you have many, then try to use one of the approach that the product provides.
    Thanks,
    Sourabh

  • Business rule export issue

    Hi all,
    I created a business rule in calculation manager. Now I want to have this one in my EAS console.
    I try to export my business rule from calculation manager, but when I click export some window appears and immediately disappears. So I can't do export.
    What it could be? Is there any else way to export business rule to EAS Console?
    Thanks in advance

    Hi,
    I did'nt faced any issues wile exporting using the LCM. This is actualy the best methods of exporting and importing the BRs form different environments.
    You can also try exporting na dimporting the BRs from EAS console.
    I dont you how you are doing it, it is hjust about selecting the artifacts take an export and import from the file system.
    It is ok to copy paste if you have a few rules to export, but if you have many, then try to use one of the approach that the product provides.
    Thanks,
    Sourabh

  • Business Rule Sequence issue

    Hi,
    We have our system on 9.3.0.1 and I am currently facing a strange issue.
    I have a set of rules that I have added to an existing sequence. Now I want these rules to execute in an order and I have set the order in the sequence. However when I save, close and open the sequence again, it randomly changes the order.
    Has anyone seen this issue before?
    Regards,
    Amol

    Hi,
    Well firstly the version 9.3.0.1 isn't a very stable one. So if you are working on 9.3.1 or above then I don't think it should affect you. Also what I noticed was that as long as the total number of business rules in the sequence were less than 10 then it wouldn't cause the issue.
    Hope it helps.
    Regards,
    Amol

  • Business rule LCM issue

    while importing business rule from QA to PROD using LCM we are facing issues..It doesn't import Business rule . we had to do it manually copy and paste the code and variables. then stop and start the services to make this rule effective..we are on 11.1.2.0 version
    please advice and anyone else is also facing same issue
    thanks

    Hi,
    I did'nt faced any issues wile exporting using the LCM. This is actualy the best methods of exporting and importing the BRs form different environments.
    You can also try exporting na dimporting the BRs from EAS console.
    I dont you how you are doing it, it is hjust about selecting the artifacts take an export and import from the file system.
    It is ok to copy paste if you have a few rules to export, but if you have many, then try to use one of the approach that the product provides.
    Thanks,
    Sourabh

Maybe you are looking for

  • External hard drive and ESata connection on K9A2 Platinum (inop)

    I have the same problem as the user who posted on this topic in Oct last year.  I have two eSATA external drives, one a Lacie, the other a GForce.  Both are 1TB and, luckily, have USB, FW and eSATA ports.  When I got my PC it was running XP Pro 32. 

  • Darktable error with dbus

    Hi: I am having a problem with darktable: When I run the program begins to read the directory where I have my RAW, and when the program closes. I run it from console and I get the following error message: (darktable:3105): GConf-WARNING **: The conne

  • JDev10g Data Control Palette - Blank

    1) I have used jDev10g to follow a tutorial on Struts BC4J ADF JSP 2) Successfully run the JSP to browse thru the records. 3) Now the jDev IDE "data control palette" is blank. I can close and re-open using the menu View but the contents of the palett

  • How to move lrcatb back to internal drivefrom ext drive

    how do i move lrcat 5.3 file from external drive back to macbook pro internal drive and  keep all photos on external drive where they are now, my mackbook pro keeps shutting down, with maverick and seagate ext drive, i am thinking if  i move lrcat ba

  • Trouble with query

    hi all, I had DEPT and EMP tables. Each Department contains more than 2 Employees. now i need a query to retrieve EMPID in the first row of each Department thanks in advance rampa