DBA Data[Home] [Help]

APPS.IEX_STRY_CUWF_PUB dependencies on IEX_DEBUG_PUB

Line 310: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after init');

306: FND_MSG_PUB.initialize;
307: END IF;
308: -- IF PG_DEBUG < 10 THEN
309: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
310: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after init');
311: END IF;
312:
313: x_return_status := FND_API.G_RET_STS_SUCCESS;
314:

Line 320: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.strategy_id is invalid');

316: IF (p_Custom_WF_rec.strategy_id IS NULL) OR
317: (p_Custom_WF_rec.strategy_id = FND_API.G_MISS_NUM) THEN
318: -- IF PG_DEBUG < 10 THEN
319: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
320: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.strategy_id is invalid');
321: END IF;
322: AddMissingArgMsg(
323: p_api_name => l_api_name_full,
324: p_param_name => 'p_Custom_WF_rec.strategy_id' );

Line 329: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.strategy_id check');

325: RAISE FND_API.G_EXC_ERROR;
326: END IF;
327: -- IF PG_DEBUG < 10 THEN
328: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
329: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.strategy_id check');
330: END IF;
331:
332: -- Check for required parameter p_workitem_id
333: IF (p_Custom_WF_rec.workitem_id IS NULL) OR

Line 337: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.workitem_id is invalid');

333: IF (p_Custom_WF_rec.workitem_id IS NULL) OR
334: (p_Custom_WF_rec.workitem_id = FND_API.G_MISS_NUM) THEN
335: -- IF PG_DEBUG < 10 THEN
336: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
337: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.workitem_id is invalid');
338: END IF;
339: AddMissingArgMsg(
340: p_api_name => l_api_name_full,
341: p_param_name => 'p_Custom_WF_rec.workitem_id' );

Line 346: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.workitem_id check');

342: RAISE FND_API.G_EXC_ERROR;
343: END IF;
344: -- IF PG_DEBUG < 10 THEN
345: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
346: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.workitem_id check');
347: END IF;
348:
349: -- Check for required parameter p_custom_itemtype
350: -- this is the work flow to be launched

Line 355: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.custom_itemtype is invalid');

351: IF (p_Custom_WF_rec.custom_itemtype IS NULL) OR
352: (p_Custom_WF_rec.custom_itemtype = FND_API.G_MISS_CHAR) THEN
353: -- IF PG_DEBUG < 10 THEN
354: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
355: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'Required Parameter p_Custom_WF_rec.custom_itemtype is invalid');
356: END IF;
357: AddMissingArgMsg(
358: p_api_name => l_api_name_full,
359: p_param_name => 'p_Custom_WF_rec.custom_itemtype' );

Line 364: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.custom_itemtype check');

360: RAISE FND_API.G_EXC_ERROR;
361: END IF;
362: -- IF PG_DEBUG < 10 THEN
363: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
364: IEX_DEBUG_PUB.LogMessage('populate_attributes: ' || 'after p_Custom_WF_rec.custom_itemtype check');
365: END IF;
366:
367:
368: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 375: iex_debug_pub.logmessage('populate_attributes: ' || 'itemtype =>' ||l_itemtype);

371: l_itemkey := p_Custom_WF_rec.workitem_id;
372:
373: -- IF PG_DEBUG < 10 THEN
374: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
375: iex_debug_pub.logmessage('populate_attributes: ' || 'itemtype =>' ||l_itemtype);
376: END IF;
377: -- IF PG_DEBUG < 10 THEN
378: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
379: iex_debug_pub.logmessage('populate_attributes: ' || 'itemkey =>' ||l_itemkey);

Line 379: iex_debug_pub.logmessage('populate_attributes: ' || 'itemkey =>' ||l_itemkey);

375: iex_debug_pub.logmessage('populate_attributes: ' || 'itemtype =>' ||l_itemtype);
376: END IF;
377: -- IF PG_DEBUG < 10 THEN
378: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
379: iex_debug_pub.logmessage('populate_attributes: ' || 'itemkey =>' ||l_itemkey);
380: END IF;
381:
382: --create the custom process
383: --process is An optional argument that allows the selection of

Line 398: iex_debug_pub.logmessage ('populate_attributes: ' || ' after create workflow process');

394: process =>'IEX_STRATEGY_CUSTOM_WORKFLOW');
395:
396: -- IF PG_DEBUG < 10 THEN
397: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
398: iex_debug_pub.logmessage ('populate_attributes: ' || ' after create workflow process');
399: END IF;
400:
401: wf_engine.SetItemAttrNumber(itemtype => l_itemtype,
402: itemkey => l_itemkey,

Line 446: iex_debug_pub.logmessage ('populate_attributes: ' || ' before caling populate attributes');

442: avalue => p_wait_date);
443:
444: -- IF PG_DEBUG < 10 THEN
445: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
446: iex_debug_pub.logmessage ('populate_attributes: ' || ' before caling populate attributes');
447: END IF;
448: --populate the remaining attributes
449: --set the resource to whim the notification will be send
450: populate_attributes(

Line 472: iex_debug_pub.logmessage (' before start workflow process');

468: p_resource_id =>l_resource_id,
469: itemtype =>l_itemtype,
470: itemkey =>l_itemkey);
471: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
472: iex_debug_pub.logmessage (' before start workflow process');
473: END IF;
474:
475:
476: wf_engine.startprocess(itemtype => l_itemtype,

Line 479: iex_debug_pub.logmessage (' after start workflow process');

475:
476: wf_engine.startprocess(itemtype => l_itemtype,
477: itemkey => l_itemkey);
478: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
479: iex_debug_pub.logmessage (' after start workflow process');
480: END IF;
481:
482: wf_engine.ItemStatus(
483: itemtype => l_itemType,

Line 494: iex_debug_pub.logmessage (' workflow return status = ' || l_return_status);

490: else
491: x_return_status := FND_API.G_RET_STS_ERROR;
492: end if;
493: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
494: iex_debug_pub.logmessage (' workflow return status = ' || l_return_status);
495: END IF;
496:
497:
498:

Line 588: iex_debug_pub.logmessage ('wf_send_signal: ' || 'USER_ID' || l_user_id || ' RESP_ID ' || l_resp_id);

584: aname => 'RESP_APPL_ID');
585:
586: -- IF PG_DEBUG < 10 THEN
587: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
588: iex_debug_pub.logmessage ('wf_send_signal: ' || 'USER_ID' || l_user_id || ' RESP_ID ' || l_resp_id);
589: END IF;
590: -- IF PG_DEBUG < 10 THEN
591: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
592: iex_debug_pub.logmessage ('wf_send_signal: ' || 'RESP_APPL_ID' ||l_resp_appl_id);

Line 592: iex_debug_pub.logmessage ('wf_send_signal: ' || 'RESP_APPL_ID' ||l_resp_appl_id);

588: iex_debug_pub.logmessage ('wf_send_signal: ' || 'USER_ID' || l_user_id || ' RESP_ID ' || l_resp_id);
589: END IF;
590: -- IF PG_DEBUG < 10 THEN
591: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
592: iex_debug_pub.logmessage ('wf_send_signal: ' || 'RESP_APPL_ID' ||l_resp_appl_id);
593: END IF;
594: --set the session
595: FND_GLOBAL.Apps_Initialize(l_user_id, l_resp_id, l_resp_appl_id);
596:

Line 631: iex_debug_pub.logmessage('wf_send_signal: ' || 'error message is ' || l_error);

627: -- get error message and pass
628: iex_strategy_wf.Get_Messages(l_msg_count,l_error);
629: -- IF PG_DEBUG < 10 THEN
630: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
631: iex_debug_pub.logmessage('wf_send_signal: ' || 'error message is ' || l_error);
632: END IF;
633: wf_core.context('IEX_STRY_CUWF_PUB','wf_send_signal',itemtype,
634: itemkey,to_char(actid),funcmode,l_error);
635: raise;

Line 660: iex_debug_pub.logmessage ('**** START wait_on_hold_signal ************');

656: l_value VARCHAR2(300);
657:
658: BEGIN
659: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
660: iex_debug_pub.logmessage ('**** START wait_on_hold_signal ************');
661: END IF;
662: if funcmode <> wf_engine.eng_run then
663: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
664: iex_debug_pub.logmessage('SECOND TIME FUNCMODE' ||funcmode);

Line 664: iex_debug_pub.logmessage('SECOND TIME FUNCMODE' ||funcmode);

660: iex_debug_pub.logmessage ('**** START wait_on_hold_signal ************');
661: END IF;
662: if funcmode <> wf_engine.eng_run then
663: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
664: iex_debug_pub.logmessage('SECOND TIME FUNCMODE' ||funcmode);
665: END IF;
666: result := wf_engine.eng_null;
667: return;
668: end if;

Line 673: iex_debug_pub.logmessage('FUNCMODE' ||funcmode);

669:
670:
671:
672: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
673: iex_debug_pub.logmessage('FUNCMODE' ||funcmode);
674: END IF;
675: /* l_value :=wf_engine.GetActivityLabel(actid);
676: wf_engine.SetItemAttrText(itemtype => itemtype,
677: itemkey => itemkey,

Line 681: iex_debug_pub.logMessage('ACTIVITYNAME' ||l_value);

677: itemkey => itemkey,
678: aname => 'ACTIVITY_NAME',
679: avalue => l_value);
680: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
681: iex_debug_pub.logMessage('ACTIVITYNAME' ||l_value);
682: END IF;*/
683:
684:
685: result := wf_engine.eng_notified||':'||wf_engine.eng_null||

Line 688: iex_debug_pub.logmessage ('**** END wait_on_hold_signal ************');

684:
685: result := wf_engine.eng_notified||':'||wf_engine.eng_null||
686: ':'||wf_engine.eng_null;
687: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
688: iex_debug_pub.logmessage ('**** END wait_on_hold_signal ************');
689: END IF;
690: exception
691: when others then
692: result := wf_engine.eng_completed ||':'||wf_no;