def METHOD_NAME(self):
    """
    Retrieves party name and corresponding party_id_temp from the database
    :return:
    """
    party_items_list = []
    try:
        # retrieve party_id and the corresponding party_name from the table
        party_items_list = Party.objects.using('readonly').values('party_id_temp', 'party_name')
    except Exception as e:
        handle_record_not_found_exception(e, logger=logger)
    return party_items_list