[Home] [Help]
136: CURSOR c_port_info(cp_port_ids IN NUMBER) IS
137: SELECT '
320: l_error_message VARCHAR2(500);
321:
322: CURSOR c_viewer_info(cp_viewer_id IN NUMBER) IS
323: SELECT (hz.person_last_name||','||hz.person_first_name) VIEWER , us.user_name
324: FROM hz_parties hz, fnd_user us, igp_ac_accounts ac
325: WHERE ac.party_id = hz.party_id AND
326: us.user_id=ac.user_id AND
327: hz.party_id = cp_viewer_id;
328:
436: nbsp VARCHAR2(10);
437:
438: CURSOR c_port_info(cp_port_ids IN NUMBER) IS
439: SELECT port.portfolio_name, fnd.user_name
440: FROM igp_us_portfolios port, igp_ac_accounts acc, fnd_user fnd
441: WHERE port.account_id = acc.account_id AND
442: fnd.user_id = acc.user_id AND
443: port.portfolio_id = cp_port_ids;
444:
443: port.portfolio_id = cp_port_ids;
444:
445: CURSOR c_viewer_info(cp_viewer_id IN NUMBER) IS
446: SELECT (hz.person_last_name||','||hz.person_first_name) VIEWER , us.user_name,us.email_address
447: FROM hz_parties hz, fnd_user us, igp_ac_accounts ac
448: WHERE ac.party_id = hz.party_id AND
449: us.user_id=ac.user_id AND
450: hz.party_id = cp_viewer_id;
451: