DBA Data[Home] [Help]

APPS.INV_WORKFLOW dependencies on FND_FLEX_WORKFLOW

Line 108: -- fnd_flex_workflow.debug_on; -- To print the FND Account Generator debug messages.

104: -- End of Bug 8896018
105: BEGIN
106: l_err_pt := '10';
107:
108: -- fnd_flex_workflow.debug_on; -- To print the FND Account Generator debug messages.
109:
110: IF (l_debug = 1) THEN
111: print_debug('FB_FLEX_NUM: ' || TO_CHAR(fb_flex_num), l_function_name);
112: print_debug('IC_CUSTOMER_ID: ' || ic_customer_id, l_function_name);

Line 127: fnd_flex_workflow.initialize(appl_short_name => 'SQLGL', code => 'GL#', num => fb_flex_num, itemtype => 'INVFLXWF');

123: END IF;
124:
125: wf_item.clearcache;
126: v_itemkey :=
127: fnd_flex_workflow.initialize(appl_short_name => 'SQLGL', code => 'GL#', num => fb_flex_num, itemtype => 'INVFLXWF');
128: print_debug('Created itemkey :' || v_itemkey, l_function_name);
129:
130: IF (ic_items_cogs IS NULL AND (ic_item_id IS NOT NULL AND ic_to_inv_organization_id IS NOT NULL)) THEN
131: BEGIN

Line 428: --Begin Bug 9878196 Do not call fnd_flex_workflow.generate for process orgs for internal order flow for process org.

424: | the workflow. |
425: +----------------------------------------------------*/
426: v_ccid := v_order_type_cogs;
427:
428: --Begin Bug 9878196 Do not call fnd_flex_workflow.generate for process orgs for internal order flow for process org.
429: IF NVL(v_process_enabled_flag,'N') = 'Y' AND l_gmf_patch_level = '11i.GMF.L' THEN /* Bug 11823085 */
430: -- If process organization then
431: IF ( v_doc_type_id = 10 AND
432: v_requisition_line_id IS NOT NULL ) THEN

Line 434: --For process enabled organization ignore ccid returned from fnd_flex_workflow.generate

430: -- If process organization then
431: IF ( v_doc_type_id = 10 AND
432: v_requisition_line_id IS NOT NULL ) THEN
433: --Begin Bug 7518712
434: --For process enabled organization ignore ccid returned from fnd_flex_workflow.generate
435: v_ccid := v_order_type_cogs;
436: ELSE
437: IF (l_debug = 1) THEN
438: print_debug('Calling FND_ELEX_WORKFLOW.GENERATE with Parameters:', l_function_name);

Line 444: fnd_flex_workflow.generate(

440: print_debug('itemkey: ' || v_itemkey, l_function_name);
441: print_debug('ccid: ' || TO_CHAR(v_ccid), l_function_name);
442: END IF;
443: v_generate_success :=
444: fnd_flex_workflow.generate(
445: itemtype => 'INVFLXWF'
446: , itemkey => v_itemkey
447: , ccid => v_ccid
448: , concat_segs => v_concat_segs

Line 465: fnd_flex_workflow.generate(

461: print_debug('ccid: ' || TO_CHAR(v_ccid), l_function_name);
462: END IF;
463:
464: v_generate_success :=
465: fnd_flex_workflow.generate(
466: itemtype => 'INVFLXWF'
467: , itemkey => v_itemkey
468: , ccid => v_ccid
469: , concat_segs => v_concat_segs

Line 507: print_debug('FND_FLEX_WORKFLOW.GENERATE returned FALSE with error: ' || fb_error_msg, l_function_name);

503: ELSE
504: l_err_pt := '52';
505: fb_flex_seg := v_concat_segs;
506: fb_error_msg := SUBSTR(fb_error_msg, 1, 240);
507: print_debug('FND_FLEX_WORKFLOW.GENERATE returned FALSE with error: ' || fb_error_msg, l_function_name);
508: RETURN FALSE;
509: END IF;
510: EXCEPTION
511: WHEN OTHERS THEN

Line 567: fnd_flex_workflow.load_concatenated_segments(itemtype => itemtype, itemkey => itemkey, concat_segs => p_fb_flex_seg);

563: , fb_flex_seg => p_fb_flex_seg
564: , fb_error_msg => p_fb_error_msg
565: );
566: -- Now load segment s into workflow attrubutes
567: fnd_flex_workflow.load_concatenated_segments(itemtype => itemtype, itemkey => itemkey, concat_segs => p_fb_flex_seg);
568:
569: IF (NOT build_success) THEN
570: RESULT := 'COMPLETE:FAILURE';
571: wf_engine.setitemattrtext(itemtype => 'INVFLXWF', itemkey => itemkey, aname => 'ERROR_MESSAGE', avalue => p_fb_error_msg);