DBA Data[Home] [Help]

APPS.XDP_ENGINE dependencies on XDP_ENGINE

Line 1: PACKAGE BODY XDP_ENGINE AS

1: PACKAGE BODY XDP_ENGINE AS
2: /* $Header: XDPENGNB.pls 120.1 2005/06/15 22:56:01 appldev $ */
3:
4:
5: Procedure Get_WI_Parameter_info (p_wi_instance_id IN NUMBER,

Line 253: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id, x_progress );

249: return lv_param_value;
250:
251: EXCEPTION
252: WHEN OTHERS THEN
253: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id, x_progress );
254: RAISE;
255:
256: END GET_WORKITEM_PARAM_VALUE;
257:

Line 320: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id );

316: p_return_code => GET_WORKITEM_PARAM_VALUE.p_return_code,
317: p_error_description => GET_WORKITEM_PARAM_VALUE.p_error_description);
318:
319: IF ( p_return_code <> 0 ) THEN
320: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id );
321: END IF;
322:
323:
324: EXCEPTION

Line 326: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id);

322:
323:
324: EXCEPTION
325: WHEN OTHERS THEN
326: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE', 'WI', p_wi_instance_id);
327: RAISE;
328:
329: END GET_WORKITEM_PARAM_VALUE;
330:

Line 396: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_REF_VALUE', 'PARAMETER', p_parameter_name, x_progress );

392: return lv_param_value;
393:
394: EXCEPTION
395: WHEN OTHERS THEN
396: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_REF_VALUE', 'PARAMETER', p_parameter_name, x_progress );
397: RAISE;
398:
399: END GET_WORKITEM_PARAM_REF_VALUE;
400:

Line 408: RETURN XDP_ENGINE.PARAMETER_LIST

404: *****************************/
405: FUNCTION GET_WORKITEM_PARAM_List( -- done need to check where lv_param_list is being used
406: p_wi_instance_id IN NUMBER)
407:
408: RETURN XDP_ENGINE.PARAMETER_LIST
409: IS
410: lv_param_list XDP_ENGINE.PARAMETER_LIST;
411: CURSOR lc_param IS
412: select

Line 410: lv_param_list XDP_ENGINE.PARAMETER_LIST;

406: p_wi_instance_id IN NUMBER)
407:
408: RETURN XDP_ENGINE.PARAMETER_LIST
409: IS
410: lv_param_list XDP_ENGINE.PARAMETER_LIST;
411: CURSOR lc_param IS
412: select
413: wpr.parameter_name,
414: is_value_evaluated,

Line 442: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_List', 'WI', p_wi_instance_id );

438: return lv_param_list;
439:
440: EXCEPTION
441: WHEN OTHERS THEN
442: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_List', 'WI', p_wi_instance_id );
443: RAISE;
444:
445: END GET_WORKITEM_PARAM_List;
446:

Line 499: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE','WI', p_wi_instance_id, x_progress );

495: END IF;
496:
497: EXCEPTION
498: WHEN OTHERS THEN
499: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PARAM_VALUE','WI', p_wi_instance_id, x_progress );
500: RAISE;
501:
502: END SET_WORKITEM_PARAM_VALUE;
503:

Line 526: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );

522: return lv_prov_date;
523:
524: EXCEPTION
525: WHEN OTHERS THEN
526: XDPCORE.context('XDP_ENGINE', 'GET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );
527: RAISE;
528:
529: END GET_WORKITEM_PROV_DATE;
530:

Line 582: XDPCORE.context('XDP_ENGINE', 'SET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );

578:
579: lv_message_params := 'WORK_ITEM='||lv_wi_name||'#XDP#';
580:
581: XDPCORE.error_context( 'WI', p_wi_instance_id, 'XDP_WI_UPDATE_NOT_ALLOWED', lv_message_params);
582: XDPCORE.context('XDP_ENGINE', 'SET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );
583: XDPCORE.RAISE;
584:
585: when others then
586: rollback to UpdateProvDate;

Line 587: XDPCORE.context('XDP_ENGINE', 'SET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );

583: XDPCORE.RAISE;
584:
585: when others then
586: rollback to UpdateProvDate;
587: XDPCORE.context('XDP_ENGINE', 'SET_WORKITEM_PROV_DATE','WI', p_wi_instance_id );
588: p_return_code := SQLCODE;
589: p_error_description := SQLERRM;
590: END SET_WORKITEM_PROV_DATE;
591:

Line 658: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_VALUE', 'FA', p_fa_instance_id, x_progress );

654: return lv_param_value;
655:
656: EXCEPTION
657: WHEN OTHERS THEN
658: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_VALUE', 'FA', p_fa_instance_id, x_progress );
659: RAISE;
660:
661: END GET_FA_PARAM_VALUE;
662:

Line 728: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_REF_VALUE', 'FA', p_fa_instance_id, x_progress );

724: RETURN lv_param_value;
725:
726: EXCEPTION
727: WHEN OTHERS THEN
728: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_REF_VALUE', 'FA', p_fa_instance_id, x_progress );
729: RAISE;
730:
731: END GET_FA_PARAM_REF_VALUE;
732:

Line 791: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM', 'FA', p_fa_instance_id );

787: p_return_code => p_return_code,
788: p_error_description => p_error_description);
789:
790: IF ( p_return_code <> 0 ) THEN
791: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM', 'FA', p_fa_instance_id );
792: END IF;
793:
794: EXCEPTION
795: WHEN OTHERS THEN

Line 796: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM', 'FA', p_fa_instance_id );

792: END IF;
793:
794: EXCEPTION
795: WHEN OTHERS THEN
796: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM', 'FA', p_fa_instance_id );
797: RAISE;
798:
799: END GET_FA_PARAM;
800:

Line 807: RETURN XDP_ENGINE.PARAMETER_LIST

803: a given FA instance
804: *****************************/
805: FUNCTION GET_FA_PARAM_List( --Done
806: p_fa_instance_id IN NUMBER)
807: RETURN XDP_ENGINE.PARAMETER_LIST
808: IS
809: lv_param_list XDP_ENGINE.PARAMETER_LIST;
810: CURSOR lc_param IS
811: select

Line 809: lv_param_list XDP_ENGINE.PARAMETER_LIST;

805: FUNCTION GET_FA_PARAM_List( --Done
806: p_fa_instance_id IN NUMBER)
807: RETURN XDP_ENGINE.PARAMETER_LIST
808: IS
809: lv_param_list XDP_ENGINE.PARAMETER_LIST;
810: CURSOR lc_param IS
811: select
812: fpr.parameter_name,
813: is_value_evaluated,

Line 841: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_List', 'FA', p_fa_instance_id );

837: return lv_param_list;
838:
839: EXCEPTION
840: WHEN OTHERS THEN
841: XDPCORE.context('XDP_ENGINE', 'GET_FA_PARAM_List', 'FA', p_fa_instance_id );
842: RAISE;
843:
844: END GET_FA_PARAM_List;
845:

Line 943: XDPCORE.context('XDP_ENGINE', 'SET_FA_PARAM_VALUE', 'FA', p_fa_instance_id, x_progress );

939:
940: EXCEPTION
941:
942: WHEN OTHERS THEN
943: XDPCORE.context('XDP_ENGINE', 'SET_FA_PARAM_VALUE', 'FA', p_fa_instance_id, x_progress );
944: RAISE;
945:
946: END SET_FA_PARAM_VALUE;
947:

Line 988: RETURN XDP_ENGINE.PARAMETER_LIST

984: for a given order
985: *****************************/
986: FUNCTION GET_ORDER_PARAM_List(
987: p_order_id IN NUMBER )
988: RETURN XDP_ENGINE.PARAMETER_LIST
989: IS
990: lv_param_list XDP_ENGINE.PARAMETER_LIST;
991: CURSOR lc_param IS
992: select

Line 990: lv_param_list XDP_ENGINE.PARAMETER_LIST;

986: FUNCTION GET_ORDER_PARAM_List(
987: p_order_id IN NUMBER )
988: RETURN XDP_ENGINE.PARAMETER_LIST
989: IS
990: lv_param_list XDP_ENGINE.PARAMETER_LIST;
991: CURSOR lc_param IS
992: select
993: order_parameter_name parameter_name,
994: order_parameter_value parameter_value

Line 2692: xdpcore.context( 'XDP_ENGINE', 'CallWIEvalProc', 'WI', p_wi_instance_id );

2688: raise e_wi_eval_failed;
2689: end if;
2690: EXCEPTION
2691: when others then
2692: xdpcore.context( 'XDP_ENGINE', 'CallWIEvalProc', 'WI', p_wi_instance_id );
2693: END CallWIEvalProc;
2694:
2695: Procedure ComputeWIParamValue(
2696: p_raise IN VARCHAR2,

Line 2810: xdpcore.context( 'XDP_ENGINE', 'CallWIParamEvalProc', 'WI', p_wi_instance_id, p_error_description );

2806: l_message_params := 'WI='||l_wi_disp_name||'#XDP#PARAM='|| p_parameter_name||'#XDP#';
2807:
2808: -- set the business error...
2809: XDPCORE.error_context( 'WI', p_wi_instance_id, 'XDP_WI_PARAM_EVAL_FAILED', l_message_params );
2810: xdpcore.context( 'XDP_ENGINE', 'CallWIParamEvalProc', 'WI', p_wi_instance_id, p_error_description );
2811:
2812: -- skilaru 06/03/2002 fix for ER# 2347984
2813: -- Set the Parameter name and Workitem instance ID in the workflow context
2814: -- so that when user responds to the notification with a new parameter value

Line 2851: xdpcore.context( 'XDP_ENGINE', 'EvaluateWIParamValue', 'PARAMETER', p_parameter_name );

2847: END IF;
2848:
2849: exception
2850: when others then
2851: xdpcore.context( 'XDP_ENGINE', 'EvaluateWIParamValue', 'PARAMETER', p_parameter_name );
2852: END EvaluateWIParamValue;
2853:
2854: Procedure SetWIParamValue(
2855: p_wi_instance_id IN NUMBER,

Line 2948: xdpcore.context( 'XDP_ENGINE' , 'CallFAEvalProc', 'WI', p_wi_instance_id );

2944: p_return_code => CallFAEvalProc.p_return_code,
2945: p_error_description => CallFAEvalProc.p_error_description);
2946:
2947: if( p_return_code <> 0 ) then
2948: xdpcore.context( 'XDP_ENGINE' , 'CallFAEvalProc', 'WI', p_wi_instance_id );
2949: end if;
2950: end CallFAEvalProc;
2951:
2952: Procedure ComputeFAParamValue (p_raise IN VARCHAR2,

Line 3063: xdpcore.context( 'XDP_ENGINE', 'SetFAParamValue', 'FA', p_fa_instance_id, p_error_description );

3059: p_error_description => SetFAParamValue.p_error_description);
3060:
3061: if p_return_code <> 0 then
3062:
3063: xdpcore.context( 'XDP_ENGINE', 'SetFAParamValue', 'FA', p_fa_instance_id, p_error_description );
3064: -- get FA display name..
3065: l_fa_disp_name := XDPCORE_FA.get_display_name( p_fa_instance_id );
3066:
3067: -- build the token string for xdp_errors_log..

Line 3110: xdpcore.context( 'XDP_ENGINE', 'SetFAParamValue', 'FA', p_fa_instance_id );

3106: END IF;
3107:
3108: EXCEPTION
3109: when others then
3110: xdpcore.context( 'XDP_ENGINE', 'SetFAParamValue', 'FA', p_fa_instance_id );
3111: raise;
3112: end SetFAParamValue;
3113:
3114:

Line 3423: xdpcore.context( 'XDP_ENGINE', 'EvaluateWIParamsOnStart', 'WI', p_wi_instance_id );

3419: l_is_value_evaluated := NULL;
3420: END LOOP;
3421: EXCEPTION
3422: WHEN others THEN
3423: xdpcore.context( 'XDP_ENGINE', 'EvaluateWIParamsOnStart', 'WI', p_wi_instance_id );
3424: raise;
3425: END EvaluateWIParamsOnStart;
3426:
3427: -- Package initialization

Line 3431: END XDP_ENGINE;

3427: -- Package initialization
3428: begin
3429: pv_FeAttributeList.delete;
3430:
3431: END XDP_ENGINE;