Validation between TWO hierarchies; Help, please

Hi all

I build validations and I'm having a problem with a piece of syntax.

Business need:

Make sure that all members, preceded CCC that exist in the hierarchy1 also exist in the hierarchy2.

All members of the project are created in hierarchy1. We also have another hierarchy called hierarchy2, in which we that allow to control the attribute "therapeutic Zone".  This attribute is inherited to level "CCC".  So, once we create members of the CCC-xxxxx-xxxxx in the hierarchy1, INSERT us this member in its respective place in the hierachy2 to assume its therapeutic area.

It is relatively simple.  Now, sometimes users don't always do the step #2 (insert in hierachy2), so I build a validation to check if all members of the CCC in the hierarchy1 exist in the hierarchy2, as described above.

My syntax is for a class: Validation of the formula: (Validation is attributed to hierachy1)

NodeInHier (Equals (String, SubString (Abbrev (), 1, 3), CCC), hierarchy2)

This valid and works successfully, but his shot all the members, instead of the members of the CCC JUST.

Is there a piece of syntax, I'm missing here?

Thank you.

To apply only to those who start with CCC, you could do "If (Equals (String, SubString (Abbrev (), 1, 3), CCC), NodeInHier (Abbrev (), hierarchy2), True).  This way the validation will pass for anything that does not begin with the CCC and will look in hierarchy2 for those that do.

Tags: Business Intelligence

Similar Questions

  • CD player says D: / is not a valid win32 application. Help, please

    I try to open a cd on my computer and it is not auto run. When I go to my computer and try to click on the drive it says D: / is not a valid win32 application. Help, please.

    Thank you

    Hello

    1. it happens with all the CDs and DVDs?

    2. were there any changes (hardware or software) to the computer before the show?

    Method 1: Perform the steps in the article mentioned below and check if the problem persists.

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

    Method 2 : run a Scan for SFC (System File checker) and see if the problem occurs.

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

    Hope that helps.

  • Multicamera Source sound from 1 Speaker instead of two? HELP PLEASE!

    So, I've been at this for a while now. Am I missing something?

    Simply, I take my 2. The MOV and 1. WAV and I create a sequence of source mulit-camera. Except when I play my time line and it appears in the portion of my program it only time the. WAV of a speaker...

    If I have to break and load the .wav of chronology in the source pane using the hotkey "F" while playing on the speakers... ?

    A screenshot of the ventilated according to the sequence Source Mulit-camera by clip is attached.

    Please help me, thank you!

    Screen Shot 2015-03-25 at 5.30.44 PM.pngMulti-Cam sequence ONLY ONCE FROM LEFT CHANNEL AUDIO, Adobe Premiere Pro CC. MultiCam editing in question first CC First Pro Multicam works not. create sequence camera multiple source w / external audio recorded

    When I do a multi-channel mono sequence, it will do the same as you describe, just out of the left speaker. in this configuration sound only playing the first configuration of 5.1 channel speakers which is left front. If you need a sequence of mono, you can make a new sequence and choose mono, not multichannel. then copy and paste on all the clips of the old order to the new mono.

  • Validation between two list selection.

    I would like to validate two selection list. What I want to do is when one of the selection list is 'ATR', the selection on the other list, it must be "N/a". I'm sure you'll tell me I should use in waterfall lov parent, but the problem is that I already associated with one of them another selection list. I know that I can associate it with more than one, but it does not work. The data model allows it and change it, it will give me a lot of changes throughout the application. That's why I'm looking for another way to validate two selection list.

    Thank you, Bernardo.

    Hello
    I think you can also do with a validation step! In any case, it should be of type function from PL/SQL to return a Boolean.
    Validation write an expression something like that according to your needs:

    IF :P1_LIST1 = 'ATR' AND :P1_LIST2 = 'N/A' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;

    Regards Garry

  • I need to remove an additional mailbox; I get all my messages in the Inbox on two inboxes; Help, please

    All my incoming emails arrive in two different folders in Inbox; both are using my unique email account; How can I delete one of them?

    Thank you very much

    Rob

    It is here that your do not get everything you want.

    Either redirect all messages in local folders as I've mentioned, and in the process lose the address named one. (you can change the name of the local folders, you do.)

    Or get used to having two lots of records.

  • Can someone me save/validation of 12 items, help please? says Internet failure = is not true

    I bought EP 12 this weekend and first installed the trial version. Whenever I want to use the editor, he askes me for the key. I logged in, the registrykey submid and choose "validade. The message is that I have to connect to the Internet. But I am! I send this message, can I?

    I first tried the cat customer service but they told me that they cannot help me. I have to ask the technical service! Ok... I called them and spoke to a representative of coarse Adobe and freshness who finay told me that he cannot help me. First of all, I have to pay 24 Euro.

    I'm sorry but I don't want to pay for help that I need just to make me use a purchased version of 12 elements.

    Anyone here who can help me? I would use 12 and don't want to go back to 10 FlexChoice...

    Thanks in advance!

    solution:

    had to go to C:\Windows\System32\drivers\etc

    Open file:'hosts' (with Notepad)

    deleted: 127.0.0.1 activate.adobe.com 127.0.0.1 lmlicenses.wip4.adobe.com 127.0.0.1 lm.licenses.adobe.com 127.0.0.1 activate.adobe.com

    and register again. Worked!

  • OOP communication between classes. Help, please!

    It is a slight continuation to a previous topic I posted.

    Description

    control_Class - is the attached main class dtö the .fla this class contains this line of code

    addChild (levels_bg)

    levels_bg -is a movieClip that has its own class of Levels_BG

    Levels_BG - after user selection his work monitoring

    control_Class.startlevel (e.currentTarget.shape_obj.text_box. (Text);

    which is a function in the control_Class:

    static public void startlevel (levelname:String): String

    {

    trace (LevelName.substr(LevelName.Length-1,LevelName.Length));

    }

    My problem is that when in this function, I can't draw or use one of the functions or variable in control_Class.

    for example.

    static public void startlevel (levelname:String): String

    {

    trace (LevelName.substr(LevelName.Length-1,LevelName.Length));

    RunThis();

    }

    private function runthis (): void

    {

    trace ("it works")

    }

    Hope someone could help me with this. Relatively new to OOP and I don't know if I'm doing this right.

    See you soon,.

    Pavel




    you will need to use static variables in control_Class.  I'm not sure it's a good Setup, but you have no instance control_Class shown in your code.

  • Regular expression help please. (extraction of a subset of the string between two markers)

    I haven't used regular expressions before, and I can't find a regular expression to extract a subset of the string between two markers.

    The chain;

    Stuff of header I want
    Stuff of header I want
    Stuff of header I want

    Stuff of header I want
    Stuff of header I want
    Stuff of header I want

    6 ERRORS
                         
    Info I want to line 1
    Info I want line 2
    Info I want line 3
    Info I want to line 4
    Info I want to line 5
    Info I want line 6
    END_ERRORS

    From the string above (it is read from a text file), I try to extract the subset of string between ERRORS 6 and END_ERRORS. The number of errors (6 in this case) can be any number from 1 to 32, and the number of lines I want to extract will correspond with this number. I can provide this number of a caller VI if necessary.

    My current solution, which works, but is not very elegant;

    (1) using Match Regular Expression for the return of the string after you have synchronized the 6 ERRORS

    (2) uses the Regular Expression matches to return all characters before game END_ERRORS of the string returned by (1)

    Is there a way this can be accomplished using 1 Regular Expression Match? If so someone could suggest how, as well as an explanation of the work of the given regular expression.

    Thank you very much

    Alan

    I used a character class to catch any word or whitespace characters.  This put inside parentheses a substring matching the criteria that you can get by developing the node for regular expression matching.  The \d matches the numbers and the two * s repetition of the previous term.  So, \d* will find the '6', as well as "123456".

  • two other programs to lose control of cursor when loading firefox. Nitro pdf & on display at take-off from the software Center. Help, please

    two other programs to lose control of cursor when loading firefox. Nitro pdf & on screen takeoff on center software. Help, please.

    When I use the programs listed above and firefox is loaded, scrolling through these programs takes me at the edge of the window. I can't scroll 3 lines I can when FF is not loaded. I hate to say it, but FF is certainly the culprit.

    OK, if I may ask, what also happened when Firefox is in Mode safe? That will do this troubleshooting step, is whether this is caused by an add on that you have in your profile. Questions to troubleshoot Firefox in Safe Mode

    Moreover, the fact happen on the touchpad, as well as with an external mouse (if it's a laptop, if not, please ignore)Reset Firefox preferences to troubleshoot and solve problems

    Does this happen with accelerated scrolling on? This setting is in preferences/Options > Advanced Options > general

    Please post back with your results, thank you!

  • I am trying to install the service Pack 2 or 3... they are all two generate error message: EXPECTED VERSION OF THE PRODUCT NOT FOUND... Help, please. Thank you.

    I am trying to install the service Pack 2 or 3... they are all two generate error message: EXPECTED VERSION OF THE PRODUCT NOT FOUND... Help, please. Thank you.

    George in San Diego

    Assuming that Windows XP has been reinstalled just for some reason any...

    HOW to get a computer that is running Windows XP Gold (no Service Pack) fully patched (after a clean install)
    http://groups.Google.com/group/Microsoft.public.windowsupdate/MSG/3f5afa8ed33e121c

    HOW TO get a computer that is running Windows XP SP1 (a) or SP2 fully patched (after a clean install)
    http://groups.Google.com/group/Microsoft.public.WindowsXP.General/MSG/a066ae41add7dd2b

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Help! Static route between two router WRT160NL

    Hi all

    I have my internet connection to connect to my main router from Linksys WRT160NL (192.168.1.1) with 192.168.1.x.

    My 2nd Linksys router to connect to the first gateway as well.
    The 2nd router has the ip 192.168.1.100 WAN and it's a local subnet as 192.168.2.x.

    My 192.168.2.x machines can access the internet and connect to all the machines in the network 192.168.1.x.

    However, the 1.x network cannot access the machines on the network of the 2. And because of that, I can't share or print between two networks.

    I try to add static routes on my main router (192.168.1.1) with the road: 192.168.2.0 mask 255.255.255.0 and default gateway 192.168.1.100

    However, the road does not work yet.

    in any case to ensure that the 1.x network able to access the network 2.x and 2.x access 1.x file and print sharing.

    Thanks for your help!

    Gateway of the router does NAT who made the side inaccessible side LAN WAN, unless you configure port forwarding automatic or similar. If she would not make your LAN 192.168.1 would be accessible from the internet. Static routing will not change that.

    You will need to disable NAT (aka switch to router mode) on the second router. You must configure a static route on the main router then. However, most likely your network 192.168.2 * will not have Internet more because the main router will NAT for 192.168.1. * and no 192.168.2. *.

    If possible set up the second router as access point only and run a LAN.

  • Differences between the version of BlackBerry Device Software and platform. Help, please...

    Hi guys!

    I'm really confused... Help, please!

    We have developed applications for our customers. We tested with our BB8700 and it works fine.

    We used JDE4.2 for development... and we think that it will work on v4.2 based handsets.

    But our customers wrote that it works on v3.7. Why? Is this possible?

    I looked at the information about my 8700 device and then noticed: v4.2.1.107 (platform v2.3.0.84)

    -What are the differences between the version of BlackBerry Device Software and platform?

    Possible customers spoke of version 3.7 of the platform?

    There is a list of the devices, where we can find the version of BlackBerry Device Software by BlackBerry device model?

    Or where we can find information about the models of devices that will support our application?

    Thanks in advance!

    AFAIK there is no version 3.7 platform.

    Customer talking about the OS version.

    So, if they have the device OS version 3.7 you must use JDE JDE 3.6, 3.7 or older.

    Or take updated device OS if the necessary software is available.

  • I used up to the allocation for the region 1 & 2 DVD for help. stuck on region 1 now. I need to use the two regions for my DVD. Help, please. Beryl

    I used up to the allocation for the region 1 & 2 DVD for help. Stuck on region 1 now.  I need to use the two regions for my DVD. Help, please. Beryl.

    It isn't a MS solution, there are solutions to third parties not supported by MS

  • Help, please. Word 2010 Professional does not when I do compare function with two documents big word.

    Help, please. When I try to run the function 'Compare' for two large documents in Microsoft Word 2010 professional, the program stops responding.  I have the Professional Windows 7 operating system. The function 'Compare' works with smaller word documents. What can I do to fix?  Thank you

    First try a repair of Office

    For more help post the specific Group Office/Word

  • Invalid key, when I get the product I hit gete message: the product key is valid. Help, please

    I had xp on my computer, I bought a WIN 7 take ownership with a product key sealed in the box. make a backup with windows easy transfer to external hard drive.  When I enter the product key I get the message: the product key is valid.  Help, please

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    or

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us
    ----------------------

Maybe you are looking for