Copy the value of descendants

Hello

In a business rule, I want to take a value of a project and push it down to all descendants (where they exist).

To do this, I have tried the following:

SET EMPTYMEMBERSETS
Fix (Begbalance,actual,Target,Approved,"FY04",@descendants ([Project]), [Manager])
"DE104' = [project];
ENDFIX

It seems to work when performed against a project which has descendants, but when the project has no descendants, he applies the value to all projects in the db.

Suggestions?

See you soon

Rewrite this is:
SET EMPTYMEMBERSETS
Fix (Begbalance, actual, Target, Approved, "FY04", [Manager])
Fix (@descendants ([Project]))
"DE104' = [project];
ENDFIX
ENDFIX

In this way the inner fix would evaluate to the empty member set. Prior configuration had additional members in the hotfix, and fix it all wasn't a member set empty.

Kind regards

John A. Booth
http://www.metavero.com

Tags: Business Intelligence

Similar Questions

  • Copy the value of the element

    Hello

    I was asked to create the form for a person using Forms 6i.
    Basically, they want some data to be duplicated between the tabs and tables.
    It's a thing of education, there are 2 tables
    1 an overview of the classes
    1 with detailed information on a slope.

    Then
    Grade_Overview table
    Student_Id
    Grade_Id
    Object
    Score
    Teacher comments

    Grade_Detailed table
    Student_Id
    Grade_Id
    Object
    Score
    Score_Breakdown
    Exam date
    Detailed comments
    Head teacher comments

    As you can see a large amount of data is duplicated,
    They would be like this every time that they entered on the tab that looks like Grade_Overview, no matter what the fields are duplicated in Grade_Detailed get automatically populated in this tab of the table and the form so that when they enter this tab, they must only complete the missing information.

    I thought that would copy value point to the work, but the two blocks are multi record to show up to 8 examinations both blocks and it is only copy the value of the first line records multi, rather than them all.

    Could someone advise me?

    Thank you

    Martin

    Hello

    If the answers are correct or useful mark it accordingly :)

    Concerning
    SANAE

  • How to copy the values to another scene lighting effects

    Cs6 pro working, how can I copy the effects emna values to the next scene? The scenes are long from 5 to 10 seconds and I was reset values of scene by scene lighting effects. Is it possible to copy the values from one scene to the next?

    Normally, copy 'Effect' to clip and paste to the other will work just fine.

  • Copy the value of a cell in another tab.

    Hello

    First of all, I'm french. I hope you could understand my poor English.

    I have a got a form with a tab where you can sup or ad raws.

    I gat a second tab.

    I would like to copy the value of the cell (textfield) in a cell in the second tab.

    I try ' this.rawValue = evolution.forobj.tab1.r1.txt1.rawValue; ' event, but it does not change.

    Thanks for your help.

    Nath

    Hi Nath,

    This should work in case the object in tab2 calculate:

    this.rawValue = evolution.forobj.tab1.r1.txt1.rawValue;
    

    The language must be set to Javascript.

    There is another way to approach this problem without script. So, if you can not get this to work, come back.

    Niall

    Ensure the dynamics

  • Copy the value from one point to another element

    Hi all

    I have a few items of data selector and a check point, now I want to copy the value of the element selector data for other transmissions of data selector by clicking on the chechbox, an example of javascript?


    Thank you

    Deep

    Deep,

    So the objective is to copy a single date field in several date fields? try this out...

    
    

    See you soon,.

    Janet Tyson

    Published by: Tyson Janet on April 20, 2009 14:05

  • Copy the value of the item to another page of the apex in a field

    I have a main table and adds a new button.

    In my master table, there is a client code.

    If I press this button again, I will be referred to another form on another page where I can create log files.

    For the moment, I have to insert the client code in this form.

    How is it possible to copy the customer ID, if I press the new button in the main table, if this customer code (value) will be copied

    in another article on my other page?

    Hello

    What version of APEX are you using?

    Solution for this should be simple.

    Just edit the button element. Assign it "Action when the button is clicked" "redirect to the page of this application.

    "Then set: Set on these elements ' with the name of the target element and the 'with these values" with the name of the source element.

    The same works also for reports. But instead of the nom_element, you must add the column name as: #COLUMN_NAME # for 'with these values.

    Concerning

    J

  • Copy the value from 1 to 2 filled in the fields?

    Okay, not sure if it is possible, but here:

    I create a request for rental of a local community centre which has a Hall and an area of land/land to rent. Most people only need 1 or the other, but sometimes they need both at the same time.

    On Page 1, I have 2 lots for rental costs: 'Hall_Rental_Fee' and 'Grounds_Rental_Fee '.

    In Page 3, I have 1 field called "rent".

    Is is possible to take the value of the full field of Page 1 and copy it to 'Rent' to Page 3, and if the two Page 1 fields are filled out, for total 2 fields and put this value in the field to the Page 3?

    Or is it totally impossible and I would just bring an extra field to Page 3 for the 2nd field?

    Any help is greatly appreciated.

    It's actually very simple. You can use set the field to page 3 to be the

    the sum of these two fields. If one of them is empty, its value will be

    considered equal to zero and therefore have no influence on the

    result. And if both are filled, the value will be the sum of them.

  • Copy the value of the text box if the 'primary' text box is not null or ""

    HI -.

    I have a form with text fields that should be echoed elsewhwere if and only if a primary text box is not null or "". ""

    So txtPrimary, txtSecondary, txtDependant

    If primary is not "" or "" then take value of txtSecondary and txtDependant set to txtSeconadary.

    As this develops, it may be that txtDependant not use if primary txtSecondary "" or "" otherwise txtDependancy will get the value of txtOther.

    Any direction/thoughts?

    I'm not sure that I follow all this, but it seems that the script should be:

    // Custom Calculate script
    (function () {
    
        var f1 = getField("txtAgencyFEIN");
        var f2 = getField("txtAgencyBusinessAddress");
    
        if (event.source && (event.source === f1 || event.source === f2)) {
    
            var v1 = f1.valueAsString;
            var v2 = f2.valueAsString;
    
            if (v1 && v1 !== " ") {
                event.value = v2;
            } else {
                event.value = "";
            }
        }
    
    })();
    
  • Copy the value of the item to another item

    Hi all

    I have 2 items P45_NAME and P45_FULLNAME in a form.

    What I want is if I enter ABC P45_NAME then when I go to the agenda
    P45_FULLNAME have automatically (same value |) (' XYZ')

    so, if P45_NAME = ABC then P45_FULLNAME = ABCXYZ
    P45_NAME = MDM P45_FULLNAME = MDMXYZ then
    P45_NAME = XYZ then P45_FULLNAME = XYZXYZ

    Please help me
    OMy

    Hello

    Check the name of the element you use in action dynamic javascript.

    This procedure works completely.

    If you have an apex.oracle.com account then give your workspace, uname, password, or you can try these steps on the apex accommodations

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Copy the value of the first detailed to the second detailed form form

    Hi all

    I have the form and the fields are like that these are multiple
    prod_id   prod_name    quantity    price
    
    101         drees             5             200
    102          top               3             150
    205          jean              2              520
    I want to copy these data in the second when-new-form-sample form

    Thanks and greetings
    Vikas

    Vikas,

    That's why I wrote

    But i did not find any relation field between the sales order master to detail and delivery master to delivery detail. ( I think you may not mentioned here.)
    

    Replace WHERE A.SALES_ORDER_NO = with

    WHERE A. =
    

    Kind regards

    Manu.

  • Copy the values in a repeatable subform of a dynamic array in a summary table

    I have a subform continaing repeated several text boxes and a table where the lines can be added and removed. When the user clicks the Add button an again to repeat the subform, I wish that the information listed in the table to stay instead of one empty.

    Is this possible? Suggestions as to how I would go to this topic?

    Thanks in advance for any help.

    THANK YOU very much for your help. It's exactly what I was trying to do.

    Thank you once again!

  • Data Currency Adjustment of entity are not copy through rule when we used the value source as "ECT."

    Hi all

    Data Currency Adjustment of entity are not copied through rule when we try to copy the data from one entity to another entity for the same account if the account is to have only the data entity Currency Adjustment but rule the data copied correctly when the entity is to have Exchange entity adjustments and currency of the entity.

    Wrote the rule to copy the values from the source account ' entity currencies Total "to target the currency of the account"entity ". Rule works as follows:

    1. If the source account's currency of the entity and entity Currency Adjustment, total value ECT (EC + ECA) copy correctly to currency of the entity to the target account. -OK

    2. If the source account's single currency entity (has no entity value Currency Adjustment) then under rule copy data properly to account currency of the target entity.  -OK

    3 but if the source account has only entity Exchange adjustments (has no value of currency of the entity) and then under rule is not copy of account currency of the entity of the target data. -Requirement

    Could you please see the rule below and please suggest possible solution to copy the Court of Auditors with the help of ECT when the source account has only ECA.

    If Hs.Entity.Member = "120006_ALTER" and HS. Value.Member = "Currency entity of <>" Then

    HS = IS_Account. Account.List ("NetProfit", "[Basic]")

    For each Account1A in IS_Account

    Set dataUnit HS =. OpenDataUnit ("E #120006.A #" & Account1A & ".") W #YTD")

    numItems = dataUnit.GetNumItems

    If numItems > 0 Then

    For I = 0 to numItems-1

    Call dataUnit.GetItem (I, vAcct, ACIP, vCust1, vCust2, vCust3, vCust4, AllocAmt)

    If AllocAmt <>0 then

    GSA Exp "A #" & Account1A & "=" & _

    «E #120006.V # < entity Curr Total >.» "A #" & Account1A

    End If

    Next

    End If

    Next

    End If

    Thank you

    Mahesh

    I thank very you much for the quick response. I tried with the above but no luck.

  • Copy the LOVs display value to something else

    Hello

    I have: 1. two elements: P1_ID, P1_NAME and both are in the same form.
    2 P1_ID is a dynamic LOV witch popup displays the value of name (string, P1_NAME) and return the value of the id (number).

    I need: * 3. To copy the value of the item display P1_ID to P1_NAME. Can someone help me with this? Should I choose a different approach better then JS? *


    I tried with * $s (pNd, pValue, pDisplayValue) * but I only get the return value of P1_ID. I don't know how to get and use the pDisplayValue

    < script type = "text/javascript" >
    function getVal (NDP)
    {return ($v (NDP)! = "")? parseFloat ($v (NDP)): 0 ;}}

    function setvn()
    {$s ('P1_NAME', getVal ('P1_ID')) ;}}

    < /script >

    The JS is called from P1_ID: HTML attribute: onchange = "setvn (); »

    Thank you

    Hi 965374,

    create a dynamic action on the event change on the P1_ID. real action point should be set the value:
    -Set the Type = Expression JavaScript
    -JavaScript Expression = $('#P1_ID').val)
    -Selection Type = item (s)
    -Selection Type item (s) = P1_NAME

    Or you can do it with execution of JS Code and writing code:
    $s ("P1_NAME", $('#P1_ID').val ());

    BR,
    Marko Goricki
    ---------
    http://apexbyg.blogspot.com/

  • Derivative of a cell based on the value of another cell's true/false

    Hello

    I try to create a list of digital control and would have put cells highlight according to a corresponding value in another cell.

    For example, I would like cell D2 to white if the cell H2 is FALSE, or if the values of H2 is TRUE, I would D2 to be green. I want this for about 20 lines.

    Any suggestions?

    Hi JCR.

    Conditional highlighting rules depend on comparing the value contained in the cell to be highlighted (D2) with a second value. The second value may be fixed (recorded in the rule) or may be contained in a cell of the second.

    In your scenario, the highlight would be independent of the value in D2.

    There are two ways to accomplish what you want using conditional highlighting, highlighting a third cell whose value depends on the value in H2 and whose pointing out will be seen as highlighting of the D2, OR by providing a third cell whose value can match or does not match the value in D2 , the value of H2.

    Since you want to highlight only a single cell, and not a group of cells, the second method is probably more simple here.

    Each cell in the column I contains the following formula, entered in I2, and filled then down on the rest of the column:

    I2: = IF (H, D, "xxx")

    English: If the cell in this row of column H is set to TRUE (enabled), copy the value in this row of column D to this cell. If not, put "xxx" in this cell.

    'xxx' can be any value that will be ever present in the cells in column D.

    The below table conditional formatting rule is placed in cells D2 - D10. The cell reference is to the cell "this rank" in column I and is different for each cell.

    Kind regards

    Barry

  • copy the data from the columns box

    Hi all, I have multicolumn listbox and I deleted all the lines both vertical and horizontal lines and columns headers.when while, I run my vi, some string data are introduced into the list box. However when I try to copy a line of string in the drop-down list, I am unable to do (I can't select a line,... the idea is to select a row in the list box so that I can paste it somewhere else... That's how am supposed to allow some feature of the list box to be able to do this... any help? Thanks already

    Hello

    If I understand your problem, you want to copy the values of time and the description at once and paste the entire line in a txt for example, no? Unfortunately, the listbox is as an array of 2D channels and each field is a different value of this table 2D. You can copy a value at the time when the VI does not RUN otherwise you can use a property node to display the name of items and that the copy and paste values (always a time value) also using the VI.

    I hope the information is useful for your application

    Concerning

    Mario

Maybe you are looking for

  • Obtaining iWork ' 09 on Yosemite

    I have iWork ' 09 running on my MBP with 10.10.  However, I am unable to get ' 09 on my MP 5.1 running 10.9.5 (13F1911) because I do not have the patch that allows to iWork ' 09 to function on 10.10.  I bought ' 09 on a DVD, and Apple has stopped sup

  • upgrade graphics card query

    I have a hp envy touchsmart 15 j120-tx. I would like to know if it is possible to update my current graphics card(nvidia GT 740 M) and also if there is a slot for an additional graphics card.

  • S440 - M.2 length (SSM / SSD)

    Hi people, I recently bought a S440 and would like to add a SSM (m2) now to install the top OS. Unfortunately, I am not able to find an answer on the duration of the SSM (2242, 2260, 2280). Anyone is able to provide me with this detail or may refer t

  • How can I clear logs Reporting of activity on my email account?

    When I connect my email account and look for activity reports, I get a detailed log of all pages and activity for months. How can I clear the history of the journal and update my account so that it only shows reports this month and not the previous n

  • How can I manage conference layout to the driver at the Conference?

    How can I manage conference layout to the driver at the Conference? I am able to change the layout to the MCU only, but through condcutor is not possible. I have driver manages 5 vTS.