DBA Data[Home] [Help]

APPS.IA_WF_UTIL_PKG dependencies on IA_WF_UTIL_PKG

Line 1: PACKAGE BODY IA_WF_UTIL_PKG AS

1: PACKAGE BODY IA_WF_UTIL_PKG AS
2: /* $Header: IAWFUTLB.pls 120.0 2005/06/03 23:54:27 appldev noship $ */
3:
4: ----------------------------------------------------------
5: FUNCTION ApplicationShortName return VARCHAR2

Line 397: if (IA_WF_UTIL_PKG.DebugModeEnabled) then

393: ----------------------------------------------------------
394: IS
395: BEGIN
396:
397: if (IA_WF_UTIL_PKG.DebugModeEnabled) then
398: -- initialize debug message stack.
399: fa_debug_pkg.initialize;
400: fa_srvr_msg.init_server_message;
401: end if;

Line 414: if (IA_WF_UTIL_PKG.DebugModeEnabled) then

410: ) IS
411: ----------------------------------------------------------
412: BEGIN
413:
414: if (IA_WF_UTIL_PKG.DebugModeEnabled) then
415: fa_debug_pkg.add(p_calling_fn, p_parameter1, p_parameter2);
416: end if;
417:
418: END AddDebugMessage;

Line 431: if (IA_WF_UTIL_PKG.DebugModeEnabled) then

427: ----------------------------------------------------------
428: l_debug_info VARCHAR2(4000);
429: BEGIN
430:
431: if (IA_WF_UTIL_PKG.DebugModeEnabled) then
432:
433: fa_debug_pkg.add(p_calling_fn, p_parameter1, p_parameter2);
434:
435: l_debug_info := WF_ENGINE.GetItemAttrText(itemtype => IA_WF_UTIL_PKG.WF_TransactionType,

Line 435: l_debug_info := WF_ENGINE.GetItemAttrText(itemtype => IA_WF_UTIL_PKG.WF_TransactionType,

431: if (IA_WF_UTIL_PKG.DebugModeEnabled) then
432:
433: fa_debug_pkg.add(p_calling_fn, p_parameter1, p_parameter2);
434:
435: l_debug_info := WF_ENGINE.GetItemAttrText(itemtype => IA_WF_UTIL_PKG.WF_TransactionType,
436: itemkey => p_request_id,
437: aname => 'DEBUG_INFO');
438:
439: l_debug_info := '[TIMESTAMP:'|| to_char(SYSDATE,'DD-MON-YYYY HH24:MI:SS') ||', FUNCTION: '|| p_calling_fn ||', DEBUG_INFO: '|| p_parameter1 || ', REQUEST_ID: ' || p_request_id ||'] <--' || l_debug_info;

Line 443: WF_ENGINE.SetItemAttrText(itemtype => IA_WF_UTIL_PKG.WF_TransactionType,

439: l_debug_info := '[TIMESTAMP:'|| to_char(SYSDATE,'DD-MON-YYYY HH24:MI:SS') ||', FUNCTION: '|| p_calling_fn ||', DEBUG_INFO: '|| p_parameter1 || ', REQUEST_ID: ' || p_request_id ||'] <--' || l_debug_info;
440:
441: l_debug_info := substr(l_debug_info, 1, 2000);
442:
443: WF_ENGINE.SetItemAttrText(itemtype => IA_WF_UTIL_PKG.WF_TransactionType,
444: itemkey => p_request_id,
445: aname => 'DEBUG_INFO',
446: avalue => l_debug_info);
447: end if;

Line 466: WHERE application_short_name = IA_WF_UTIL_PKG.ApplicationShortName;

462:
463: SELECT application_id
464: INTO l_application_id
465: FROM fnd_application
466: WHERE application_short_name = IA_WF_UTIL_PKG.ApplicationShortName;
467:
468: ApplicationID := l_application_id;
469:
470: else

Line 497: fnd_profile.get(IA_WF_UTIL_PKG.ProfileDebugMode, debugMode);

493: BEGIN
494:
495: if (DebugModeEnabledFlag is NULL) then
496:
497: fnd_profile.get(IA_WF_UTIL_PKG.ProfileDebugMode, debugMode);
498:
499: if (debugMode = 'Y' or debugMode = 'y') then
500: DebugModeEnabledFlag := TRUE;
501: else

Line 528: fnd_profile.get(IA_WF_UTIL_PKG.ProfileRuleID, RuleID);

524: BEGIN
525:
526: -- if (RuleID is NULL) then
527:
528: fnd_profile.get(IA_WF_UTIL_PKG.ProfileRuleID, RuleID);
529:
530: -- end if;
531:
532: return RuleID;

Line 553: RuleID := to_number(fnd_profile.value_specific(name => IA_WF_UTIL_PKG.ProfileRuleID

549: BEGIN
550:
551: -- if (RuleID is NULL) then
552:
553: RuleID := to_number(fnd_profile.value_specific(name => IA_WF_UTIL_PKG.ProfileRuleID
554: ,responsibility_id => p_responsibility_id
555: ,application_id => IA_WF_UTIL_PKG.GetApplicationID)
556: );
557:

Line 555: ,application_id => IA_WF_UTIL_PKG.GetApplicationID)

551: -- if (RuleID is NULL) then
552:
553: RuleID := to_number(fnd_profile.value_specific(name => IA_WF_UTIL_PKG.ProfileRuleID
554: ,responsibility_id => p_responsibility_id
555: ,application_id => IA_WF_UTIL_PKG.GetApplicationID)
556: );
557:
558: -- end if;
559:

Line 582: fnd_profile.get(IA_WF_UTIL_PKG.ProfileSystemAdministrator, l_system_admin);

578:
579: BEGIN
580:
581:
582: fnd_profile.get(IA_WF_UTIL_PKG.ProfileSystemAdministrator, l_system_admin);
583:
584:
585: return l_system_admin;
586:

Line 784: ,nvl(rd.responsibility_type,IA_WF_UTIL_PKG.RespTypeRequest)

780: BEGIN
781:
782: select nvl(rd.enable_transfer_flag,'N')
783: ,nvl(rd.allow_transaction_date_flag,'N')
784: ,nvl(rd.responsibility_type,IA_WF_UTIL_PKG.RespTypeRequest)
785: ,nvl(rd.require_superuser_flag,'N')
786: ,nvl(rd.approval_type,IA_WF_UTIL_PKG.ApprovalTypeAll)
787: ,nvl(rd.approval_method,IA_WF_UTIL_PKG.ApprovalMethodCostCenter)
788: into TransferEnabled

Line 786: ,nvl(rd.approval_type,IA_WF_UTIL_PKG.ApprovalTypeAll)

782: select nvl(rd.enable_transfer_flag,'N')
783: ,nvl(rd.allow_transaction_date_flag,'N')
784: ,nvl(rd.responsibility_type,IA_WF_UTIL_PKG.RespTypeRequest)
785: ,nvl(rd.require_superuser_flag,'N')
786: ,nvl(rd.approval_type,IA_WF_UTIL_PKG.ApprovalTypeAll)
787: ,nvl(rd.approval_method,IA_WF_UTIL_PKG.ApprovalMethodCostCenter)
788: into TransferEnabled
789: ,TransactionDateAllowed
790: ,ResponsibilityType

Line 787: ,nvl(rd.approval_method,IA_WF_UTIL_PKG.ApprovalMethodCostCenter)

783: ,nvl(rd.allow_transaction_date_flag,'N')
784: ,nvl(rd.responsibility_type,IA_WF_UTIL_PKG.RespTypeRequest)
785: ,nvl(rd.require_superuser_flag,'N')
786: ,nvl(rd.approval_type,IA_WF_UTIL_PKG.ApprovalTypeAll)
787: ,nvl(rd.approval_method,IA_WF_UTIL_PKG.ApprovalMethodCostCenter)
788: into TransferEnabled
789: ,TransactionDateAllowed
790: ,ResponsibilityType
791: ,SuperUserApprovalRequired

Line 858: ,application_id_z => IA_WF_UTIL_PKG.GetApplicationId);

854: BEGIN
855:
856: FND_PROFILE.initialize(user_id_z => p_user_id
857: ,responsibility_id_z => p_responsibility_id
858: ,application_id_z => IA_WF_UTIL_PKG.GetApplicationId);
859:
860: return TRUE;
861:
862: EXCEPTION

Line 869: END IA_WF_UTIL_PKG;

865: return FALSE;
866:
867: END InitializeProfile;
868:
869: END IA_WF_UTIL_PKG;