DBA Data[Home] [Help]

APPS.IBE_QUOTE_SAVE_PVT dependencies on CZ_CF_API

Line 2783: /*This function creates the XML message required by the CZ_CF_API.Validate API*/

2779: p_data => x_msg_data);
2780:
2781: END AddItemsToCart_orig;
2782:
2783: /*This function creates the XML message required by the CZ_CF_API.Validate API*/
2784: function get_xml_for_validate(p_model_item_id IN number,
2785: p_model_quantity IN number,
2786: p_quote_header_id IN number,
2787: p_inv_org_id IN number,

Line 2813: l_session_ticket :=cz_cf_api.icx_session_ticket;

2809: str_xml_string varchar2(2000);
2810: begin
2811:
2812: l_database_id := fnd_web_config.database_id;
2813: l_session_ticket :=cz_cf_api.icx_session_ticket;
2814: --l_context_org_id :=fnd_profile.value('ORG_ID');
2815: l_responsibility_id := fnd_profile.value('RESP_ID') ;
2816: l_calling_application_id := fnd_profile.value('RESP_APPL_ID');
2817: l_servlet_url := fnd_profile.value('CZ_UIMGR_URL') ;

Line 2942: l_input_selection cz_cf_api.input_selection;

2938: /*Following parameters added for Education project*/
2939: loop_counter Number;
2940: l_xml_string_for_validate varchar2(2000); /*This holds the XML string to be passed to validate API*/
2941: lx_xml_from_validate varchar2(2000); /*This holds the XML string returned by validate API*/
2942: l_input_selection cz_cf_api.input_selection;
2943: l_cfg_input_list cz_cf_api.cfg_input_list;
2944: lx_cfg_output_pieces cz_cf_api.cfg_output_pieces;
2945: l_validation_status number;
2946: l_config_header_id number := fnd_api.g_miss_num;

Line 2943: l_cfg_input_list cz_cf_api.cfg_input_list;

2939: loop_counter Number;
2940: l_xml_string_for_validate varchar2(2000); /*This holds the XML string to be passed to validate API*/
2941: lx_xml_from_validate varchar2(2000); /*This holds the XML string returned by validate API*/
2942: l_input_selection cz_cf_api.input_selection;
2943: l_cfg_input_list cz_cf_api.cfg_input_list;
2944: lx_cfg_output_pieces cz_cf_api.cfg_output_pieces;
2945: l_validation_status number;
2946: l_config_header_id number := fnd_api.g_miss_num;
2947: l_config_rev_num number;

Line 2944: lx_cfg_output_pieces cz_cf_api.cfg_output_pieces;

2940: l_xml_string_for_validate varchar2(2000); /*This holds the XML string to be passed to validate API*/
2941: lx_xml_from_validate varchar2(2000); /*This holds the XML string returned by validate API*/
2942: l_input_selection cz_cf_api.input_selection;
2943: l_cfg_input_list cz_cf_api.cfg_input_list;
2944: lx_cfg_output_pieces cz_cf_api.cfg_output_pieces;
2945: l_validation_status number;
2946: l_config_header_id number := fnd_api.g_miss_num;
2947: l_config_rev_num number;
2948: l_complete_config_flag varchar2(5);

Line 3116: IBE_Util.Debug('Begin cz_cf_api.validate');

3112: end if;
3113:
3114: /*Call Batch validation program here*/
3115: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3116: IBE_Util.Debug('Begin cz_cf_api.validate');
3117: END IF;
3118: cz_cf_api.validate(config_input_list =>l_cfg_input_list,
3119: init_message =>get_xml_for_validate(x_qte_line_tbl(loop_count).inventory_item_id,
3120: x_qte_line_tbl(loop_count).quantity,

Line 3118: cz_cf_api.validate(config_input_list =>l_cfg_input_list,

3114: /*Call Batch validation program here*/
3115: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3116: IBE_Util.Debug('Begin cz_cf_api.validate');
3117: END IF;
3118: cz_cf_api.validate(config_input_list =>l_cfg_input_list,
3119: init_message =>get_xml_for_validate(x_qte_line_tbl(loop_count).inventory_item_id,
3120: x_qte_line_tbl(loop_count).quantity,
3121: x_quote_header_id,
3122: x_qte_line_tbl(loop_count).organization_id,

Line 3128: IBE_Util.Debug('End cz_cf_api.validate');

3124: config_messages =>lx_cfg_output_pieces,
3125: validation_status =>l_validation_status,
3126: url =>l_servlet_url);
3127: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3128: IBE_Util.Debug('End cz_cf_api.validate');
3129: END IF;
3130: /*Parse the XML message for config_header_id, config_rev_num returned by the Batch validate program*/
3131: lx_xml_from_validate := lx_cfg_output_pieces(1);
3132: l_config_header_id := to_number(substr(lx_xml_from_validate,(instr(lx_xml_from_validate, '',1,1)+18),(instr(lx_xml_from_validate,'',1,1)-(instr(lx_xml_from_validate, '',1,1)+18))));

Line 3139: /*Error handling if cz_cf_api.validate failed*/

3135: l_complete_config_flag :=
3136: substr(lx_xml_from_validate,(instr(lx_xml_from_validate,'',1,1)+24),(instr(lx_xml_from_validate,'',1,1)-(instr(lx_xml_from_validate,'',1,1)+24)));
3137: l_qte_line_rec := x_qte_line_tbl(loop_count);
3138:
3139: /*Error handling if cz_cf_api.validate failed*/
3140: IF (l_config_header_id is NULL) THEN
3141: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3142: IBE_Util.Debug('Error in CZ_CF_API.Validate:Printing the terminate string: '||lx_xml_from_validate);
3143: END IF;

Line 3142: IBE_Util.Debug('Error in CZ_CF_API.Validate:Printing the terminate string: '||lx_xml_from_validate);

3138:
3139: /*Error handling if cz_cf_api.validate failed*/
3140: IF (l_config_header_id is NULL) THEN
3141: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3142: IBE_Util.Debug('Error in CZ_CF_API.Validate:Printing the terminate string: '||lx_xml_from_validate);
3143: END IF;
3144: IF FND_Msg_Pub.Check_Msg_Level(FND_Msg_Pub.G_MSG_LVL_ERROR) THEN
3145: FND_Message.Set_Name('IBE','IBE_DSP_GENERIC_ERROR_TXT');
3146: FND_Message.Set_Token('IBE_DSP_GENERIC_ERROR_TXT',lx_xml_from_validate);