[Home] [Help]
751: /*========================================================================
752: | PUBLIC FUNCTION report_weight
753: |
754: | DESCRIPTION
755: | Wrapper around FND_FUNCTION.IS_FUNCTION_ON_MENU() which returns 'Y' or
756: | 'N' instead of true/false
757: |
758: | CALLED FROM PROCEDURES/FUNCTIONS (local to this package body)
759: |
778: l_ret_val BOOLEAN;
779: l_check_grant_flag BOOLEAN;
780: BEGIN
781: IF p_check_grant_flag IS NULL THEN
782: l_ret_val := fnd_function.is_function_on_menu(p_menu_id, p_function_id);
783: ELSE
784: IF p_check_grant_flag = 'Y' THEN
785: l_check_grant_flag := true;
786: ELSE
785: l_check_grant_flag := true;
786: ELSE
787: l_check_grant_flag := false;
788: END IF;
789: l_ret_val := fnd_function.is_function_on_menu(p_menu_id, p_function_id, l_check_grant_flag);
790: END IF;
791: IF l_ret_val THEN
792: RETURN 'Y';
793: ELSE