'Update body presence log'

@staticmethod
def body_onaccept(form):

    db = current.db
    table = db.dvi_body
    body = db((table.id == form.vars.id)).select(table.uuid, table.location_id, table.track_id, table.date_of_recovery, limitby=(0, 1)).first()
    if (body and body.location_id):
        tracker = S3Tracker()
        tracker(record=body).set_location(body.location_id, timestmp=body.date_of_recovery)
