Rules - Reference an entity member list and then exclude some entities

I have rules written to extract data in a specific file format.
I am using a dynamic member list and then want to exclude some of the entities from doing the extract.
The member list is base of a parent - it has about 500 entities. I only want to exclude 5 entities. I don't want to have to create a member list of 500 entities just becasue 5 of them are not needed.
I can't use
POV_ENTITY <>
OR If Not POV_ENTITY =
becuause it is not the POV_ENTITY it is the entity in the member list.
How can I write that?
Before:
For Each Entity in HS.Entity.List("",ListName)
After: (gives me a Syntax error):
For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
Thanks!
Full section of the rules:
If ListOfEntity Then
'Flag accounts have a different name than the Entity list
'We need to include the name of the entity list in the File name
'as well as loop through it to extract those entities
'List Name = "Tax Entity & the right portion of the flag account beginning after "Tax_"
UndSco=Len(ListToXtract)
NameR = Right(ListToXtract, UndSco - 4)
ListName="Tax Entity " & NameR
'File Name is the concatenation below
'Admin has to change the path in the WriteToFile routine at the bottom of this file
FName="HFM_RIA_" & ListName & "_" & pov_period & "_" & pov_year & "_" & XView & "_" & FDate & ".txt"
'Below is the header of the file
Call Writetofile("*************************************************",FName)
Call Writetofile(pov_scenario & " " & pov_period & " " & pov_year & " " & XView,FName)
Call Writetofile("*************************************************",FName)
Call Writetofile("Entity" & "," & "Account" & "," & "ECT" & "," & "PCT" & "," & "CAD" & "," & "CZK" & "," & "EUR" & "," & "GBP" & "," & "PLN",FName)
'We loop through all the entities of the list related to the current flag account
For Each Entity in HS.Entity.List("",ListName) AND If Entity Not "TAX_ROLLUP.TAX_DOM" Then
Edited by: user2609991 on Jan 20, 2010 6:23 AM

Sorry, yes I did it now using the greather than and less than signs.
I am able to load the rules file but it still writes the Tax_Dom info to the file.
I think I am going to give up and just create a big member list of all the entities less those six.
Thanks for responding.
Edited by: user2609991 on Jan 20, 2010 11:33 AM

Similar Messages

  • I am trying to edit my music list and then sync it to my iPhone 5 so I don't run out of storage space. However, I see the check marks on the iTunes library but am unable to uncheck them? How do I manually edit what will be synced to my phone?

    I am trying to edit my music list and then sync it to my iPhone 5 so I don't run out of storage space. However, I see the check marks on the iTunes library but am unable to uncheck them? How do I manually edit what will be synced to my phone? (the check marks are not bolded, does this mean they are not in my library but only on my phone?)

    You uncheck the music in your iTunes library on your computer and along with sync only checked songs and videos selected under the Summary selection for your iPhone sync preferences with iTunes, only checked songs in your iTunes library will be transferred to your iPhone or remain on your iPhone and the unchecked songs in your iTunes library that are currently on your iPhone will be removed when syncing.
    Or make use of iTunes playlists and choose selected playlists, albums, artists under the Music selection for your iPhone sync preferences with iTunes and select the playlists below that you want transferred to your iPhone.

  • TS1702 i have erased my all phone contact list and then the message comes that it will be deleted with in an hour. but now my phone is not starting and only the apple logo appears on the screen. what should i do now..!

    i have erased my all phone contact list and then the message comes that it will be deleted with in an hour. but now my phone is not starting and only the apple logo appears on the screen. what should i do now..!

    That number is for an apple server in the UK that is used for iMessage activation.  A hidden SMS is snet to that number when you turn iMessage on and is used to verify your phone number.  I suggest you turn iMessage off.  In settings/phone turn on dial assist.  Check with your carrier to see if you can send an international SMS as you end that possibility to activate iMessage.  Rest your phone (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).) then turn iMessage back on.

  • Hey plz help me out!!  i am using macbook pro 10.5.8..... and was using photobooth...and then after some time i opened it and there was no green light on cam, and it displayed nothing! plz tell me how to fix it! i want to see my face again!!! plz help me

    hey plz help me out!!  i am using macbook pro 10.5.8..... and was using photobooth...and then after some time i opened it and there was no green light on cam, and it displayed nothing! plz tell me how to fix it! i want to see my face again!!! plz help me

    iSight troubleshooting
    http://support.apple.com/kb/HT2090

  • Dynamic Entity Member Lists using UD1 and UD2

    Hello fellow HFM gurus:
    I have created dynamic member lists to get all members of the entity dimension that have a UD1 or UD2 member as specified in the script.
    THe member lists all appear in HFM, but when I try to select them, I get a run-time error. I am trying to select them in the member selection of a data form (in the same drop down with the different system member lists for entiites, like hierarchy, descendants, etc.).
    I believe this is the standard syntax. Please let me know if something is wrong with it.
    ElseIf HS.Dimension = "Entity" Then
    If HS.MemberListID = 1 Then
    ELi=Hs.Entity.List(",")
    For i = Lbound(ELi) to Ubound(ELi)
    If HS.Entity.IsBase("",ELi(i)) = TRUE Then
    If (StrComp(Hs.Entity.UD1(ELi(i)),"DD",vbTextCompare)=0) Then
    Hs.AddEntityToList "",ELi(i)     
    End If
    End If     
    Next
    End if     
    Error in HFM:
    Invalid member selection. Error executing VBScript Microsoft VBScript runtime error, Line 475:Wrong number of arguments or invalid property assignment: 'HS.Entity.List'.Error executing VBScript 0.Error Reference Number: {9A7697E2-75AE-4A06-9A34-B45D58022984};User Name: mark.d.smith@Native DirectoryNum: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvScriptEngine.cpp;Line: 392;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvDSMemberLists.cpp;Line: 2722;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CommonMetadataInternal.cpp;Line: 461;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvEntities.cpp;Line: 338;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CCommonDimension.cpp;Line: 1015;Ver: 11.1.2.1.103.3505;

    Hi Mark,
    Please check the double quotes after Entity.List. It should be "","".
    Regards,
    S

  • Check count and then do some work

    Hi,
    I have a table with 10 million records. I want to check whether a value of a specific column is present or not. If the count is greather than 0, then I want to do some task and if it is 0, then I want to do some other task.
    Could you please tell me what is the best way to do?
    What I am doing now is: I am checking the count using count(*) and then checking the value whether that is greater than 0 or =0 and then based on the value I am doing different task.
    But count(*) is slow for this big table.
    So, please let me know the best possible way to do this.

    declare
      value_exists number;
    begin
      select count(*)
      into   value_exists
      from   my_table
      where  my_column = 'ABC' and
             rownum = 1;
      if value_exists = 1 then
      elsif value_exists = 0 then
      else raise_application_error(-20001,'Bad value for value_exists of '||coalesce(to_char(value_exists),'NULL'));
      end if;
    end;

  • My wife sync her 4s iPhone with iTunes and then delated some video off the iPhone  lnow we can't find vids on our mac is there a way to retire the vids thanks

    my wife synic her ipone 4s to our Mac using itunes.  she then delated some of the vids off the phone  now cant find deleted vids on the Mac is there something we can do

    restore from her backup http://support.apple.com/kb/HT1766
    sycning your phone to the Mac doesn't transfer it to the Mac, you would need to import pics/videos to the mac http://support.apple.com/kb/HT4083

  • How can I scroll down the top menu list and then the sub-menu lists when the iPod click wheel is broken?

    I have an iPod Classic 4th Generation and my click wheel connection is broken and so does not work. I can still play music on my Bose dock station but I cannot choose which album I want to play because I cannot scroll down the playlists.  I can just play the first tune in the list or from where I last paused a tune. Is there a way to scroill down the list, including the top menu list, without using the click wheel?

    Index Values, I think, is the property you are looking for.  Set the index to 0 to be at the top.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Formula that checks drop down list and then sums

    I have a table with a drop down list with two values: '$' and 'Hr' (cell called 'PType').  There is a cell called 'Proposed' that contains numerical data. The table is dynamic and can have more cells inserted via a button within the row.  I have a totals section that I want to total the SUM of 'Proposed' if the value in 'PType' is '$'.  I can't figure out what type of statement will allow me to write this.
    For now, my solution has been a hidden column whose cell simply states:
    if (PType == "$") then
        Proposed
    endif
    Then, in the totals section, I sum this hidden column since a value outside of '$' returns a '0' and won't affect my SUM.
    I am looking for a formula I can write that does this within the totals cell instead of having two cells.
    Thanks,
    Mallard27

    Here's my take on it.
    // 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 + "].PType").rawValue == "$") {
                total = total + parseFloat(table.resolveNode("row[" + i + "].Proposed").rawValue);
    this.rawValue = parseFloat(total);
    Steve

  • Simple Web Application - To display list and then details

    Hello All,
    I am trying to build simple classifieds web application using - JSP, MySQL.
    I am little confused how to achieve following using JSP - for example -
    Craigslist can display list of classifieds and when clicked on individual classified - the record is shown as Static HTML file -
    http://newyork.craigslist.org/mnh/cpg/708366015.html
    http://newyork.craigslist.org/mnh/cpg/708343755.html
    How can i achieve the same results dynamically - i mean, how can i create a static HTML page using information in database and put that static HTML file on server so it can be picked up by search engines ...
    I am new to java guys .. so please show me some light or explain me how do i code this using JSP.
    Thank you,
    Jagdish

    How can i achieve the same results dynamically - i mean, how can i create a static HTML page using information in database
    and put that static HTML file on server so it can be picked up by search engines ...By definition a dynamic html page doesn't exist, so how would a search engine find something that doesn't exist?

  • HT3228 When I try to send an email from my Iphone it will not send and tells me the recepient will not allow relaying.  The email will sit in my outbox and then at some point will send.  It sometimes takes days.  What is wrong with my settings?

    When I try to send an email either new, or reply on my phone I receive a notification that recepient will not allow relaying.  The email will then sit in my outbox.  At some point it will send but it is hardly dependable.  What is wrong with my settings?

    The collum to the right listed similar problems.  The solution appears to be that under smtp outgoing settings the user name and password are listed as optional.  I have not plugged in the information and it seems to be working.  However from my office it always allowed the relaying.  The true test will be when I try to respond later from the road.
    Thank you for your help.

  • Scanning documents and then changing  some of the sentences?

    Scanning a document and changing 2 sentences?So I then can
    use it for myself.

    Hi,
    If you are looking to use Adobe Acrobat you should take a
    look at the Acrobat forums here:
    http://www.adobeforums.com/webx/.ee6b2f2/
    This forum is for Acrobat.com.
    It might also help to take a look in the user guide for
    Acrobat, in particular the sections on paper capture and the
    touch-up text tool.

  • Convert to black and white and then restore some of the colour (colorize

    Is it possible in Aperture to have a colour picture, reverse in black and white and from that picture restore some colors back, like ColorSplash on the iPhone.
    I know how to do it in Photoshop, but I thought is there an external editor in Aperture whom can do that?

    this pops up frequently here ...
    easy answer, use the dodge and burn plug-in to selectively desaturate the image ...

  • Output to only Desktop and then only some formats

    Speedgrade will only Output to my Desktop  and in Quicktime. If I poini it to another location or drive  it zips through the file and I get a done message but nothing is written to file. Any ideas???

    Please make sure you're running 6.0.1. Can you upload a screengrab of your render settings ?
    Thanks.
    Dennis

  • First a bit of thanks and then need some help

    First I want to thank so many people who contributed to resolving Y2P issues such as drivers, battery life, flickering etc. The issues were really killing my enjoyment of a laptop I thought I'd love but was almost ready to take back after just a week of ownership. I was about to buy a Macbook Pro and at the last minute went for the Y2P because I wanted a touch screen for some things and was starting to regret my decision especially when my battery life was so terrible and the cursed screen flickering. But this forum kept me from getting rid of it.
    Now I am left with pretty much just one issue, scrolling with the trackpad. Is there any way ti invert the scroll? It is opposite of what I want and am used to. I was able to invert the scrolling on my Surface RT 2 but on the Y2P I seem to be stuck with the stock scroll.
    I have searched all over and I can't seem to find a fix for this. It drives me crazy in some apps. I can't find any tweaks in the Synaptics settings. Any registry hacks that might work?
    Also has anyone found a good case for the Y2P? I bought a Thule (13" protective sleeve TAS113) one for a Macbook and it is a bit snug but might work.

    I did try. Alot of what I found dealt with creating pages and templates, which I will need soon, but not yet. I found the link below. It looked promising, but didn't end up relating to any option I could see for myself to try. I have tested my connection already so I believe I entered all the ftp information correctly.
    Open and edit existing documentsYou can open an existing web page or text-based document, whether or not it was created in Dreamweaver, and edit it in either Design view or Code view.'

Maybe you are looking for

  • Equipment ABC indicator mapping

    Hi  PM Gurus Need some help I need to fill up three fields in technical object master data which is existing. 1.     Technical object type u2013 ( like rotating , fabricated , instruments etc..) 2.     Catalog profile u2013 ( sub classification based

  • How to get type any table in function module... or something

    Moderator message: Please use a more informative subject in future, and NOT IN ALL CAPITALS. Hi experts, how to get type any table option. in source code. *"  CHANGING *"     REFERENCE(S_EKORG) TYPE  ANY TABLE OPTIONAL Thank you. Edited by: Matt on F

  • Hierarchial data through content conversion

    All, we have an input file in the following format. (This is a fixed length file structure, where the first character is the type of the record and the rest is the data) 0XXXX 1YYYY 2MasterRow-1 3Childrow 1 3Childrow 2 4Childrow 1 4Childrow 2 2Master

  • Crashes with OS X update 10.5.7

    iPhoto 6.0.6 crashes when attempting to open any Film Roll. No problems before update. Any suggestions (other than new version, I'm out of the country). iPhoto library is on iDisk. Also iDVD crashes upon opening. Thanks.

  • Smartform Pages Problem

    Hi, I have developed a Smartform and that is working fine with all values that form have terms and conditions and subtotals if i have one page i need to display in the first page all the terms and conditions if i  have more than one page i need to di