813: --Identify if the line type is SERVICE type
814:
815: IF ( p_document_type = 'STANDARD' ) THEN --
816:
817: IF nvl(hr_general.get_xbg_profile, 'N') = 'N' THEN
818:
819: SELECT prl.purchase_basis,
820: hrou_po.business_group_id,
821: hrou_req.business_group_id