Dynamic validation of Business Rules
Who has a good thought/example about a principle of dynamically validating Business Rules without coding every time each BR?
I am thinking about a table where I can enter the expressions like:
- <p1> is not Null
- <p1> not in (select 'x' from <table>)
- <p1> < 2000
This logically, simple expressions should return a boolean expression (true or false).
First, in a well designed data model, I'm not sure I see the need for data validation logic to change regularly. If a particular column cannot be NULL today, it would be rather unlikely that it would somehow need to be NULL tomorrow.
Second, I'm not sure I see what this approach buys you over the much simpler approach of adding and removing check constraints if the data model changes. Adding and removing a constraint is pretty trivial-- orders of magnitude less difficult than doing the analysis to determine what constraint needs to change and what impact that has downstream.
Third, I would suspect that if you need to encode these sorts of constrains in a table, your system will kill downstream systems with regularity. If p1 is NOT NULL today, but tomorrow it suddenly allows NULL values, a consumer application might well break (or worse, silently return incorrect results). Data changes should not be able to screw up downstream systems.
Fourth, if you did build such a system, you would have to build your own constraint validator, rather than being able to rely on Oracle's (unless you wrote code to create and drop Oracle constraints based on values in a table, but that seems rather convoluted). Given that Oracle's constraint validation engine is highly optimmized and highly accurate, a home grown engine isn't going to look particularly good in comparison.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Similar Messages
-
Dynamic filename in Business Rules
Hi,
I would like to use the DataExport command in my business rules to extract level-0 data in a file as a reference for user. I would need to extract data only for Entities that a user has access to (I figured that I could use parameters, link the rule to a Planning form and use "members" on form).
My problem is that I would need a different filename for each execution. Something like :
..\userABC_20090513_100350_BV_SBQ.txt
..\userDEF_20090513_100430_BV_SLVQ.txt
Is there a way, in business rules, to find the following info ?
- the user who is currently running the rule.
- the current date.
- the current time.
If not, is there a way to include a shell in a business rule. I have a small .exe that return the date or time as an "errorlevel" code that I could use if I can call a shell in the rule.
Finally, a theorical question : is there an other way to ensure that only the user who run the rule can access the generated file (always while using business rules) ?
ThanksFirst, in a well designed data model, I'm not sure I see the need for data validation logic to change regularly. If a particular column cannot be NULL today, it would be rather unlikely that it would somehow need to be NULL tomorrow.
Second, I'm not sure I see what this approach buys you over the much simpler approach of adding and removing check constraints if the data model changes. Adding and removing a constraint is pretty trivial-- orders of magnitude less difficult than doing the analysis to determine what constraint needs to change and what impact that has downstream.
Third, I would suspect that if you need to encode these sorts of constrains in a table, your system will kill downstream systems with regularity. If p1 is NOT NULL today, but tomorrow it suddenly allows NULL values, a consumer application might well break (or worse, silently return incorrect results). Data changes should not be able to screw up downstream systems.
Fourth, if you did build such a system, you would have to build your own constraint validator, rather than being able to rely on Oracle's (unless you wrote code to create and drop Oracle constraints based on values in a table, but that seems rather convoluted). Given that Oracle's constraint validation engine is highly optimmized and highly accurate, a home grown engine isn't going to look particularly good in comparison.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Validation of business-rule gives error
Hi,
After valadating the following business-rule i get an error message.
0001 FIX ("FY08","50120","DEC")
0002 FIX ("EJV2")
0003 Cleardata "50160" ;
0004 ENDFIX
0005 DATACOPY "50120"->"EJV1" TO "50160"->"EJV2" ;
0006 ENDFIX
The error message is:
Validation error from planning server 'http://sth135.gwnet.nl:19000/HyperionPlanning/servlet/HspAppManagerServlet'.
'Error:Cannot calculate dimension member [50160] with restricted member [50120]An error occurred while running the specified calc script. Check the log for details. on Rule object with name EPMSPEEL.Resultatenrekening.test'OK (O)
It seems to have something to do with a calculation that tries to calculate a member after restricting the calculation to a different member in the same dimension. However, as my knowledge of businessrules is (yet) limited I can not figure out how to adjust the rule properly.You can not fix on a dimension and do subsequent calculations on that dimension. For example you can not say :
Fix(Jan)
Jan = Feb + March;
EndFix
You need to limit the scope in the fix statment to other dimensions not the one you are trying to calculate -
Validating the Business Rule Essbase Error(1200315):
When i Execute the BR
FIX([v_Year],[v_Scenario],"Working", "USD","EUR", "HSP_InputValue",@LEVMBRS("Datasource", 0))
/* @ANCESTORS ("Products");
@IDESCENDANTS ("Entities");*/
AGG ("Products","Entities");
ENDFIX;
It is Successful.
But when i Change the rule with *"JPY"* adding as it is one of the Currency UDA.
FIX([v_Year],[v_Scenario],"Working", "USD","EUR",_*"JPY"*_, "HSP_InputValue",@LEVMBRS("Datasource", 0))
AGG ("Products","Entities");
ENDFIX;
the Validation throwing me an error.
*Detail:Cannot calculate. Essbase Error(1200315): Error parsing formula for [FIX STATEMENT] (line 282): invalid object type*
Can you please Give me the suggestion
JPY is just a another currency member like USD and EUR.
But it is throwing me error while i am updating the BR.
In the Same BR
There is a Macro
I pass the parameter "USD" and "EUR" in the Macro. It works good but
If i Pass the Parameter for a Macro as "JPY"
It is throwing an Error
*Detail:Cannot calculate. Essbase Error(1012004): Invalid member name [JPY]*
I know the Errors means "JPY" Member is INVALID, But the JPY is present in the Outline same as USD and EUR in the UDA "Currency".
Edited by: 838300 on Oct 13, 2011 10:14 AM
Edited by: 838300 on Oct 13, 2011 10:14 AM
Edited by: 838300 on Oct 13, 2011 10:30 AM
Edited by: 838300 on Oct 13, 2011 10:34 AMAre you definitely sure JPY exists in the essbase application, go into eas and open the outline and check.
It may exist in planning but if it is not defined as a reporting currency then it won't exist in essbase.
Cheers
John
http://john-goodwin.blogspot.com/ -
Handling business rules validation
Using adf/bc. After sifting thru alot of documentation, I'm still left wondering about the 'right' way to implement the validation of business rules in the entity class. Specifically, I would like to know the difference between using the validateEntity method to validate attributes and using separate, declarative based method validators for each attribute that needs validation. Also, if a method validator is used and it fails, what type of exception is thrown? JboException? Thanks for input on this.
Steve, thanks for the response. I've implemented the code from (#107) your examples site and everything works fine with regard to providing custom validation messages for attribute validation errors/exceptions. Also, for other more app specific validation of business rules, i'm using method validators on the entity object, which have a corresponding message bundle. This, in conjunction with your code, works good also in catching and customizing error messages. How does the framework 'find' the message bundle to be used for the error message text in a case like this where there is more than one message bundle? Thanks again, James.
-
Get cell value in Planning Data form and using it in a business rule
Hi Everybody,
if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
Thank all guys
Bye
MaurizioThanks EW for your answer,
YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
I have 500 account members.
For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
{Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
Fix("test1","Input","Scenario_test","FY12")
"PD0A040"=@Member({Example});
endfix
So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
Thank you Ew, thank you guys
Maurizio -
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. -
Upgrade Business rules with Calc Manager
Hello Gurus,
Recently performed an upgrade from 11.1.1.3 to 11.1.2.2 by replicating the Database to a new database machine.
I had Business rules in 11.1.1.3 and did not perform any steps to migrate the rules to Calculation manager in 11.1.2.2
The doubt I have is,
1. Are the business rules automatically upgraded when performing upgrade by EPM system configurator (since the database is replicated)
2. If so, how do I see the business rules in 11.1.2.2 environment? How can I use migrate feature option.
Thanks
HyperionEPM.From 11.1.2.2 documentation:
Upgrade Wizard
If your application used Oracle Hyperion Business Rules, the Upgrade Wizard automatically converts Business Rules business rules to Oracle Hyperion Calculation Manager business rules. Release 11.1.2.2 supports onlyBusiness Rules business rules as the calculation module.
Notes:
•Classic application administration is now called Oracle Hyperion Planning application administration (versus Oracle Hyperion EPM Architect application administration).
•The Upgrade Wizard automatically upgrades applications having Oracle Hyperion Business Rules business rules, converting them to Calculation Manager business rules. However, the Upgrade Wizard does not automatically convert Release 11.1.2.1 applications having Oracle Hyperion Calculation Manager business rules. For those upgrade instructions, see the Oracle Enterprise Performance Management System Installation and Configuration Guide.
Business Rules Maintenance Release and Upgrade Installation PrerequisitesIf you are using Business Rules, you must migrate to Calculation Manager rules in Release 11.1.2.2. Before migrating business rules, you must perform prerequisite tasks. Note that these tasks are required if you are applying the maintenance release or if you are upgrading.
To prepare to migrate Business Rules, perform the following tasks in your current Business Rules environment before installing Release 11.1.2.2:
1.in Business Rules, within the Rule Editor, remove the associated outline (that is, the design time location) from each business rule. After you do this, the Associated Outline drop-down list should display the text, Select Outline.
2.On the Locations tab of the Rule Editor, ensure that each business rule has a valid launch location, which must be an absolute location. Although “All Locations” is valid in Business Rules, when you migrate business rules, you must provide the details of a specific launch location (that is, the application type---Planning or Essbase, the server name, the application name, and the database or plan type). If you want a business rule to be valid for multiple launch locations, you must provide the details for each location. The locations must be in different applications; you cannot migrate the same business rule to different plan types in the same application within Calculation Manager.
If the rule is a part of a sequence, then the launch location of the rule within the sequence must be one of the launch locations listed in the Locations tab of the rule.
3.On the Access Privileges tab of the Rule Editor, ensure that each business rule has security defined for a specific location or locations and not “All Locations.” If multiple locations are defined for a business rule on its Locations tab, you must add security for each location individually.
4.Do not modify rules in Calculation Manager until migration is completed.
5.If you are using Business Rules with Planning, as a precaution, create a backup of the rules: Use Administration Services to export the rules to XML in Business Rules format. If you are upgrading from 11.1.1.3 or 11.1.1.4, also export the rules to Calculation Manager format. EPM System Configurator exports the rules during database configuration for use during application upgrade.
6.If you are an Essbase-only Business Rules user, you must export business rules. To export the Essbase rule from Business Rules:
a.From Administration Services Console, right-click the Business Rules node and select Export.
b.Export the rules in Business Rules format and then select all of the Essbase rules in the repository. If you are upgrading from 11.1.1.3 or 11.1.1.4, also export the rules to Calculation Manager format.
c.Specify the location to save the XML file, and then click OK. If you are upgrading, the location should be a shared drive that is accessible from the upgraded environment.
Make a note of the location. You import the file later in the process.
Migrating Business Rules to Calculation Manager for use with Planning
If you applied the maintenance release to move from Planning Release 11.1.2.0 or 11.1.2.1 to Release 11.1.2.2, and you were using Business Rules rules, you must migrate the rules to Calculation Manager rules.
Before you migrate, ensure that user directories and native users with the same SID are available when you upgrade Shared Services.
Ensure that the Planning applications are upgraded to the current release and are available in Calculation Manager under SYSTEM View.
To migrate Business Rules rules to Calculation Manager rules:
1.In Calculation Manager, select the migrated Planning application, and then select Migrate.
The data that was exported during database configuration with EPM System Configurator is imported to Calculation Manager.
2.Repeat for each Planning application.
3.Deploy the rules from Calculation Manager to Planning. See the Oracle Hyperion Calculation Manager Designer's Guide.
After migrating business rules and rules security, if any of the rules had multiple launch locations and you migrated to more than one location, Calculation Manager creates a rule for the first migration, and shortcuts for all subsequent migrations. If the rule had rule-level variables, for the shortcuts that are created in the application in the new environment , its variables are moved to the Plan level. In this scenario, test rules in your environment to ensure that they work as expected.
If you still have problems, raise an SR and we can get on a call to figure out why the rules are not coming over.
-Sree -
Hi,
q1. There is a new tool for business rules called "Calculation Manager" in v11 and as far as i understood aas will not be applicable for business rules??
I got that idea because i can not see any planning locations in aas, only essbase locations are available. Is it a problem or do we really have to use calculation manager?
q2. In calculation manager, validate works fine when i don't use prompts but when i use prompts, altought it returns an error saying "'Error:Validation against Planning outline succeeded.
Failed to validate against Essbase. One or more unresolved RTPs found: [RP_Currency, RP_Scenario, RP_Entity, RP_Year] ..." i can still deploy it and it works fine.. Is it a bug or is there a way to handle it??Hello everyone,
I have got the same message when validating a business rule against Planning in Calculation Manager.
"Failed to validate against Essbase. One or more unresolved RTPs found: [Scenario] on Rule App.Plan1.BR70 Copy Scenario'"
I did not get this message before. The rule is also working fine.
Another odd thing: yesterday, I had the phenomenon that I could not select a value for the variable. Today it's working fine again without having anything changed. Any ideas what this could be?
Thanks! -
Error when validating a business rule helfpully suggests checking the log for more details. I have looked around but cannot find the Business rule log. Any ideas where I should look?
T,
JHi Thr,
Check:
HBRServer.log,
Hyperion/logs/planning/HBRServer.log
Application log
Hyperion/logs/Essbase/App/<appNameFolder>/appname.log
For Planning Logs:
C:\Hyperion\logs\services\HyS9Planning-syserr.log(Hyperion 9.3.1)
C:\hyperion\logs\planOut.log(V11)
Cheers...!!! -
Error while validating Business Rule (Error Cause: nativeGetNewTLA Rule)
Hi, I am receiving an error while validating business rules
An error occurred in: Rule:HypLive.Plan1.Product Interest
A validation error was received from the Planning server 'http://abc:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=HypLive'.
'Error:
Error Cause: nativeGetNewTLA Rule HypLive.Plan1.Product Interest'.Are you able to validate the rule in EAS (or Calc Manager)?
Normally nativeGetNewTLA Rule is followed by out of memory errors like java.lang.OutOfMemoryError,
Increase the heap size to 1024, re start Planning and try validating it again.
Cheers..!! -
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 CollepicoloHi,
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 -
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-
-georgei'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 -
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 advanceHello 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 -
Business Rule Validation Error
Hello,
Please help me I'm finding the this error when I'm validating Business Rule in Admin Services.
"Unable to run or validate this rule (Demo2) against the following location: Essbase/Amit-pc/Sample/Basic for user Admin"
RahulHi,
Make sure you add the location in the locations tab of the business rule, then give the user access in the next tab along.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Personal, Color, Inkjet Printer -- Recommendations?
I need to get a new printer, and am looking for advice on a good model. The only things I require, is that it be: * inkjet * color printing * tray loading
-
Problem while adding SAP Netweaver 7.3 As Java in Solution Manager 7.1
Hi All, We are facing strange problem while configuring managed system- SAP Netweaver 7.3 As Java in Solution manager 7.1 SP3. We added this system in SLD of solution manager and synchronized it with LMDB. As a result this As Java system is present u
-
Tax Report - Tax Register Book with no data
Hy all! I'm facing a problem with the tax report: When i try to run the tax report (output mode: Tax register Book) i get the info message: "Data is not available; modify selection criteria and re-enter " and no results are display! If i deselect th
-
Mail for Exchange Widget N97mini
Hi everybody I have the following problem with Mail for Exchange on my Nokia N97mini : On the startsite i got that Mail for Exchange Widget, but it only shows my outgoing mails instead of my incoming mails. Can somebody tell me how i make them switch
-
Hi everyone, Recently I've been working with merged clips in Premiere Pro, and I wonder how you could find the video and the audio source from the merged clips once the name has been changed and the clip moved away (or even worse deleted from the pro