def send_get_id(self, result):

        # The newly created inv_send will be the first record in the "after" list
        if len(result["after"]) > 0:
            new_inv_send = result["after"].records[0]
            return new_inv_send.inv_send.id
        return None
Simple helper function to get the record id of the newly
dataset/ETHPy150Open sahana/eden/modules/tests/inv/helper.py/InvTestFunctions.send_get_id