Business Rule question

Hi
how can I achieve the following in a business rule.
I want to copy some data from a cost center to multiple cost centers
I will have a runtime propmpt for a source cost center and multiple runtime propmpts for multiple cost centers.
DATACOPY from [source_cost center] TO [Target Cost Center _1];
DATACOPY from [source_cost center] TO [Target Cost Center _2];
DATACOPY from [source_cost center] TO [Target Cost Center _3];
my problem is that i will include per say 5 destination cost center runtime prompts and user wants to use only three destination
cost centers. how can i incorporate that logic into my business rule.
will business rule allow no input into a runtime prompt.
thanks in advance

Hi Eric,
i used the following script to copy from one cost center to multiple cost centers.
Planning system nine allows to have mutliple members. my [EntityDriverTo] is multiple member and my source [EntityDriverFrom] is single member.
FIX(Year,Jan::Dec,Account,"All_Employees",[EntityDriverTo])
[Scenario]=[Scenario]->[EntityDriverFrom];
ENDFIX
***************************************************************************

Similar Messages

  • Currency Converion and Business Rule questions

    Hi all,
    I am new to BPC and would appreciate if you can help me answer few of my questions. I was going through how to documents on currency conversion and Business Rules.
    1. The Flow in Currency Conversion and Business Rules different?
    2. Can Currency conversion be done without defining the Currency Rules?
    3. In Business Rules Detail there is a cloumn for Sign. How should one determine what sign should go for a given account?
    Thanks,
    Diksha.

    Venkatesh,
    It seems like you are using Company as your Entity type dimension.
    Try to change your code to look like this
    *RUN_PROGRAM CURR_CONVERSION    
         CATEGORY = %CATEGORY_SET%     
         SELECT(%CURRENCY_SET_ID%,"[ID]",CURRENCY,"CURRENCY_TYPE='R'")
         TID_RA = %TIME_SET%
         RATEENTITY = GLOBAL
        OTHER = [COMPANY=%COMPANY_SET%] 
    *ENDRUN_PROGRAM

  • Business Rule question in Essbase

    Dear Experts,
    I am trying to write the following business rule, I'm new to this and I am not sure how the syntax works, please advice.
    All I want to do is to insert the created Block for "March" into a variable so I can use it to calculate the value for IQ1 in the a different block. It should be a fairly simple procedure but I am very new to this and not sure where it is best to look for guides and use of syntax around business rules. So far I'm struggling to get the first block to work.
    SET CACHE LOW;
    SET UPDATECALC OFF;
    SET CLEARUPDATESTATUS OFF;
    SET LOCKBLOCK HIGH;
    VAR RMAR;
    FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","SPLIT_RATIO","VENDOR NA")
    MAR =RMAR ;
    ENDFIX /* FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","SPLIT_RATIO","VENDOR NA") */
    FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","ORIGINAL","VENDOR NA")
    MAR = IQ1 * MAR ;
    ENDFIX /* FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","ORIGINAL","VENDOR NA") */
    Many Thanks
    Stephen

    You can use the cross-dim operator (->) to refer to a different block than the one on which you have fixed. So, in your case, all you have to do is use a single fix block and do the following.
    FIX(ORIGINAL, ...)
    MAR = IQ1 * "SPLIT_RATIO"->RMAR ;
    - Francis

  • Oracle Business Rules Question

    Hi,
    I'm pretty new with Oracle Rules. I've had no trouble using them, to date. I define Java classes, set up the facts in Rules Author, and create the Dictionary, Ruleset, and rules... etc.
    I can run them fine, and the technology works as expected. My question is... what if my underlying data structures for the facts (the java class(es) in my case) change?
    From what I see with the Rules Author tool, there isn't an obvious way to sync up the underlying fact with events on the ground. I can see there would be a really good reason for not allowing attributes/methods/props to be removed (without redoing (some of???) the rulesets/rules)... but I am really interested in the ability for adding methods/attributes/etc to the underlying structures without rework.
    Here is my use case: I set up an initial fact and a ruleset for our clients with which to build rules. They add 500 rules. They now request the "fact" include another "new" attribute to be available in all new rules. Do I have to start over, and redo the 500 rules to accommodate the new attribute? There must be something which eases the pain... but I haven't found it yet.
    Any help in this issue would be most appreciated!
    Thanks,
    Dan

    Thanks for the reply. I guess I was making it more difficult than it deserved. I've been trying to "re" import... and never tried to import over the fact I already had.
    Thanks!

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Question regarding Business Rule

    Hi,
    If I updated the business rule by updating any parameter in the Dev environment, do I need to export this business rule into Prod environment or Can I directly change the code in the production environment.
    Please advice me on this.
    Regards,
    Upendra.

    John:
    Thanks alot for your quick response. And I have very silly question here. I am not sure how to import the file from dev to production.
    I checked in the EAS console,there is Export option is there. After saving that rules in xml format, how to import into prod environment. I know, this is a simple question but as I don't know about this, this being a major question for me.
    Thanks,
    Upendra.

  • Question about Business Rule Naming

    Hi,
    As we know that there is a restriction on number of characters you can enter to name a BR - is there a way that I can have two different names assigned to the same BR in EAS and Planning? Something like an alias? Or if that's something that cant be done then is there a way to make the description show up in the left pane when the Business Rule is associated with the dataform?
    We have rules/scripts that have short names but since the users might not be able to understand them by just looking at those names, was just wondering if we could make it a little simpler for them but either giving it another name (alias) or atleast show up the description?
    Please let me know your thoughts on this.
    ~ Adella

    Hello John,
    The naming restriction on BR is 50 characters. Honestly I didn't try it before until I saw your response and the question you asked me. :)
    I think you pretty much answered my question. Since I can enter upto 50 characters to name a BR I can give longer names which will be easier for the users to understand as well. I just hope that it should not create any other problems.
    I am glad you asked me the question. I always thought that the same restrictions apply on the BR too as with calc scripts.
    Thanks a lot John !
    ~ Adella

  • Asking a question twice owing to a business rule

    Hi All,
    I have a requirement where I have to ask for the new value of a Number attribute in the same interview as soon I have already answered it depending on a business rule.
    e.g. consider the following
    The application form is complete if
    The applicant's age is known
    {The applicant's age is a Number}*(but a hypothetical business rule is: if the age is under 18, ask the question again)*
    i.e.
    Interview 1:
    What is applicant age: *20*
    The application form is completeInterview 2:
    What is applicant age: *15*
    What is applicant age: *13*
    The application form is completeInterview 3:
    What is applicant age: *12*
    What is applicant age: *12*
    The application form is completeIs there a suitable workaround.
    Hope this helps.
    Thanks

    Idea 1:+ Use a warning rule like:
    Warning("You've stated that your age is under 18.  If this is correct, press the Submit button.") if
    the applicant's age < 18
    This will cause a warning message to appear on the screen, but (unlike an error event) it will allow the user to continue the interview.
    Idea 2:+ Create a second age attribute. If the value of the first age attribute is under 18, ask the second. Of course, this creates a risk of having inconsistent data (like your scenario 2), so you would need additional rules to resolve the inconsistency.
    I'd go with the first approach, personally.

  • Business Rules Security Question

    I have a sequence having 6 business rules. I am providing lunch previlege to a group for that sequence.
    Is that enough for the group to execute the sequence or I have to provide indivdual lunch previlege to each business rule listed in the sequence?

    Hi,
    I would say the group needs access to the business rules as well, if you don't and give just access to the sequence I don't think they would see the sequence.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business rule in MDS 2012 error: A database error has occurred. Contact your system administrator.

    I get the following information in my MDS log as well as the above error message when I execute a business rule that has a condition of AND and an Action of Attribute must be unique in combination with 2 other attributes. 
    I'm running SQL Server 2012 11.0.3000
    MDS database version 11.1.0.0
    Any ideas?
    MDS Error: 0 : SqlException message: A database error has occurred. Contact your system administrator.
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteDataSet(String spName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
       at Microsoft.MasterDataServices.Core.DataAccess.MasterDataAccess.<>c__DisplayClass5.<ValidateEntityMembers>b__4()
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteMethodWithDeadlockProtection(MethodDelegate method)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.ValidateMembers(Int32 versionId, Identifier entityIdentifier, IList`1 memberIds, RequestContext context, OperationResult results)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.Process(ValidationProcessCriteria criteria, Boolean commitVersion, Boolean validateEntityAsync, Boolean returnValidationResults, RequestContext context, OperationResult results)
    SQL Error Debug Info: Number: 208, Message: Invalid object name 'cteDuplicates0a070e37b106b9e3efe35a455076efa7'., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: , Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpBusinessRule_AttributeMemberController, Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpValidateMembers, Line: 0
        DateTime=2013-08-15T13:25:15.6684023Z
    MDS Error: 0 : <ArrayOfError xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Error>
        <Code>208</Code>
        <Context i:nil="true" />
        <Description>A database error has occurred. Contact your system administrator.</Description>
      </Error>
    </ArrayOfError>
        DateTime=2013-08-15T13:25:15.7152026Z

    OK I bit the bullet and contacted support on this one.
    There is a known issue with MDS 2012 and business rules with a combination of "must be unique" attributes. If you do not list the attributes in the same order that they were created you will get the generic error I cited. At first they told me it must be
    in the same order the attributes are in and that worked on one entity but not the other. The difference was that in the second entity I previously rearranged the attributes in question. Once I changed the order in the business rule to reflect the *original*
    order it worked like a champ.
    Hopefully this helps save someone some time and money.

  • Using a local Array in a Business Rule

    Newbie question here...
    I am writing a business rule that applies a standard rate to a lot of different lines in a business rule. This rate only varies by year, so from a logical perspective I think of it as a 1 dimensional variable. However the rate is actually stored in my normal Essbase cube (8-dimensions) something like the following:
    Dimension Dimension Member
    Account: Rate
    Dim2: No Dim2 Value (A dimension member called "No dim2 Value")
    Dim3: No Dim 3 Value
    Dim4: No Dim4 Value
    Dim5: No Dim5 Value
    Dim6: No Dim6 Value
    Dim7: No Dim7 Value
    Year: [varies by year]
    So right now my formula to calculate things looks something like the following:
    "Target Account 1" = "Driver Account 1" * Rate ->
    "No Dim2 Value" ->
    "No Dim3 Value" ->
    "No Dim3 Value" ->
    "No Dim5 Value" ->
    "No Dim6 Value" ->
    "No Dim7 Value"
    But I have to do this for several "Target" and "Driver" Accounts in the rule, which means an ugly looking rule. What I would like to do is create a local array at the beginning of my business rule and populate it with the rate:
    ARRAY _rate[Year]
    and then set the value of the array equal to
    Rate -> "No Dim2 Value" -> "No Dim3 Value" -> "No Dim3 Value" ->
    "No Dim5 Value" -> "No Dim6 Value" -> "No Dim7 Value"
    This will allow me to simplify my formula down to
    "Target Account 1" = "Driver Account 1" * _rate
    My first question is "can I do this?" I've been able to create an array and use it in the formula, but I can't figure out how to populate the values in the array from my main Essbase cube.
    The second question is "does it make sense to do this?" In addition to making the code easier to read, my guess is that populating the array once and just using it within the scope of the rule would be a bit more efficient than referencing that big cross dim expression, but I really don't know.
    Any advice anyone has would be appreciated.
    Thanks
    -Glenn

    I am familiar with what you are trying to accomplish.
    Having Essbase store a fixed rate over time to be used in calculations is possible. However formulas start to look complex depending on how many dimensions you have and what the desired outcome is.
    There are alternate techniques to the one you mentioned.
    You can create a new database for rates only and make it with fewer dimensions. Then use the @XREF function to retrieve it in your formulas.
    If the rate doesn't change very often you can put the Rate inside of the formula as is.
    For example Y2006_Rate = 5%.
    Brian Chow

  • Request for the business rule solution to my requirement in SOA suite PS5

    Hello Experts,
    Could anyone please help me with an easy solution to build the business rule solution to my requirement in SOA suite 11.1.1.6.0?
    When I get the Input (Request), I need to get the output (Response) as below
    Request                     Response
    Brand1           ->           XYZ
    Brand2           ->           MNO
    Brand1 & Brand2      ->           PQR
    I created a bucket set with Brand1, Brand2 and linked to the input value. I build the rule set and I got rules at conditions tab like R1 - Brand1, R2 - Brand2 and R3 - Brand1, Brand2. when i tried to add action on this rule at R1, i got conflict with R3. same is the case with R2 also.
    Can anyone please let me know how can I resolve this?
    Thanks
    Hari.
    Edited by: Hari on Mar 5, 2013 4:30 AM

    >
    sindu priya wrote:
    >
    > NOW MY QUESTIONS are.
    > 1) Is there any business object related to this functionality.
    > 2) how can i make this batch program in corpotrate in my WORKFLOW.
    >
    The first one is answered by Arghadip. Regarding the second one, what do you mean by incorporate (or what other term do you mean?). You want a batch program in your workflow? Why do you need a batch program? You can create an event when a person is fired (just like when he is hired) and wait for this event in the workflow. So no need to create a batch program (which would use basically the same solution, an event).
    Regards,
    Martin

  • 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) ?
    Thanks

    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

  • How to use  create & ruleExecutionSet in oracle business rules

    I am trying to run the demo example of oracle business rule (car demo) using
    ruleExecutionSet.
    What are the changes thet i have to made in example in order to create & use the ruleExecutionSet to run the car demo .
    with regards
    saleem khan

    you are in the Oracle Forms Forum and your question is related to JDeveloper and Crystal Reports, you think those two are linked to Oracle Forms in anyway??
    Please post your questions in the appropriate Forum.
    Tony

  • Is it possible to use "not" logical operator in a Business Rule Condition?

    This seems like a very simple request to me, but I cannot see any other questions/answers about it.
    Can I add a "not" to my Conditions in a Business Rule?
    My scenario is that I have a core Entity with a Type.  The Type is a domain attribute with a Code and Name.  The Code of the core Entity should in the form 'AA-9999', where 'AA' is the Code from Type.
    The idea is that I have a business rule with the condition "not
    Code starts with DBA.Type.Code" and the Action would be "Code is not valid".
    Is this possible?  Is there a better way of implementing this?
    Thanks,
    Michael

    Yeah! This is the board in question! But it has lots of versions, like K7T Pro, K7T Pro2 (my one!), K7T Turbo, K7T Turbo Limited Edition and K7T Turbo2, all of then are WS-6330 Lite...   They phisically diferent, but the BIOS seens to be the same... I want to know is this feature in the newer version is going to work or not on my board (MS 6330 Lite K7T Pro2 Ver:1) ....
    Doesn´t matter what board you choose (PRO, PRO2, Turbo, Turbo2) the MSI page shows all the same BIOS to Download... But I think that this feature is only applicable for K7T Turbo2, but will make no difference in my! At least that´s what I think...
    But you´re right! The board that I have is the one on the link you said!
    Thanks!      

Maybe you are looking for

  • Posing a question for those well versed in flash and flex

    I would like to start an off-line communication chat with those of you who are well versed in Flash and Flex. I've worked with Cold Fusion but I am not up to date on all the technologies available.  This seems like the perfect forum for this question

  • Rename files using Enter key

    Using the Enter key to rename files and folders works only with items in the desktop. Everywhere else I need to use Command+Enter. Any one experiencing this behavior? Any ideas on how to make it work as it should (only Enter needed)?

  • HT201209 what if i just want to check a balance on a card

    to know how much there is before gifting it to someone? Is there somewhere online to enter in the card number and see balance?

  • My las paid was delivered but I cant still make ca...

    hi,  I am premium user , my last paid was delivered but I cannot make any call since my skype account, my minutes are not charged in my account and I cannot contact the chat suppor even when I am premium user..  I restart my skype already, log off an

  • Time machine with 2 disks

    Hi, we recently bought a new iMac with Mavericks and a Lacie 5big thunderbolt series disk. At the Lacie disk we configured as they were 2 hard dsik of 4 Tb each one and added to time machine. Today the user called saying that  time machine only made