DBA Data[Home] [Help]

APPS.PA_WORKFLOW_UTILS dependencies on FND_API

Line 374: p_encoded => FND_API.G_TRUE);

370: EXIT;
371: END IF;
372: l_encoded_mesg := fnd_msg_pub.get
373: (p_msg_index => i,
374: p_encoded => FND_API.G_TRUE);
375: fnd_message.set_encoded (encoded_message => l_encoded_mesg);
376: l_msg_text := Fnd_Message.Get;
377: l_attr_name := 'RULE_NOTE_'||i;
378: wf_engine.SetItemAttrText (itemtype => p_item_type,

Line 492: x_return_status := FND_API.G_RET_STS_SUCCESS;

488: ,x_Msg => pa_debug.g_err_stage
489: ,x_Log_Level => 3);
490: END IF;
491:
492: x_return_status := FND_API.G_RET_STS_SUCCESS;
493:
494: OPEN get_info;
495: FETCH get_info INTO
496: x_enable_wf_flag,

Line 516: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

512: WHEN OTHERS
513: THEN
514: x_msg_count := 1;
515: x_msg_data := substr(SQLERRM,1,2000);
516: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
517:
518:
519: end;
520:

Line 554: x_return_status := FND_API.G_RET_STS_SUCCESS;

550: ,x_Log_Level => 3);
551: END IF;
552:
553:
554: x_return_status := FND_API.G_RET_STS_SUCCESS;
555:
556: --debug_msg ( 'after client cancel_workflow call' );
557:
558: IF (x_return_status = FND_API.g_ret_sts_success) THEN

Line 558: IF (x_return_status = FND_API.g_ret_sts_success) THEN

554: x_return_status := FND_API.G_RET_STS_SUCCESS;
555:
556: --debug_msg ( 'after client cancel_workflow call' );
557:
558: IF (x_return_status = FND_API.g_ret_sts_success) THEN
559: WF_ENGINE.AbortProcess( p_Item_Type
560: , p_Item_Key
561: );
562:

Line 585: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

581: --debug_msg ( 'Exception in Cancel_Wf ' || substr(SQLERRM,1,2000) );
582:
583: x_msg_count := 1;
584: x_msg_data := substr(SQLERRM,1,2000);
585: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
586:
587: END Cancel_workflow;
588:
589:

Line 626: x_return_status := FND_API.G_RET_STS_SUCCESS;

622: from dual;
623:
624: x_item_key := To_char(l_item_key);
625:
626: x_return_status := FND_API.G_RET_STS_SUCCESS;
627:
628: -- create the workflow process
629: IF P_PA_DEBUG_MODE = 'Y' Then
630: PA_DEBUG.g_err_stage := 'Calling WF_ENGINE.CreateProcess - Start';

Line 664: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

660:
661:
662: x_msg_count := 1;
663: x_msg_data := substr(SQLERRM,1,2000);
664: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
665:
666:
667:
668:

Line 761: x_return_status := FND_API.G_RET_STS_ERROR;

757: IF l_err_code <> 0 THEN
758:
759: PA_UTILS.Add_Message( p_app_short_name => 'PA'
760: ,p_msg_name => 'PA_PR_CREATE_WF_FAILED');
761: x_return_status := FND_API.G_RET_STS_ERROR;
762:
763:
764: IF P_PA_DEBUG_MODE = 'Y' Then
765: PA_DEBUG.g_err_stage := ' WF_ENGINE.AbortProcess - Begin';

Line 802: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

798:
799:
800: x_msg_count := 1;
801: x_msg_data := substr(SQLERRM,1,2000);
802: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
803:
804: end;
805:
806:

Line 857: x_return_status := FND_API.G_RET_STS_SUCCESS;

853: ,x_Msg => pa_debug.g_err_stage
854: ,x_Log_Level => 3);
855: END IF;*/ /*commented for bug 8915991 */
856: x_msg_count := 0;
857: x_return_status := FND_API.G_RET_STS_SUCCESS;
858: pa_debug.set_err_stack('PA_WORKFLOW_UTILS.modify_wf_clob_content');
859: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
860: l_debug_mode := NVL(l_debug_mode, 'Y');
861: pa_debug.set_process('PLSQL','LOG',l_debug_mode);

Line 911: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

907: END IF;
908:
909: EXCEPTION
910: WHEN others THEN
911: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
912: x_msg_count := 1;
913: x_msg_data := SQLERRM;
914: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'pa_workflow_utils'
915: ,p_procedure_name => 'modify_wf_clob_content');