Possible to get filtered child information on the parent's browse screen?

We're writing a 'case management' system that revolves around an event in the workplace-- slip and fall, burned your lip on hot coffee in the kitchen, etc.
Related to a 'case' are people-- witnesses, investigators, etc.  As you might imagine in the database structure the 'case' is the head of the octopus, with witness and investigator tables linked to it in a 1-to-many fashion.
Right now we're trying to craft a screen whereby we pass in a a 'Person' as a screen parameter-- and I don't mean the built-in 'Person' type from LS, but an entity of our own making.  We would like to see on the screen all cases involving that person,
whether they're an investigator or witness or other.  (The witness and investigator and other entities have related links to the Person entity, so for Investigator #342 you know who that is.)
On this screen we're working on, as one of the datasources, we have the Case table, and have selected the 'Edit Query' link to filter the listing of cases to only those involving our 'Person' parameter.
Here's where I'm getting a bit lost.  In the filter screen itself I can easily craft something based on the fields in the Case table, but is it possible to filter based on related entities to the Case, like the Investigators or Witnesses?  Maybe
I'm missing something obvious but I don't see any provision for child entity properties as filters.
I'm pretty sure we can do a workaround by creating multiple tabs on this screen, so that for a given person we can see individual tabs listing cases in which they're Investigators or Witnesses.  But is it possible to list this all out without tabs?
 Or at least without advanced stuff like getting creative with WCF RIA services?
In short, the question is this: can I list on one screen all cases involving a person no matter their role?  Or do I need individual tabs for each role (Investigator, Witness, etc?)

Yes you can by creating a custom query on case. Use the PreProcess query event to filter the cases in code.
Dave
Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

Similar Messages

  • Is it possible to get planned orders by checking the capacities

    Dear experts,
    Can u please help on the following case!
    when we do MRP run for any material, planned orders are getting generated on the particular date as per our PIR. once we got the planned order, we are converting to production orders to the defined date.
    Is it possible to get the production order dates by checking work centre capacities?
    even if capacity is full, production orders are getting generated on the particular day,we are not able to produce the item as defined on the day as capacity is full on the workcentre.ultimately customer is not happy as dispatch is not taking place in time.
    how will we configure this case in the system to enable timely dispatches or timely intimation to the customers for delay in dispatch?
    regards,
    murthy.

    for any mxml tag with an id attribute: <mx:Button
    id="foo">
    the child is available simply as the variable "foo":
    foo.label = "New Label"
    Other children can be accessed by walking the tree using
    getChildAt().
    quote:
    Originally posted by:
    LaCampanella
    If it is possible to get any child by the way like DOM's
    document.getElementById, it will be very useful to us controling
    child.
    Thanks.

  • Is it possible to get a camera added to the back of my ipod 5 16gb?

    Is it possible to get a camera installed on the back of my sons ipod touch 5th generation 16gb? I bought the wrong one on accident.

    No. If you purchased it from Apple within the last 14 days you can returnit for a full refund and purchase a 32 or 64 GB 5G since those have the back camera.
    Returns & Refunds - Apple Store (U.S.)

  • Is it possible to get a count of all the class files in a Flash Builder project?

    Is it possible to get a count of all the class files in a Flash Builder project?
    Thanks!

    Resultsets are one per connection unless you have copied them. Do you have lots of connections are you properly reusing them or at least closing and discarding all references?
    See tutorial and Javadoc of API too

  • I plan to buy an iphone 6 from New York. I am from India and shall be using the phone in India. Is it possible to get an unlocked iphone from the store? If yes, how much would it cost?

    I plan to buy an iphone 6 from New York. I am from India and shall be using the phone in India. Is it possible to get an unlocked iphone from the store? If yes, how much would it cost?

    It is going to be months before any unlocked iPhone 6s will be available.
    Also be aware that the iPhone purchased in the USA will only have warranty service in the USA. Any warranty service will require you to bring it back to USA.

  • Remote Desktop Virtualization Host failed to get redirection authentication information from the virtual machine

    Hello,
    When implementing a VDI solution, I'm getting an error on our virtualization host server.  The error is:
    Remote Desktop Virtualization Host failed to get redirection authentication information from the virtual machine [VDI-PC].
    Hresult 0x8000FFFF
    Event ID 8467, Severity: Warning, Source: Microsoft-Windows-TerminalServices\TSV\VmHostAgent
    This error happens every time a user or admin connects to a VDI desktop.  This is a fresh install of Remote Desktop Services on completely fresh servers.  This is in testing and we have not ever had it working before without the error.
    Topolgy: Server2012 R2, Windows 7
    Srv-RDCB1: Is the connection broker and Web Access server.  It is Virtualized thru Hyper=V.
    Srv-RDVH1: Is the virtualization host.  It is a physical server. It also has a separated hyper-v role (for RDS VDI deployment).
    Everything seems to be functional other than this error in the log, and I haven't found any information on what this could mean.
    Any help is greatly appreciated, thanks!

    Hello. I have this trouble too.
    All roles on one server.
    Deployment type - Quick start
    Deployment Scenario Virtual mashine-based desktop deplyment
    Reinstall all roles 2 times
    Warning TerminalServices-TSV-VmHostAgent
    8467 Orchestration
    Remote Desktop Virtualization Host failed to get redirection authentication information from the virtual machine [per-0] . 
    Hresult: 0x8000FFFF
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
      <Provider Name="Microsoft-Windows-TerminalServices-TSV-VmHostAgent" Guid="{92618A87-2F6A-4B75-9AE2-E77BE7EAF43C}"
    />
      <EventID>8467</EventID>
      <Version>0</Version>
      <Level>3</Level>
      <Task>22</Task>
      <Opcode>14</Opcode>
      <Keywords>0x4000000000000000</Keywords>
      <TimeCreated
    SystemTime="2014-11-11T13:24:45.579138000Z" />
      <EventRecordID>1655</EventRecordID>
      <Correlation
    ActivityID="{F4200EF7-FEDD-4CAD-9F5D-6219A5F30000}" />
      <Execution ProcessID="3164" ThreadID="13164" />
      <Channel>Microsoft-Windows-TerminalServices-TSV-VmHostAgent/Operational</Channel>
      <Computer>blade2.vzfei.local</Computer>
      <Security UserID="S-1-5-20" />
      </System>
    <UserData>
    <EventXML xmlns="Event_NS">
      <param1>per-0</param1>
      <param2>0x8000ffff</param2>
      </EventXML>
      </UserData>
     </Event>
    In RD Gateway Manager, right-click on the RD RAP and click Properties.  On Network Resources tab select
    “Allow users to connect to any network resource”.
    not work.

  • How do you get your iphone out of the connect to itunes screen?

    How do you get your iphone out of the connect to itunes screen?

    What error message is it displaying? Check this Apple support document for information on specific error messages when restoring the iPhone. http://support.apple.com/kb/ts1275

  • I no longer can get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go backk to a regular screen shot. How???

    I can no longer get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go back to an original screen shot. How?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • How to Use Messge-Pool of Child DC, in the Parent DC

    Hi,
    I am trying to achieve componentization of webdynpro projects.
    I want to use the messages stored in the Messge-Pool of child DC, in the parent DC.
    I have done the following so far:
    I have stored all the messages(error/standard) in the message pool of one DC project.
    I have created the public part of the component of that DC.
    I have Build-deploy-checkin that DC project.
    I have added that public part to another DC.
    I have successfully added it to the "used Webdynpro components" of the second DC.
    I am able to successfully pass values using context mappings, between the two DCs.
    But i am not able to use the Messges available in th message-pool of the first(child) DC.
    I added the childDC to the properties of the Views of the second(Parent) DC, but i am still not able to use the Messages present in the Messagepool of the child DC.
    Is there a way to use the Messages present in the Messagepool of the child DC, in the views of the parent DC???
    Thanks,
    Hanoz

    Hello,
    You have to use EXPORTING LIST TO MEMORY AND RETURN addition with SUBMIT stmt.
    Try like this:
    DATA:
    L_IT_LIST TYPE STANDARD TABLE OF ABAPLIST.
      SUBMIT <Child Program Name>
      WITH SELECTION-TABLE LIT_RSPARAMS
      EXPORTING LIST TO MEMORY AND RETURN.                   "#EC CI_SUBMIT
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = L_IT_LIST
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'WRITE_LIST'
          TABLES
            LISTOBJECT = L_IT_LIST
          EXCEPTIONS
            EMPTY_LIST = 1
            OTHERS     = 2.
        IF SY-SUBRC <> 0.                                       "#EC *
    *     Do Nothing
        ENDIF.
    Hope this is clear.
    BR,
    Suhas

  • Can you modify the roll-up schedule for child servers into the parent?

    We have one parent server (which server some clients directly) and two child servers.  There appears to be a large delay (maybe 2 hours) between when a server reports into a child server and when that update reaches the parent server.  We would
    like to be able to query the master server on patch night and get an up to date accounting of patch status without having to wait for the roll-up.  Is there any way to change the roll up interval or to force a roll-up on demand (say right before generating
    a report of approved patches)?
    Tom

    Here is the scenario:  The clients are set for a 3 hour detection frequency, and on patch day the patches are approved at least 3 hours before the earliest patch time.  The first patch window starts at 8:00PM on patch night and the servers are
    set to patch and reboot, so they start installing at 8:00 and after they finish and reboot they always report in to their reporting server within a few minutes after startup.
    This scenario is almost certainly doomed on principle from the start. Consider the following sequence of events that must occur between the time you approve the updates on the USS and the client system wants to install the update (at 8:00pm).
    The USS WSUS Server downloads the files for the approved updates from Microsoft. (This could run from minutes to an hour or more depending on the number of updates and available bandwidth, and I'm considering a liberal Internet connection for this activity.)
    The DSS WSUS Server(s) synchronize with the USS. The first sync event following the completion of any given update download will trigger the download of that file to the DSS as well. (How often your DSS syncs will drive this delay.)
    The DSS completes the download from the USS. (Like #1, this could run from minutes to hours, depending on the number of updates and available bandwidth.)
    The client system executes a detection with the assigned DSS and discovers that an approved update has a file available for download. (How often your client executes a detection will drive this delay, and even with a 3-hour detection, the client only has
    max TWO possible opportunities to find these updates between 10am and 8pm.)
    The client system completes the download from the DSS. (And these downloads must be completed BEFORE 8pm in order for the WUA to actually schedule the updates to be installed.)
    As such, the practicalities of getting from approval (even assuming mid-morning for that event) to fully downloaded by 8pm (so a total time span of ~10 hours end-to-end) is flirting with failure.
    For best results to make your 8:00pm installation time, you really need to approve the updates at least 24 hours in advance, and to ensure they get to the replica servers, probably closer to 48 hours in advance, all depending on what the actual
    DSS synchronization interval is, and the available connection bandwidth between the DSS and USS, and the USS and Microsoft.
    We would like to be able to see if all servers have patched as soon as possible after 8:00PM so we can start troubleshooting them and get them patched.
    The first hurdle here is when those systems are restarted after the updates are installed (assuming that the updates have actually gotten to the client system in time to be installed at all). The client system reports back to the assigned replica WSUS server
    following the restart. That state information is then uploaded to your upstream WSUS server during the next DSS server synchronization event. In addition, the reporting events from both the client-to-DSS and DSS-to-USS are processed asynchronously inside the
    database.
    The only way you could get that data "as soon as possible" is to set the client detection frequency to 2 hours, the DSS synchronization to 12 times per day, and even then, there's a potential delay of up to four hours between client restart and the
    availability of that status data at the upstream WSUS server. In order to get anything more "real time" than this, you'd have to implement a managed deployment tool such as
    SolarWinds Patch Manager.
    Furthermore, there are significant disadvantages to having 2-hour detections and 12x daily synchronizations, in terms of the amount of noise generated in the form of "events" reported at each of those activities a dozen or more times a day.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Accessing variables from Child window from the parent window

    Hi All,
    I am in the process of integration of payment gateway, here I am opening payment gateway page as a new window, and after payment is done then I need access one variable which is hidden variable ...any ideas

    Have a hidden field/js variable in the parent page. Add a Javascript function in parent page which would take a value as parameter and set in the parent page hidden field/js variable. In the child window, you can invoke the method from script block as window.opener.setValue(document.getElementById('CHILD_WINDOW_HIDDEN_FIELD_ID').value)
    For Javascript related questions, please visit Javascript forums.

  • How do I center a child window in the parent when it loads

    I want to open a window and have it start up centered in the parent window. What's the best way?
    Thanks in advance for the help.

    I can't make it work. I can't find a method setLocationRelativeTo() either. What class contains that method?

  • Is is possible to get a 720 score across the board while in an ACTIVE Chapter 13 BK?

    Hi Everyone!I am a huge lurker and have learned so much from just reading the threads here over the last year and a half since I filed Chapter 13. I have worked diligently to clean up my reports and I really would like to get to 720 or higher at the 2-year mark of my BK (August 2015). Currently, my scores are:-Equifax FICO 8- 682Experian FICO 8- 652Transunion FICO 8- 650 I have a small real estate loan (land) that has an excellent payment history. I also have a secured credit card with a $1000 limit that I pay off in full every month and a Best Buy Store card with a balance of $2200 that I will pay off by the end of the month. Finally, I am a cosigner on a car loan that also has an excellent payment history (I needed the history and my Trustee would probably not be happy that I got a car loan without his permission but my job requires a car). I have resisted the urge to apply for any credit in the last 1 1/2 years in the hopes that by August 2015 all the inquiries would fall off my historyWhere do I go from here to hit the 720 mark? Am I wasting my time trrying to figure out what to do differently or do I just have to bide my time until my discharge in August 2017?Any and all help would be appreciated. Thanks.

    Libertad2020 wrote:
    Hi Everyone!I am a huge lurker and have learned so much from just reading the threads here over the last year and a half since I filed Chapter 13. I have worked diligently to clean up my reports and I really would like to get to 720 or higher at the 2-year mark of my BK (August 2015). Currently, my scores are:-Equifax FICO 8- 682Experian FICO 8- 652Transunion FICO 8- 650 I have a small real estate loan (land) that has an excellent payment history. I also have a secured credit card with a $1000 limit that I pay off in full every month and a Best Buy Store card with a balance of $2200 that I will pay off by the end of the month. Finally, I am a cosigner on a car loan that also has an excellent payment history (I needed the history and my Trustee would probably not be happy that I got a car loan without his permission but my job requires a car). I have resisted the urge to apply for any credit in the last 1 1/2 years in the hopes that by August 2015 all the inquiries would fall off my historyWhere do I go from here to hit the 720 mark? Am I wasting my time trrying to figure out what to do differently or do I just have to bide my time until my discharge in August 2017?Any and all help would be appreciated. Thanks.You wait till you complete your plan and the Ch 13 falls off your reports at the 7 year mark. Every profile is different but I'll tell you that I am 26 months post discharge with the Ch 13 public record and dozen IIB accounts still reporting.  They are set to fall off in April... sooner with early exclusion. Peak scores: EQ 700 January 2015  current 678TU 675 January 2015   current 673EX 687 July 2015          current 687 My scores have went up and down a bit with the new car I bought in January and new CC accounts opened in March. I don't believe it's possible to hit 720 with a public record AND multiple accounts reporting IIB. Scupra is 720s with a Ch 7 reporting... but all his IIB accounts have fallen off leaving just the public record reporting. The IIB accounts weigh down your score and IMHO you are forever stuck in the upper 600's till everything falls off.  I could gain a few points if I had a bit lower UTI but most definitely not enough to put me in the 720+ range. If you are hoping for 720s I will say you are wasting your time.  I've had just about as perfect a rebuild as you can get which was just enough to have me barely sniffing 700 on EQ back in January... 18+ months after discharge.  Not even close to 700 yet with TU and EX.  The few accounts that you have aren't going to get you anywhere near 720 and you aren't supposed to apply for new credit without trustee permission... but you knew that.   

  • How to get Requester Login information into the request dataset validator

    Friends,
    I need to check whether the requester is part of a group or not before submitting the request. If not I need to throw an error.
    Can you please let me know how to get Requester information.login into the request validator?

    Hi Thiago,
    I am getting the requester id from the requestData in the request data validator. Here is my full code for your reference.
    Bikash - I even tried with RoleManager service but still same error.
    public void validate(RequestData requestData)
    throws InvalidRequestDataException {
    tcUserOperationsIntf UserOppsIntf =Platform.getService(tcUserOperationsIntf.class);
    try
    tcResultSet result=UserOppsIntf.getSelfProfile();
    result.goToRow(0);
    String requesterID = result.getStringValue("Users.User ID");
    String userKey=result.getStringValue("Users.Key");
    System.out.println("Request Login:"+requesterID);
    if (isMemeber(getOIMGroupKey("testGroup"),userKey))
    System.out.println(requesterID+" is a Member");
    else
    System.out.println(requesterID+" is not a Member");
    String reason = "Note[REQUEST_SUBMISSION_ERROR].text:You are not authorized to submit this request.";
    throw new InvalidRequestDataException(reason);
    catch(Exception e) {
    e.printStackTrace();
    private String getOIMGroupKey(String GroupName) throws Exception
    String groupKey="";
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    HashMap searchFor = new HashMap();
    searchFor.put("Groups.Group Name", GroupName);
    tcResultSet results = groupInstanceOps.findGroups(searchFor);
    for (int i = 0; i < results.getRowCount(); i++) {
    results.goToRow(i);
    groupKey = Long.toString(results.getLongValue("Groups.Key"));
    System.out.println("GroupKey:"+groupKey);
    return groupKey;
    private boolean isMemeber(String groupKey,String userKey) throws Exception
    boolean member=false;
    try
    tcGroupOperationsIntf groupInstanceOps = Platform.getService(tcGroupOperationsIntf.class);
    long grpLong = Long.parseLong(groupKey.trim());
    tcResultSet grpResultSet = groupInstanceOps.getAllMembers(grpLong);
    for(int i=0;i<grpResultSet.getRowCount();i++)
    grpResultSet.goToRow(i);
    long usrKeygrp = grpResultSet.getLongValue("Users.Key");
    if (usrKeygrp==Long.valueOf(userKey))
    member=true;
    break;
    catch(Exception e) {
    e.printStackTrace();
    member=false;
    return member;
    }

  • Is it possible to get a worse connection from the ...

    Just asking has I tried this earlier and I got a worse connection from the master than the normal. I've been told this is impossible.

    The new type NTE master socket has filters built in ... if you're getting better performance from an extension socket (+filter) , I'd get the master replaced.
    And if I was doing that, I'd have a broadband splitter v1 socket front fitted, tend to be better and negate the use of further filters on extensions. Segregates the phone connection from the broadband.

Maybe you are looking for