DBA Data[Home] [Help]

APPS.WF_LDAP dependencies on WF_CORE

Line 35: wf_core.context('wf_ldap', 'cs_convert', p_value);

31:
32: return new_val;
33: exception
34: when others then
35: wf_core.context('wf_ldap', 'cs_convert', p_value);
36: raise;
37: end cs_convert;
38: ------------------------------------------------------------------------------
39: /*

Line 97: wf_core.context('wf_ldap', 'setsizelimit',

93: retval := DBMS_LDAP.modify_s(p_session, ' ', mod_array);
94: dbms_ldap.free_mod_array(mod_array);
95: exception
96: when others then
97: wf_core.context('wf_ldap', 'setsizelimit',
98: 'Error code: '||to_char(sqlcode),
99: 'Error Message: '||substr(sqlerrm, 1, 238));
100: raise;
101: end setsizelimit;

Line 122: wf_core.context('wf_ldap', 'setLastChangeNumber',

118: retval := DBMS_LDAP.modify_s(p_session, WF_LDAP_CHANGELOG_SUB, mod_array);
119: dbms_ldap.free_mod_array(mod_array);
120: exception
121: when others then
122: wf_core.context('wf_ldap', 'setLastChangeNumber',
123: 'Error code: '||to_char(sqlcode),
124: 'Error Message: '||substr(sqlerrm, 1, 238));
125: raise;
126: end setLastChangeNumber;

Line 152: wf_core.context('wf_ldap', 'search',

148: 0, -- retrieve both types AND values
149: p_results);
150: exception
151: when others then
152: wf_core.context('wf_ldap', 'search',
153: 'Error code: '||to_char(sqlcode),
154: 'Error Message: '||substr(sqlerrm, 1, 238));
155: raise;
156: end search;

Line 274: wf_core.context('WF_LDAP', 'createSubscription',

270:
271: dbms_ldap.free_mod_array(mod_array);
272: exception
273: when others then
274: wf_core.context('WF_LDAP', 'createSubscription',
275: 'Error code: '||to_char(sqlcode),
276: 'Error Message: '||substr(sqlerrm, 1, 238));
277: raise;
278: end createSubscription;

Line 370: wf_core.context('WF_LDAP', 'get_ldap_session',

366: p_session := DBMS_LDAP.init(my_host, my_port);
367: retval := dbms_ldap.simple_bind_s(p_session, my_user, my_pwd);
368: exception
369: when others then
370: wf_core.context('WF_LDAP', 'get_ldap_session',
371: 'Error code: '||to_char(sqlcode),
372: 'Error Message: '||substr(sqlerrm, 1, 238));
373: raise;
374: end get_ldap_session;

Line 469: wf_core.context('wf_ldap', 'synch_changes');

465: my_user_base := fnd_preference.get('#INTERNAL','LDAP_SYNCH','USER_DIR');
466: my_log_base := fnd_preference.get('#INTERNAL','LDAP_SYNCH','CHANGELOG_DIR');
467:
468: if (my_log_base is null OR my_user_base is null) then
469: wf_core.context('wf_ldap', 'synch_changes');
470: wf_core.raise('WF_LDAP_INVALID_PREFS');
471: end if;
472:
473: comp_user_base := lower(replace(my_user_base, ' '));

Line 470: wf_core.raise('WF_LDAP_INVALID_PREFS');

466: my_log_base := fnd_preference.get('#INTERNAL','LDAP_SYNCH','CHANGELOG_DIR');
467:
468: if (my_log_base is null OR my_user_base is null) then
469: wf_core.context('wf_ldap', 'synch_changes');
470: wf_core.raise('WF_LDAP_INVALID_PREFS');
471: end if;
472:
473: comp_user_base := lower(replace(my_user_base, ' '));
474:

Line 489: wf_core.context('wf_ldap', 'synch_changes');

485:
486: if (retval <> dbms_ldap.success AND
487: retval <> dbms_ldap.sizelimit_exceeded)
488: then
489: wf_core.context('wf_ldap', 'synch_changes');
490: wf_core.raise('WF_LDAP_SEARCH_FAIL');
491: elsif (retval = dbms_ldap.sizelimit_exceeded) then
492: fullbucket := TRUE;
493: else

Line 490: wf_core.raise('WF_LDAP_SEARCH_FAIL');

486: if (retval <> dbms_ldap.success AND
487: retval <> dbms_ldap.sizelimit_exceeded)
488: then
489: wf_core.context('wf_ldap', 'synch_changes');
490: wf_core.raise('WF_LDAP_SEARCH_FAIL');
491: elsif (retval = dbms_ldap.sizelimit_exceeded) then
492: fullbucket := TRUE;
493: else
494: fullbucket := FALSE;

Line 559: wf_core.context('wf_ldap', 'synch_changes',

555: commit;
556: return TRUE;
557: exception
558: when others then
559: wf_core.context('wf_ldap', 'synch_changes',
560: 'Error code: '||to_char(sqlcode),
561: 'Error Message: '||substr(sqlerrm, 1, 238));
562: raise;
563: end synch_changes;

Line 581: wf_core.context('wf_ldap', 'synch_all');

577: wf_ldap.get_ldap_session(my_session);
578:
579: my_user_base := fnd_preference.get('#INTERNAL','LDAP_SYNCH','USER_DIR');
580: if (my_user_base is null) then
581: wf_core.context('wf_ldap', 'synch_all');
582: wf_core.raise('WF_LDAP_INVALID_PREFS');
583: end if;
584:
585: --

Line 582: wf_core.raise('WF_LDAP_INVALID_PREFS');

578:
579: my_user_base := fnd_preference.get('#INTERNAL','LDAP_SYNCH','USER_DIR');
580: if (my_user_base is null) then
581: wf_core.context('wf_ldap', 'synch_all');
582: wf_core.raise('WF_LDAP_INVALID_PREFS');
583: end if;
584:
585: --
586: -- Fetch and resize the orclsizelimit. This will allow us to query all

Line 619: wf_core.context('WF_LDAP', 'synch_all',

615: wf_ldap.unbind(my_session);
616: return TRUE;
617: exception
618: when others then
619: wf_core.context('WF_LDAP', 'synch_all',
620: 'Error code: '||to_char(sqlcode),
621: 'Error Message: '||substr(sqlerrm, 1, 238),
622: substr(sqlerrm, 239, 490));
623: if (origsizelimit <> 'DUNNO') then

Line 720: wf_core.get_error(errname, errmsg, errstack);

716: end if;
717: end if;
718: exception
719: when others then
720: wf_core.get_error(errname, errmsg, errstack);
721: if (errmsg is not null) then
722: errbuf := errmsg;
723: else
724: errbuf := sqlerrm;

Line 759: wf_core.raise('WFE_LATER_INTERVAL');

755:
756: -- next rundate should be future date
757: if (Wf_Setup.JobNextRunDate(l_job,l_day,l_hour,l_minute,l_sec)
758: <= sysdate) then
759: wf_core.raise('WFE_LATER_INTERVAL');
760: end if;
761:
762: DBMS_JOB.Interval(
763: job=>l_job,

Line 782: wf_core.context('WF_LDAP', 'schedule_changes',

778: commit;
779:
780: exception
781: when others then
782: wf_core.context('WF_LDAP', 'schedule_changes',
783: 'Error code: '||to_char(sqlcode),
784: 'Error Message: '||substr(sqlerrm, 1, 238));
785: raise;
786: end schedule_changes;