locked
Query Expression to Retrieve most recently modified child record RRS feed

  • Question

  • Looking for way via plugin (query expression etc) to query a child record and retrieve all other child records of the same type if any that have the same parent record.  From there I need to find the most recent child record to have been modified and in a certain status.

    Basically we have a requirement that if a child record is in a certain state to send a reminder to a user that a new child record should be created if x number of days has passed. Thus i need to make sure I can get the latest one in a specific status.


    Robert

    Monday, April 21, 2014 2:30 PM

All replies

  • check this link help you write query expression

    http://www.magnetismsolutions.co.nz/blog/roshanmehta/2012/04/30/dynamics_crm_2011_querying_data_with_queryexpression

    pass the condition as modified date greater than or equal 


    ms crm

    Tuesday, April 22, 2014 8:33 AM