[Home] [Help]
2746: IF p_report_header_id IS NULL OR p_profile_name IS NULL THEN
2747: return NULL;
2748: END IF;
2749:
2750: l_n_org_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2751: l_item_key,
2752: 'ORG_ID');
2753:
2754: l_n_user_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2750: l_n_org_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2751: l_item_key,
2752: 'ORG_ID');
2753:
2754: l_n_user_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2755: l_item_key,
2756: 'USER_ID');
2757:
2758: l_n_resp_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2754: l_n_user_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2755: l_item_key,
2756: 'USER_ID');
2757:
2758: l_n_resp_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2759: l_item_key,
2760: 'RESPONSIBILITY_ID');
2761:
2762: l_n_resp_appl_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2758: l_n_resp_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2759: l_item_key,
2760: 'RESPONSIBILITY_ID');
2761:
2762: l_n_resp_appl_id := WF_ENGINE.GetItemAttrNumber(l_item_type,
2763: l_item_key,
2764: 'APPLICATION_ID');
2765:
2766: lv_return_value := fnd_profile.VALUE_SPECIFIC(p_profile_name,