29: if l_attribute_code = 'SALESREP_ID' then
30: BEGIN
31: SELECT NAME
32: INTO l_attribute_display_value
33: FROM RA_SALESREPS
34: WHERE salesrep_id = attribute_value and org_id = p_org_id;
35:
36: EXCEPTION WHEN OTHERS THEN
37: l_attribute_display_value := NULL;