FRM-40207 supressed after Business Rule violation

Situation:
- Form based on table with column A number(1)
- Item width in form = 2 (automatic, to enable negative sign)
- Business rule on column: value must be > 0
- Try saving record with column A = -2: Business Rule is violated --> error message (as expected)
- Changing value to 22, no error, not possible to leave record/item: 'FRM-40207 Must be in range -9 to 9' is not shown
- Trying to type 22 first time leads to the 'FRM-40207: Must be in range -9 to 9' message as expected
- Generating the form with teh preference set QMS_DEBUG_MODULE: FRM message is also shown after violation of BR (negative value) (thus it is a Headstart problem?)
- Setting a format mask of 9 on the field does not solve the problem, in that case 'FRM-40209 Must be of format 9' is supressed
It looks like the rule frame/headstart code suppresses the FRM message after violation of a Business Rule,
anybody experienced the same problem or knows a solution?
tia
Geert

I think we came across the same problem as you are describing. We created a temporary workaround for our problem by creating a custom library object using both the <maximum length> and <format mask> properties. This may not be feasible if you have are having the problem with several columns of varying lengths.
[email protected]

Similar Messages

  • Error QMS-00100 show at business rule violation

    When a business rule is violated I always get the following message first in my form:
    'Error QMS-00100 Unhandled exception ORA-20999 in PLSQL Program Unit qms_transaction_mgt.perform_business_rule'
    The next message is the right message when the business rule is violated.
    Does someone has a clue why this first message is shown?

    I don't know why this error showed up, but by recreating all packages in the headstartscheme the problem is solved

  • Form Performance Degrades after Business Rules are added to Run on Save

    Has anyone ever seen an instance where adding business rules to a form (run on save only) makes the form open twice as slow?
    We have some large forms that were opening in about 20 seconds that suddenly started taking twice as long (40 seconds). When we remove the association of the business rule, they are opening quickly again. Because the business rules are set to run on save, I'm not sure why they would affect the form open performance.
    Any ideas are appreciated.
    - Jake

    I am guessing here a bit.
    But a question. Is your calc complicated? does it have a lot of variable in the calc?
    My guess is that even though the calc is run on save when you open it it compiles the calc as you open it. A check is to create a really simple calc one line that basically does nothing and see if that changes your performance. Also if you click off "run on save" does the performance return?
    Just theory guessing here.

  • Display of data after Business Rule Execution

    Hi Gurus
    We are using 11.1.2 and experiencing few problems with some of out Business Rules. The problem is, BR executed successfully and the resultant data is not displaying in the target form. As a workaround, we put a dummy value in any of the target's combination and re-execute the BR, this time BR gets populate the target cell. Pls advice what sort of problem is this???
    Thanks in advance,
    SNK

    It could be down to the business rule not creating blocks, by entering dummy data then you are creating the blocks and the rule will run as expected.
    Have a look at this post :- Re: Busines rule Issue
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • All FRM messages are suppressed after buissness rules validation

    hello,
    i've just discovered this really odd and annoying problem and I need some help. After validating business rules all forms messages are suppressed. If I re-enter the form, messages appear again, but are "visible" only till next business rules validation.
    this is the scenario:
    1. When I enter the form, I disable all business rules
    2. I insert some data and commit. Message FRM-40400 appears.
    3. I validate business rules by pressing button "Validate" (I call procedure which enables all business rules, calls procedure capi.validate_all_static_br, disables business rules and displays errors with Qms$errors.RaiseQMSFailure)
    4. if i change some data and commit, message FRM-40400 does not appear.
    I've done some debugging and discovered problem in qmslib65.pll package qms$forms_errors procedure push
    PROCEDURE Push
    ( p_msg IN VARCHAR2
    , p_error IN VARCHAR2 DEFAULT 'I'
    , p_msg_type IN VARCHAR2 DEFAULT ''
    , p_msgid IN NUMBER DEFAULT 0
    , p_loc IN VARCHAR2 DEFAULT '') IS
    -- Purpose Show message to the end-user, standard procedure for the Oracle Forms
    -- Generator of Designer/2000 to pass the display and handling of a message
    -- to a user created procedure.
    -- Usage Called by the Oracle Forms Generator code
    -- Parameters : msg Text message
    -- error ERRor or WARNing
    -- msg_type ORA, API or user TLA
    -- msg_id Id of message
    -- loc Location where error occured
    -- Remarks
    v_msg VARCHAR2(2000) := p_msg;
    v_error VARCHAR2(2000) := p_error;
    v_servermsg VARCHAR2(2000) := DBMS_ERROR_TEXT;
    l_empty_errorrec hil_Message.message_rectype;
    BEGIN
    IF p_msgid != 0
    THEN
    g_errorrec.severity := p_error;
    ELSIF ((SUBSTR (v_msg, 1, 11) = 'API Error: ')) OR
    ((INSTR (v_servermsg, 'ORA-20999') &lt;&gt; 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20999') &lt;&gt; 0)
    THEN
    -- error returned from the API, just display no further action required ?
    HandleServerAPIError (p_msg);
    -- M. Kappel
    /* 11-apr-2001
    - Allow check of v_servermsg even if v_msg contains data.
    - With new-style cdm ruleframe, v_msg contains 'ORA-20998'.
    We never looked at v_servermsg because v_msg was not null.
    - With old-style database trigger business logic, v_msg contains only text.
    If we still never look at v_servermsg, we don't identify that the error is
    a 20998 and therefore we raise an alert 'Transaction Failed' instead of
    showing the 'Errors in this Transaction' window.
    -- ELSIF ((INSTR (v_servermsg, 'ORA-20998') &lt;&gt; 0) AND (v_msg IS NULL)) OR
    -- (INSTR (v_msg, 'ORA-20998') &lt;&gt; 0)
    -- THEN
    ELSIF (INSTR (v_servermsg, 'ORA-20998') &lt;&gt; 0) OR
    (INSTR (v_msg, 'ORA-20998') &lt;&gt; 0)
    THEN
    HandleServerApplError (p_msg);
    -- error returned from the API, just display no further action required ?
    ELSIF ((INSTR (v_servermsg, 'ORA-20000') &lt;&gt; 0) AND (v_msg IS NULL)) OR
    (INSTR (v_msg, 'ORA-20000') &lt;&gt; 0)
    THEN
    -- error was raised by old Headstart code with raise_application_error
    -- strip ora-20000 : , check if code (get message) or message
    HandleOldHeadstart (v_servermsg);
    ELSIF (SUBSTR (v_msg, 1, 3) IN ('FRM', 'MNU', 'PLS', 'SRW', 'ORA', 'REP'))
    THEN
    HandleOracleError (v_msg, v_error);
    ELSE
         HandleApplError(v_msg, v_error);
    END IF;
    Display_Error (g_errorrec);
    g_errorrec := l_empty_errorrec;
    END Push;
    IMO, this part of code
    ELSIF (INSTR (v_servermsg, 'ORA-20998') &lt;&gt; 0) OR
    (INSTR (v_msg, 'ORA-20998') &lt;&gt; 0)
    is either obsolete or incomplete. It should be something like this:
    ELSIF (INSTR (v_servermsg, 'ORA-20998') &lt;&gt; 0 AND(v_msg IS NULL)) OR (INSTR (v_msg, 'ORA-20998') &lt;&gt; 0)
    i would like to know if anyone have simmilar problem and if there are any other solutions then above mentioned.
    Kind regards,
    Damjan

    I'm having the same problem, i'm using 6.5.22 with the C/S-kit
    Is there already a solution for this problem?
    Regards,
    Richard Teunissen

  • Unable to access Business Rules Facts after refreshing XML Facts

    I have created a business rule using an xml schema to generate the XML Facts. Then I created a Decision Function to call a Ruleset to process the information in the XML Facts. This decision function has input and ouput parameters from the XML Facts.
    The decision function is used inside a BPEL Process, by defining the Dictionary has the created business, defined the Service has de Decision Service. After this configuration I'm able to define the Input Facts and Output Facts from and to a variable in the bpel process. Using the Decision Fact Map window I define the input and output to the exposed Business Rule Facts. This works just fine. The BPEL runs and the Rules are correctly used.
    When I change my xml schema to add more elements and complex types I use the "Reload XML Facts From Updated Schemas" option available in the bussiness rule. After this operation I will no longer have access to the Bussiness Rule Facts in the Decision Fact Map window. So I'm no longer able to call the decision function.
    Yet the business rule has no problems and i have tested using a fuction to call the Decision Function.
    Is this a bug or a feature?
    I'm using Oracle 11g with the SOA Composite Editor 11.1.1.0.0.52.19.

    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.

  • Unable to refresh database after forced stop of the business rule

    Hello, Experts!
    I am currently testing and tuning performance of business rules in Hyperion Planning 9.3.1. I launched a business rule in EAS Console that was running way too long so I decided to stop it manually. But after this manual stop when I try to refersh Essbase from Hyperion Planning (Administration>Manage Database>Database Refresh) I get the following error:
    +com.hyperion.planning.olap.EssbaseException: Cannot restructure. There are other active users on database [%s] (1013101)+
    I remember having done forced business rule stops earlier in other Hyperion Planning 9.3.1 deployments and they did not generate such errors. So could you help me on how I prevent Hyperion Planning from this error after manual business rule stops because most likely I will have to do them in the future? Thanks very much!

    John, you are right. I erred earlier: I was thinking that I had stopped the business rule, but it still was running. I had not seen this rule running because of lack of permissions for my user name. After adding extra Essbase permissions to my user name in HSS, I was able to see in EAS Console in Ediit>Sessions window that the rule was still running and Hyperion Planning definitely will produce the above error message if one tries to refresh Essbase cube while the rule is still running.

  • Is it mandatory to Restart all services after making Business Rule change?

    Hi,
    I know it may be a easy one but wanted to know is it mandatory to restart all the Planning and Essbase services if we make any changes in the Business rule
    in 9.3.1
    -KP

    No you shouldn't have to restart after rule change.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules "Run on Save" in SmartView - Message after running

    Hello Experts,
    There is any way to display a message (success / failure) after a Business Rule run in Smart View (version 11.1.2.2)?
    Our rules, running in Smart View, aren't displaying any message in contrast when they run through web workspace - we only know they run (successfully / unsuccessfully) going to Job Console.
    Thank you!
    Rodrigo Faustino

    Thank you John, It is nice to have this feature in Smart View. 
    Although, we want that the Planner don't worry in going to Job Console. We would expect a message (success / failure) in the same way it happens troughs workspace.

  • Error 1200323 after long hours of running business rules?

    Hi all,
    I am experiencing some problems with running business rules....
    I got a sequence which includes about 20 business rules to run....
    After several hours of running this sequence, it shows the errorcode: 1200323, which said that "Error parsing formula for [REGION DEFINITION] (line 1): expression expected after [(].
    However, worst of all, this error does not always happen. Sometimes, I could run this sequence successfully without any error happening.
    Any one experienced the same problem before?
    Any suggestion are welcome and appreciated....
    Thank you,
    Casper

    Gregg Stewart wrote:
    ...my iMac screen has this low audible hiss and pop, then afterwards it has a difficult time redering images even images from the web, and only after being powered down overnight does it appear to do better.
    I also play a 3d video game from time to time while in the Windows 7 Bootcamp mode, and it appears the problem happens sooner when doing that.
    You have a defective video card, take it in for service.
    Run a hardware check by holding the d key down (for a long time) when rebooting, wrtie down what it says if anything.
    If you didn't buy AppleCare, you have 1 year from the day of purchase to do so, it's highly recommended as the iMac's all in one design is prone to issues with heat, and it's not modular so one part goes down requires the entire machine to be brought in for service.
    IMO, I never recommend a iMac expect to very light desktop consumer type users, heavy business users I recommend a MacPro this way they can switch parts and keep on going, unless they are a rich buisnes that can afford to have another iMac on standby. 

  • Needs to consolidate twice after updating a business rule

    Hi All,
    I created a business rule to pull an nonconsolidated entity to an consolidated entity without realizing an existing rule is doing the same thing but using the parent instead. This cause the consolidation process to do it twice.I stopped the rule, added a new nonconsolidated entity and a new rule going to the same consolidated entity. This way the history data wouldn't be impacted. I would assumed that because I stopped the first rule that causing the data to impact twice I don't have the same problem but once I tested it, it is still doing the same thing. I am using HS.ImpactStatus on the BR. Please see below:
    Old to stop the rule:  
    'case "global_chain"
         'HS.ImpactStatus "E#Global_Chain_Corp"
    New rule:
    case "global_chain_corpnc"
         HS.ImpactStatus "E#Global_Chain_Corp
    any ideas why still need to consolidated twice?
    thanks
    sandy

    Hi Sandy,
    HFM is calculating the entities based on the order in the hierarchy structure.
    I assume that you have this issue because entity global_chain_corpnc is calculated after entity Global_Chain_Corp and as a result Global_Chain_Corp will end up as impacted.
    Based on my understanding HFM will:
         On the first consolidation:
         1.1) Calculate Global_Chain_Corp
         1.2) Calcuate global_chain_corpnc which will result in Impacting Global_Chain_Corp
         On the second consolidation
         2.1) Calculate Global_Chain_Corp but not calcuate global_chain_corpnc because it is already calculated from the first consolidation
    Regards,
    Thanos
    http://thanos-onetruth.blogspot.co.uk

  • Disable business rules after workflow promote

    Dear All,
    I have the following case:
    in capex module, after everything finished, the user then promote the budget.
    and that makes the data form read only. but in this case, because adding new asset is done by business rules, the user could still add new asset.
    is there anyone have a solutions or experience the same thing?
    Regards,
    Feri

    Ya that will be a tricky one.
    The only general comment is to build this into your process.
    So you will give everyone a window to add To Be Hires during 1 or 2 week period. Then you block everyone and remove the ability to launch the script. Then managers review. So this becomes disconnected from "workflow" the tool inside of Planning.
    You could build something but this would be way outside the out of the box process and I wouldn't want to go there personally. You would move the calc into a maxl script and build in code to validate against the workflow tables to see if the calc will work or not. This would require all sort of validate scripting and error handling and would require bring in some experts probably. The only other scenario is to troll the forums and maybe find someone how built something like this and get them to share their code.
    In principal what you want sounds obvious and make sense to be in the tool.

  • Can't see some Business Rules after running the Import via LCM

    I am trying to migrate our Business Rules down from Prod to Dev to get them back in sync. Here is the steps I have run:
    Export ALL Business Rules and Sequences from Prod via LCM
    I confirmed the export directory contains an .xml file for EACH Rule.
    copied the export directory down to Dev Shared Services server
    Turned on DEBUG for Shared Services
    Deleted ALL Business Rules and Sequences from Dev EAS BR repository
    I confirmed that ALL BUsiness Rules are listed and checked in LCM Import.
    run the Import from Dev Shared Services via LCM
    I get a Completed successfully message. No Errors.
    I Refresh Rules in Dev EAS and I only see 25% of the Business Rules listed.
    I have tried to Stop/Restart the EAS services and still nothing.
    I confirmed that the ID I am using to Export / Import has access on each Business Rule either directly or via a Group that has access.
    Any thoughts??
    Thanks in advance for any assistance on this!
    Robert

    Thanks John!
    I was really trying to get it done via LCM since I have all other migrations being done there. but I ended up taking your advice and doing it the old fashion way via EAS export.
    To answer your questions:
    We are on 11.1.1.3
    I did not see any problems in the Services logs for EAS. Nothing that stood out.
    We are migratiing 66 Rules and 15 Sequences.
    We are using Weblogic instead of Tomcat.
    Even though I have a workaround for the issue I am still interested in understanding why some of them did not import via LCM. You mentioned that you might consider adjusting some config settings. What settings would you recommend looking at?
    Thanks again John!
    Robert
    Edited by: user627522 on Nov 16, 2010 6:27 PM

  • Auto email after execution of scheduled business rule

    Hi All,
    We have certain business rules which will be scheduled on daily, weekly and monthly basis. Our requirement is that every time when a scheduled business rule is executed a email is sent to the administrator (specifying the name of BR and time of execution). Can somebody tell us that how is that possible?
    We are on 11.1.2
    Thanks in advance.
    Regards.

    It may be worth having a read of :- http://john-goodwin.blogspot.com/2009/02/idea-for-this-blog-originates-from-post.html
    Another possibility if you are scheduling from command line is to use free command line email utility e.g. blat.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cant see Business Rules after restore

    Hi - using Business Rules 3.5.1 - we are trying to refresh our development Business Rules with our Production Business Rules. DBAdmins did the restore and if I go looking in the sql tables, I do see the rules. But when I go into the Business RUles Designer, I do not see any rules.
    the development name of the business rules database is the same as the production.
    what am I missing here?
    Thanks.

    there is a table in the business rule db called "alloproc" which contained the production server name. Ran a sql query to update it to the development and the business rules appeared in Designer.

Maybe you are looking for

  • My iphone5S got stolen, how can i get the photos back ?

    Phone got stolen, just want to get back my kids photos, please help

  • Import Previews Low Resolution?

    As an Event Photographer I need to be able to quickly preview images from my Cards, Import only the "GOOD" images and transmit these for immediate distribution. Problem is the PREVIEW of the images PRIOR to import are very low resolution and don't al

  • I believe creating a clipping mask is the answer, but im doing something wrong

    This is a hard one to describe so i attached this link: file:///C:/Users/Marcus/Documents/Wacom%20work/zang-deli.jpg. Im trying to make the object (the black bit) consist of the image in the background so instead of being black it will be multicolour

  • Iphoto quit unexpectedly error message on opening

    I have a Macbook Pro -- OS X is 10.6.8 I have iphoto -- not iLife 11 but the version earlier -- sorry I can't be more specific but I can't open the Application to see the details. For the past month, when I go to open iPhoto the following error messa

  • Xss DC's in Local Dev directory

    Hi all, How can I bring pcui_gp/xssfpm pcui_gp/xssutils ess/per into my Local Development? I was trying to create a customized ESS application based on one blog in sdn. Thanks Kukku