Validation formula to check the value of prop parent within the DRG

Hi people,

As I said, I would be harassing you with some questions when creating certain validations of DRG thanks for understanding.

Creating node in DRG, I need e validaytion more to kick off:

If the Member starts with 'ZEN' and a Parent starting with "CCC", the value for Custom.prop1 of the parent company must be "Post-Cs".

Example of

Parent Customprop1-

CCC-XXXX-XXXX Post-Cs

Child

ZEN-XXXX

Thank you!

Hello

If this is the scenario, you can change the condition first ZEN-a formula

If the formula should look like below:

If(Equals(String,Substring(Propvalue(Core.Abbrev),1,3),ZEN-A),If(Equals(String,Substring(PropValue(Core.Parent),1,3),CCC),If(Or(Equals(String,ParentPropValue(Custom.prop1),Post-Cs),Equals(String,ParentPropValue(Custom.prop1),Pre-Cs)),True,False),False),True)

Thank you

Tags: Business Intelligence

Similar Questions

  • Formula that checks the dropdown list, then add

    I have a table with a dropdown menu with two values: ' $' and 'Hr' (cell called "PTapez").  There is a cell called 'Project' that contains numeric data. The table is dynamic and may have more cells inserted via a button in the row.  I have a section total I want for a total of the SUM of 'Project' if the value 'PTapez' is ' $'.  I don't know what type of instruction will allow me to write this.

    For now, my solution was a hidden column with the cell simply indicates:

    If (PTapez == ' $') then
    Proposed
    endif

    Then, in the section, I summarized this hidden column because a value outside of ' $' returns '0' and will not affect my SUM.

    I'm looking for a formula I can write for it, within the total cell instead of having two cells.

    Thank you

    Mallard27

    Here's my opinion on the matter.

    Form1.Page1.Subform1.table.footer.sum::calculate - (JavaScript, client)

    var total = 0;

    for (i = 0; i< form1.page1.subform1.table._row.count;="" i++)="">
    If (table.resolveNode ("row [" + i + "].")) (Proposed") .rawValue) {}
    If (table.resolveNode ("row [" + i + "]..")) (RawValue PType') == ' $') {}
    Total = total + parseFloat (table.resolveNode ("row [" + i + "]..")) Proposed RawValue"));
    }
    }
    }

    this.rawValue = parseFloat (total);

    Steve

  • DRM validation to check the existence of nodes in a different hierarchy as a property value

    Hello gurus,

    I have two hierarchies, named A and B respectively. I need to create a validation for nodes in A hierarchy that checks the value of a property such that the node must have the property value equal to any node name in the hierarchy B.

    Means that the values for this particular property for the nodes in A hierarchy must exist as a node in the hierarchy B.

    It would be very grateful if someone can give an idea to achieve this.

    Hello

    Try this in a type formula validation-

    NodeInHier (PropValue (Custom.PropName), B)

    This returns false if the value of the property is not a node in the hierarchy B and True if it's.

    So, you will get a validation message whenever the property is loaded with a value that is not a node in the hierarchy of B.

    Thanks, let me know

    Denzz

  • How to check the value of Disqualification working correctly?

    Hello

    I have problems using the processor to check the value in Disqualification. I want to check the customer name field for how many names contain 'TEST' in them. Here are the steps I follow, I hope that someone can identify where I'm wrong:

    1. Add checking the value

    2. in the ATTRIBUTES tab, add "Customer Name" as the field of Validation

    3. in the OPTIONS tab, add 'TEST' as against value to compare files, choose "is equal to", as the comparison operator, select 'Yes' to Ignore Case.

    In reviewing the data, I see many instances where TEST is in the name of customer - but the value record tells me that there is no example of this.

    Have I missed something obvious/fast?

    Thank you!

    Checking the value does not have a check Contains. Use the list check with the Contains option for this.

    You can press F1 on each processor for its help page if you are not sure about what he does.

    Mike

  • Caveat "the formula uses a Boolean value instead of a number" would dismiss

    Hello!

    I do a "Calculator" to get estimates of price for the projects, according to which processes the customer wants.

    Rates for each process are added in another table, and I use the list of control buttons to enable or disable the various processes.

    Here is an example of a formula:

    D3 determines if the part of the project modeling is performed, so the price will be or will not be calculated.

    If D3 is true, the result is multiplied by 1, give me a positive amount. If false, the result will be multiplied by 0, 0, so nothing to add to the final cost he send me some.

    Same for B4 in the same formula.

    This formula is repeated all over the chart, with minor changes to add more complex options, but it's all the same.

    Everything works fine, but I got those blue triangles warning me of "the formula uses a Boolean value instead of the number". That's fine with me, I like the use of the Boolean types, and they make my formulas work well in my calculator. How can I reject the blue triangles?

    They are a little annoying. And they do not really correspond with the general style of my calculator.

    I saw someone talking other types of formulas, with SEARCH and yews, but who is really complicated and I don't know how to do... Especially for a simple calculator

    Is there a way to simply do not display warnings?

    Using the version 3.6.2 on a MacBook Pro, OSX El Capitan 10.11.5

    Thank you!

    Hi Sinshassan,

    I don't know a way to escape your blue flags except to make a formula which is consistent with the expected numbers. It is not difficult.

    My formula D2 = yew (AND(D1,B2), C2, 0)

    The IF statement tests the two D1 AND B2. If they are true, then it indicates the value of C2 your carbon Modeling::High Poly #1, if one or both are false (unchecked) then 0 is displayed.

    Give it a try.

    Quinn

  • check the installation of directx valid message on Skype

    original title: directx

    I have a problem that I try to make a video call on Skype, I get message 'check the valid installation of directx' how check it out or fix it?

    Hi John,.

    (1) if it works well before?

    (2) remember to make changes?

    (3) what version of Windows you are running on the computer?

    It is sufficient to indicate the complete error message you receive.

    You can follow the steps given by Azeez N and D of Diana in the links below that addresses this issue

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/cant-start-video-renderer-check-you ' ve-got-a-valid/3cb8e374-8cea-4722-b094-9bfcfd11bca6

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/how-to-check-if-you-have-a-valid-DirectX/1282d473-99f7-49f0-9f86-54227a2dbfea

    If the problem persists, please contact Skype more specialized.
    http://www.Skype.com/intl/en-us/support/user-guides/

  • Error on startup: "application (the file name is) is not a valid windows image, check against your installation diskette."

    computer startup happens on the screen with "application (the file name is) is not a valid windows image, check against your installation diskette." It can be any name of a file that appears, if I click ok it will.  Anyone know what I should do now. Thank you

    Hi LorraineMatthews,

    ·         Did you do changes on the computer before the show?

    ·         What is the exact error message?

    ·         Are you able to boot to the desktop?

    Follow these methods.

    Method 1: Follow these steps:

    Step 1: Start the computer in safe mode and check if the problem persists.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    Step 2: Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After the boot minimum troubleshooting steps, follow section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start and then click Run.

    (b) type msconfig and click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal Startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 2: Scan the file system (CFS) auditor to repair corrupted files.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

  • What tool can be used to check the validity of the drivers

    original title: drivers

    does anyone know of a utility driver... free preferbly :)... outside the windows update that checks the validity of the drivers with a repair with a single click to delete / update etc... Thank you

    Hello

    To add the good advice of T.G.:

    Automatic driver update programs often fail, and when this happens, the results can be a nuisance
    to a disaster. Manual update of the pilots is my preferred method.

    Maybe need of these:

    This utility, it is easy see which versions are loaded: (this is not an automatic update of the driver
    It just allows you to easily see information on the drivers of program.)

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AS ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to check the page dirty with default values existing in viewObject?

    Hi all

    I use JDeveloper 11.1.1.4.

    I have two pages in my application. I am browsing for page2 page1.

    Before opening page 2 I created new line page 2 notice of object using method 'Create Insert()' with some default values by using the ViewRowImpl class.

    My problem is that I have a button to return to Page 2. If I click the back button, then check the Application module is dirty or not.

    But it always shows AM is dirty due to I'm setting some default values in ViewRowImpl. If I avoid the default values in ViewRowImpl then AM dirty check works fine.

    My Question is how to check the AM (or) dirty Page with default values in the object view?

    My bean Codes:

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DataControl dc = bindings.findDataControl("AppModuleDataControl");

    ApplicationModuleImpl am = ((ApplicationModuleImpl) dc.getDataProvider ());

    If (am.getDBTransaction (.isDirty (()))

    {

    return "Page is dirty."

    }

    My Jspx Codes:

    < af:commandLink id = "cl6" text = '2 '.
    shortDesc = "Add Row in Page2"
    actionListener = "#{bindings." Action CreateInsert.execute}' = 'Edit' >

    Thank you

    David...

    see this

    http://www.techartifact.com/blogs/2013/11/how-to-check-ifdirty-is-modified-for-view-object.html

    http://www.jobinesh.com/2011/05/checking-for-dirty-data.html

  • formula to subtract the value of the fixed number field

    I'm new to javascript and have been unsuccessfully trying to complete what I know is a very simple task.  I have a form with 12 fields containing a sum in dollars.  "C1" field has a formula that counts the number of 12 fields contain a value.  This formula works correctly.  I want the "c2" field to display the number of fields without value.  I thought it would be simple subtract the value of "c1" of 12 to get the value of "c2", but I can't make it work.  The formula below is what I currently have in the custom calculation script window.  Any help with the drafting of a code that works would be greatly appreciated!

    var a = 12;

    var b = this.getField ("c1");

    var c = this.getField ("c2");

    c.Value = a.value - b.value;

    You must make sure that b.value is a number, not a string with a number.

    var a = 12;

    var b = this.getField("c1").value;

    this.getField("c2").value = a - b;

  • How to create a validation script that sets my value to a minimum of 1 (even if the calculation of the value is less than 1)?

    I use a notation simplified field to calculate the value

    (kg1 * 1.5) - diaporama1

    I want my value to only a minimum of 1 at any time, even if the actual value itself is less than 1

    Thank you!

    Add this code in the custom validation script:

    If (event.value<1) event.value="">

  • Checking the negative value

    Hey guys I have a result on the ground which is of type varchar, but it stores numbers. I want to check if the value is negative or not. The code below works perfectly except for 1 case where the result has only ' - '. -indicates a missing value not a negative... How this can be fixed. Here is my code snippet.
    -Search for numeric values
    IF (trim (TRANSLATE (resvalue,'+ -. 0123456789', ' ')) IS NULL) THEN
    -Look for the negative value if the value is numeric
    IF (substr (resvalue, 1, 1) = '-' AND substr (resvalue, 0, 1) is not null) THEN
    v_ret_msg: = v_result_name | "" A negative result. "

    Also check the LENGTH of resvalue.
    That is to say:
    If length (resvalue) = 1 and substr (resvalue, 1, 1) = '-' then...

  • How to check the current values of COMMIT_WAIT and COMMMIT_LOGGING

    Is it possible that you can check in a session to determine the current settings for COMMIT_WAIT and COMMMIT_LOGGING? I am not referring to a situation where they are defined via ALTER SYSTEM and changed the world, but changed using ALTER SESSION and locally defined. I'm currently testing a trigger to do it for a very specific batch user and just need to be able to log on and check if the adjustment was established successfully or not.

    >
    Is it possible that you can check in a session to determine the current settings for COMMIT_WAIT and COMMMIT_LOGGING?
    >
    Well, since these are the initialization parameters, you can check the PARAMETER V view $

    select name, value from v$parameter
    where name like 'commit%'
    
    NAME,VALUE
    commit_point_strength,1
    commit_write,
    commit_wait,
    commit_logging,
    

    And after changing their

    alter session set commit_logging = 'IMMEDIATE';
    alter session set commit_wait = 'FORCE_WAIT' ;
    
    NAME,VALUE
    commit_point_strength,1
    commit_write,
    commit_wait,FORCE_WAIT
    commit_logging,IMMEDIATE
    
  • How to check the value of a string is numeric, alphanumeric or characters?

    Hi all
    I have a task to validate an employee ID, assume that the employee Id is E121212. Now according to the validation rule, I need to check "the first letter of the employee Id is a character and rest are numbers." How can I do this? Please answer.



    Thanks and greetings
    Marie Laurence

    Hello

    You can opt for regexp_like in this case. See the code below

    with data as (
      select 'E121212' s from dual union all
      select '121212' from dual union all
      select 'EE121212' from dual union all
      select 'EE1212EE' from dual union all
      select 'É121212' s from dual
    )
    
    select
    *
    from data
    where
    regexp_like (s, '^[A-Z]\d+$')
    
    S
    E121212 
    

    ^ [A-Z] means that, at the beginnign (^), should be only between A - Z characters, uppercase. If you want to add lowercase letters, you can easily replace it [A-Za-z]. \d is a symbol for the numbers and + means it must complete at least one or more of her. $ means the end, so he stayed there until the end but nothig figures.

    If yoou want characters as allowed, you can change the character class to [: alpha:]

    select
    *
    from data
    where
    regexp_like (s, '^[[:alpha:]]\d+$')
    
    S
    E121212
    É121212 
    

    concerning

    Published by: chris227 on 26.07.2012 00:53
    fix

  • Check the values of the hierarchy

    Hello
    I have a requirement where I need check the data of the child if the parent is not satisfying the condition
    Here is the sample table and data.

    I have a test_test1 of the Table that contains the data parent and child
    create table test_test1 (dependent_id number ,dependent_upon_id number)
    
    insert into test_test1 values(2,1)
    insert into test_test1 values(3,2)
    insert into test_test1 values(4,3)
    
    select dependent_id ||' depends on'|| ' '||dependent_upon_id  
      from test_test1
    There is another table to check the status of the id in the table above.
    create table test_test2 (id number,i_m varchar2(11))
    
    insert into test_test2 values(1,'ISUE')
    insert into test_test2 values(2,'MN')
    insert into test_test2 values(3,'MN')
    insert into test_test2 values(4,'MN')
    Now if the lookup id is 3, check the State, be it ISUE / MN.
    If the State is "MN" then check with that is the State of his child;  4 (the child can be greater than 1)
    If id 4 has the "MN" State, to consult because he was a child extra until he got the State as 'ISUE. If there is not more far childs are 'MAY', and then mark search (3) as inactive, active id otherwise.

    Note: The id is not in additional order that I gave in the data of test as 1,2,3... etc.

    Could you help me how to achieve the above requirement


    Thank you..

    Published by: smile on December 30, 2011 11:57
    select *
      from (
            select dependent_upon_id  as ID
                  ,case when instr(sys_connect_by_path(t2.i_m,','),'ISUE')>0
                        then 'ACTIVE'
                        else 'N/A'
                    end               as status
                  ,max(level) over(partition by dependent_upon_id)  as maxl
                  ,level                                            as l
              from test_test1 t1
              join test_test2 t2
                on (t2.id = t1.dependent_upon_id)
             connect by prior t1.dependent_upon_id = t1.dependent_id
            union all
            select e.id
                  ,decode(e.i_m, 'ISUE', 'ACTIVE', 'N/A') status
                  ,1
                  ,1
              from test_test2 e
             where not exists(select 1
                                from test_test1 r
                               where r.dependent_upon_id = e.id )
           )
    where ID = 2 -- 3
      and maxl = l 
    

Maybe you are looking for