219:
220: -- Bugfix 3629541 : Set the Workflow Threshold to -1 to Defer the Process to the Background Engine. Remove
221: -- all thresholds from the Workflow Definition
222:
223: l_threshold := WF_ENGINE.THRESHOLD;
224: WF_ENGINE.THRESHOLD := -1;
225:
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
220: -- Bugfix 3629541 : Set the Workflow Threshold to -1 to Defer the Process to the Background Engine. Remove
221: -- all thresholds from the Workflow Definition
222:
223: l_threshold := WF_ENGINE.THRESHOLD;
224: WF_ENGINE.THRESHOLD := -1;
225:
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
223: l_threshold := WF_ENGINE.THRESHOLD;
224: WF_ENGINE.THRESHOLD := -1;
225:
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
224: WF_ENGINE.THRESHOLD := -1;
225:
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
225:
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
226: --Bugfix 5197891: Assign the correct owner rather than null
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
227: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
228: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
236:
229: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
236:
237: COMMIT;
230: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
236:
237: COMMIT;
238:
231: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
232: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
233: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
234: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
236:
237: COMMIT;
238:
239: WF_ENGINE.THRESHOLD := l_threshold;
235: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
236:
237: COMMIT;
238:
239: WF_ENGINE.THRESHOLD := l_threshold;
240:
241: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) THEN
242: FND_LOG.STRING(FND_LOG.LEVEL_PROCEDURE, g_api || '.RAISE_EXECUTE_ENG_EVENT.end', '<
243: END IF;
505:
506: fnd_file.put_line(fnd_file.log, 'Submitting Workflow');
507:
508: --Bugfix 5197891: Assign the correct user rather than putting a null value
509: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
506: fnd_file.put_line(fnd_file.log, 'Submitting Workflow');
507:
508: --Bugfix 5197891: Assign the correct user rather than putting a null value
509: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
507:
508: --Bugfix 5197891: Assign the correct user rather than putting a null value
509: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
508: --Bugfix 5197891: Assign the correct user rather than putting a null value
509: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
509: WF_ENGINE.CreateProcess('GCSENGNE', l_event_key, 'CONS_ENTITY_PROCESS', l_event_key, FND_GLOBAL.USER_NAME);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
510: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_HIERARCHY', p_consolidation_hierarchy);
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
511: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'CONS_ENTITY', p_consolidation_entity);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
512: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'RUN_IDENTIFIER', p_run_identifier);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
513: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD', p_cal_period_id);
514: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'PROCESS_METHOD', NVL(p_process_method, 'FULL'));
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
521: -- Bugfix 5569522: Added Analysis ID as an attribute to the consolidation workflow.
515: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CAL_PERIOD_END_DATE', l_cal_period_end_date);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
521: -- Bugfix 5569522: Added Analysis ID as an attribute to the consolidation workflow.
522: -- set the value passed from the Submit Consolidation UI.
523: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'ANALYSIS_CYCLE_ID', p_analysis_cycle_id);
516: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'BALANCE_TYPE_CODE', p_balance_type_code);
517: WF_ENGINE.SetItemAttrText('GCSENGNE', l_event_key, 'CONC_REQUEST_ID', FND_GLOBAL.CONC_REQUEST_ID);
518: --Bugfix 5017120: Added support for multiple data types
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
521: -- Bugfix 5569522: Added Analysis ID as an attribute to the consolidation workflow.
522: -- set the value passed from the Submit Consolidation UI.
523: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'ANALYSIS_CYCLE_ID', p_analysis_cycle_id);
524: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
519: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'SOURCE_DATASET_CODE', l_source_dataset_code);
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
521: -- Bugfix 5569522: Added Analysis ID as an attribute to the consolidation workflow.
522: -- set the value passed from the Submit Consolidation UI.
523: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'ANALYSIS_CYCLE_ID', p_analysis_cycle_id);
524: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
525:
526: fnd_file.put_line(fnd_file.log, 'End of Workflow');
527:
520: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'HIERARCHY_DATASET_CODE', l_hierarchy_dataset_code);
521: -- Bugfix 5569522: Added Analysis ID as an attribute to the consolidation workflow.
522: -- set the value passed from the Submit Consolidation UI.
523: WF_ENGINE.SetItemAttrNumber('GCSENGNE', l_event_key, 'ANALYSIS_CYCLE_ID', p_analysis_cycle_id);
524: WF_ENGINE.StartProcess('GCSENGNE', l_event_key);
525:
526: fnd_file.put_line(fnd_file.log, 'End of Workflow');
527:
528: COMMIT;