'Parse Replies To Deployment Request'

@staticmethod
def _respond_drequest(message, report_id, response, text):

    hr_id = S3Parsing().lookup_human_resource(message.from_address)
    if hr_id:
        rtable = current.s3db.irs_ireport_human_resource
        query = ((rtable.ireport_id == report_id) & (rtable.human_resource_id == hr_id))
        current.db(query).update(reply=text, response=response)
        reply = ('Response    Logged    in    the    Report    (Id:    %d    )' % report_id)
    else:
        reply = None
    return reply
