DBA Data[Home] [Help]

APPS.GMS_CLIENT_EXTN_BUDGET_WF dependencies on GMS_ERROR_PKG

Line 383: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - start', 'C');

379:
380: BEGIN
381:
382: IF L_DEBUG = 'Y' THEN
383: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - start', 'C');
384: END IF;
385:
386: -- Standard BEGIN of API savepoint
387:

Line 515: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_role_name = '||l_role_name, 'C');

511: l_role_name := p_award_id||'-BUDGET';
512: l_role_name_disp := l_role_name;
513:
514: IF L_DEBUG = 'Y' THEN
515: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_role_name = '||l_role_name, 'C');
516: END IF;
517: --Bug 2204122 Commented the following line--
518: --Procedure call_gms_debug called to print the same in the log file--
519: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_user_roles = '||l_user_roles, 'C');

Line 519: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_user_roles = '||l_user_roles, 'C');

515: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_role_name = '||l_role_name, 'C');
516: END IF;
517: --Bug 2204122 Commented the following line--
518: --Procedure call_gms_debug called to print the same in the log file--
519: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_user_roles = '||l_user_roles, 'C');
520: gms_client_extn_budget_wf.call_gms_debug(p_user_roles => l_user_roles
521: ,p_disp_text =>'GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_user_roles = ') ;
522: --End Bug 2204122--
523: IF L_DEBUG = 'Y' THEN

Line 524: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - creating Adhoc role..', 'C');

520: gms_client_extn_budget_wf.call_gms_debug(p_user_roles => l_user_roles
521: ,p_disp_text =>'GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - l_user_roles = ') ;
522: --End Bug 2204122--
523: IF L_DEBUG = 'Y' THEN
524: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - creating Adhoc role..', 'C');
525: END IF;
526:
527: BEGIN
528: wf_directory.CreateAdhocRole( role_name => l_role_name,

Line 542: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - removing users from Adhoc role..', 'C');

538:
539: -- Purging all the existing users (if any) in the above created role.
540:
541: IF L_DEBUG = 'Y' THEN
542: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - removing users from Adhoc role..', 'C');
543: END IF;
544:
545: wf_directory.RemoveUsersFromAdhocRole(role_name => l_role_name);
546:

Line 558: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - adding users to Adhoc role..', 'C');

554:
555: IF l_user_roles IS NOT NULL
556: THEN
557: IF L_DEBUG = 'Y' THEN
558: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - adding users to Adhoc role..', 'C');
559: END IF;
560: BEGIN
561: --Start Bug 2204122--
562:

Line 576: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Exception: No users found for this role.', 'C');

572: END ;
573:
574: ELSE
575: IF L_DEBUG = 'Y' THEN
576: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Exception: No users found for this role.', 'C');
577: END IF;
578: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',
579: x_err_code => l_err_code,
580: x_err_buff => l_err_stage);

Line 578: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',

574: ELSE
575: IF L_DEBUG = 'Y' THEN
576: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Exception: No users found for this role.', 'C');
577: END IF;
578: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',
579: x_err_code => l_err_code,
580: x_err_buff => l_err_stage);
581:
582: APP_EXCEPTION.RAISE_EXCEPTION;

Line 625: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Calling wf_engine.CreateProcess..', 'C');

621: -- GMS_WF procedure does not call the Selector procedure.
622: -- ------------------------------------------------------------------------------------
623:
624: IF L_DEBUG = 'Y' THEN
625: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Calling wf_engine.CreateProcess..', 'C');
626: END IF;
627:
628: wf_engine.CreateProcess( ItemType => ItemType,
629: ItemKey => ItemKey,

Line 633: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Setting Item Attributes..', 'C');

629: ItemKey => ItemKey,
630: process => 'GMS_WF_PROCESS' );
631:
632: IF L_DEBUG = 'Y' THEN
633: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Setting Item Attributes..', 'C');
634: END IF;
635:
636:
637: -- attribute GMS_WF_PROCESS is used to select the appropriate branch

Line 820: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Calling wf_engine.StartProcess..', 'C');

816: );
817:
818: --
819: IF L_DEBUG = 'Y' THEN
820: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - Calling wf_engine.StartProcess..', 'C');
821: END IF;
822:
823: wf_engine.StartProcess( itemtype => itemtype,
824: itemkey => itemkey );

Line 827: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - After wf_engine.StartProcess', 'C');

823: wf_engine.StartProcess( itemtype => itemtype,
824: itemkey => itemkey );
825:
826: IF L_DEBUG = 'Y' THEN
827: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF - After wf_engine.StartProcess', 'C');
828: END IF;
829:
830: -- -----------------------------------------------------------------------------------
831: -- CAUTION: These two OUT-Parameters must be populated

Line 1121: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - start', 'C');

1117:
1118: BEGIN
1119:
1120: IF L_DEBUG = 'Y' THEN
1121: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - start', 'C');
1122: END IF;
1123:
1124: -- Standard BEGIN of API savepoint
1125:

Line 1253: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_role_name = '||l_role_name, 'C');

1249: l_role_name := p_award_id||'-BUDGET';
1250: l_role_name_disp := l_role_name;
1251:
1252: IF L_DEBUG = 'Y' THEN
1253: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_role_name = '||l_role_name, 'C');
1254: END IF;
1255: --Bug 2204122 Commented the following line as this will be called--
1256: --from gms_client_extn_budget_wf.call_gms_debug--
1257: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_user_roles = '||l_user_roles, 'C');

Line 1257: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_user_roles = '||l_user_roles, 'C');

1253: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_role_name = '||l_role_name, 'C');
1254: END IF;
1255: --Bug 2204122 Commented the following line as this will be called--
1256: --from gms_client_extn_budget_wf.call_gms_debug--
1257: -- gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_user_roles = '||l_user_roles, 'C');
1258:
1259: gms_client_extn_budget_wf.call_gms_debug(p_user_roles => l_user_roles
1260: ,p_disp_text => 'GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - l_user_roles = ') ;
1261: --End Bug Fix 2204122--

Line 1265: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - creating Adhoc role..', 'C');

1261: --End Bug Fix 2204122--
1262: -- Creating the Adhoc Role to which notifications are to be sent.
1263:
1264: IF L_DEBUG = 'Y' THEN
1265: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - creating Adhoc role..', 'C');
1266: END IF;
1267:
1268: BEGIN
1269: wf_directory.CreateAdhocRole( role_name => l_role_name,

Line 1283: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - removing users from Adhoc role..', 'C');

1279:
1280: -- Purging all the existing users (if any) in the above created role.
1281:
1282: IF L_DEBUG = 'Y' THEN
1283: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - removing users from Adhoc role..', 'C');
1284: END IF;
1285:
1286: wf_directory.RemoveUsersFromAdhocRole(role_name => l_role_name);
1287:

Line 1299: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - adding users to Adhoc role..', 'C');

1295:
1296: IF l_user_roles IS NOT NULL
1297: THEN
1298: IF L_DEBUG = 'Y' THEN
1299: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - adding users to Adhoc role..', 'C');
1300: END IF;
1301:
1302: --Start Bug fix 2204122--
1303: --call procedure call_wf_addusers_to_adhocrole--

Line 1324: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Exception: No users found for this role.', 'C');

1320: end;*/
1321: --End Bug fix 2204122--
1322: ELSE
1323: IF L_DEBUG = 'Y' THEN
1324: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Exception: No users found for this role.', 'C');
1325: END IF;
1326: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',
1327: x_err_code => l_err_code,
1328: x_err_buff => l_err_stage);

Line 1326: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',

1322: ELSE
1323: IF L_DEBUG = 'Y' THEN
1324: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Exception: No users found for this role.', 'C');
1325: END IF;
1326: gms_error_pkg.gms_message( x_err_name => 'GMS_FND_USER_NOT_CREATED',
1327: x_err_code => l_err_code,
1328: x_err_buff => l_err_stage);
1329:
1330: l_err_code := 4; -- This error code will be used to show a warning.

Line 1370: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Calling wf_engine.CreateProcess..', 'C');

1366: -- GMS_WF procedure does not call the Selector procedure.
1367: -- ------------------------------------------------------------------------------------
1368:
1369: IF L_DEBUG = 'Y' THEN
1370: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Calling wf_engine.CreateProcess..', 'C');
1371: END IF;
1372:
1373: wf_engine.CreateProcess( ItemType => ItemType,
1374: ItemKey => ItemKey,

Line 1378: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Setting Item Attributes..', 'C');

1374: ItemKey => ItemKey,
1375: process => 'GMS_WF_PROCESS' );
1376:
1377: IF L_DEBUG = 'Y' THEN
1378: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Setting Item Attributes..', 'C');
1379: END IF;
1380:
1381:
1382: -- attribute GMS_WF_PROCESS is used to select the appropriate branch

Line 1565: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Calling wf_engine.StartProcess..', 'C');

1561: );
1562:
1563: --
1564: IF L_DEBUG = 'Y' THEN
1565: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - Calling wf_engine.StartProcess..', 'C');
1566: END IF;
1567:
1568: wf_engine.StartProcess( itemtype => itemtype,
1569: itemkey => itemkey );

Line 1572: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - After wf_engine.StartProcess', 'C');

1568: wf_engine.StartProcess( itemtype => itemtype,
1569: itemkey => itemkey );
1570:
1571: IF L_DEBUG = 'Y' THEN
1572: gms_error_pkg.gms_debug('GMS_CLIENT_EXTN_BUDGET_WF.START_BUDGET_WF_NTFY_ONLY - After wf_engine.StartProcess', 'C');
1573: END IF;
1574:
1575: -- -----------------------------------------------------------------------------------
1576: -- CAUTION: These two OUT-Parameters must be populated

Line 1845: --would be passed to procedure gms_error_pkg.gms_debug--

1841: --Bug fix 2204122 added the following two procedures--
1842: --1. call_gms_debug 2.call_wf_addusers_to_adhocrole--
1843: -------------------------------------------------------------------------
1844: --In Procedure call_gms_debug stream of 255 chars--
1845: --would be passed to procedure gms_error_pkg.gms_debug--
1846: --in a loop till it prints all the USERIDS--
1847:
1848: PROCEDURE call_gms_debug
1849: (p_user_roles IN VARCHAR2

Line 1878: gms_error_pkg.gms_debug(p_disp_text||l_user_roles_temp, 'C');

1874:
1875: l_char_send := LENGTH(l_user_roles_temp) ;
1876: l_tot_char_send:= l_tot_char_send + (l_char_send-150 ) ;
1877: IF L_DEBUG = 'Y' THEN
1878: gms_error_pkg.gms_debug(p_disp_text||l_user_roles_temp, 'C');
1879: END IF;
1880:
1881: ELSE
1882:

Line 1884: gms_error_pkg.gms_debug(p_disp_text||l_user_roles_temp, 'C');

1880:
1881: ELSE
1882:
1883: IF L_DEBUG = 'Y' THEN
1884: gms_error_pkg.gms_debug(p_disp_text||l_user_roles_temp, 'C');
1885: END IF;
1886: EXIT; -- added for bug 12327457
1887: END IF ;
1888:

Line 1894: gms_error_pkg.gms_debug(p_disp_text||l_user_roles, 'C');

1890:
1891: ELSE
1892:
1893: IF L_DEBUG = 'Y' THEN
1894: gms_error_pkg.gms_debug(p_disp_text||l_user_roles, 'C');
1895: END IF;
1896:
1897: END IF ;
1898: