DBA Data[Home] [Help]

APPS.WF_EVENTS_PKG dependencies on WF_CORE

Line 87: wf_core.context('Wf_Events_Pkg', 'Insert_Row', x_guid, x_name, x_type);

83: end if;
84: close c;
85: exception
86: when others then
87: wf_core.context('Wf_Events_Pkg', 'Insert_Row', x_guid, x_name, x_type);
88: raise;
89: end INSERT_ROW;
90: ----------------------------------------------------------------------------
91: procedure UPDATE_ROW (

Line 164: wf_core.context('WF_EVENTS_PKG','UPDATE_ROW',

160: l_update_allowed := is_update_allowed(X_CUSTOMIZATION_LEVEL, l_custom_level);
161:
162: if l_update_allowed = 'N' then
163: -- Set up the Error Stack
164: wf_core.context('WF_EVENTS_PKG','UPDATE_ROW',
165: x_name,
166: l_custom_level,
167: X_CUSTOMIZATION_LEVEL);
168: return;

Line 269: Wf_Core.Token('REASON','Invalid Customization Level:' ||

265: null;
266: end if;
267: else
268: -- Raise error..
269: Wf_Core.Token('REASON','Invalid Customization Level:' ||
270: l_custom_level);
271: Wf_Core.Raise('WFSQL_INTERNAL');
272: end if;
273:

Line 271: Wf_Core.Raise('WFSQL_INTERNAL');

267: else
268: -- Raise error..
269: Wf_Core.Token('REASON','Invalid Customization Level:' ||
270: l_custom_level);
271: Wf_Core.Raise('WFSQL_INTERNAL');
272: end if;
273:
274: -- Only raise if update has succeeded.
275: if (l_raise_event_flag = 'Y') then

Line 286: wf_core.context('Wf_Events_Pkg', 'Update_Row', l_guid, x_name, x_type);

282: exception
283: when no_data_found then
284: raise;
285: when others then
286: wf_core.context('Wf_Events_Pkg', 'Update_Row', l_guid, x_name, x_type);
287: raise;
288: end UPDATE_ROW;
289: ----------------------------------------------------------------------------
290: procedure DELETE_ROW (

Line 314: wf_core.context('Wf_Events_Pkg', 'Delete_Row', x_guid);

310: -- Invalidate cache
311: wf_bes_cache.SetMetaDataUploaded();
312: exception
313: when others then
314: wf_core.context('Wf_Events_Pkg', 'Delete_Row', x_guid);
315: raise;
316: end DELETE_ROW;
317: ----------------------------------------------------------------------------
318: procedure LOAD_ROW (

Line 375: wf_core.token('EVENT',X_NAME);

371: X_IREP_ANNOTATION => X_IREP_ANNOTATION
372: );
373: exception
374: when DUP_VAL_ON_INDEX then
375: wf_core.token('EVENT',X_NAME);
376: Wf_Core.Raise('WFE_UNIQUE_CONSTRAINT');
377: end;
378: end;
379:

Line 376: Wf_Core.Raise('WFE_UNIQUE_CONSTRAINT');

372: );
373: exception
374: when DUP_VAL_ON_INDEX then
375: wf_core.token('EVENT',X_NAME);
376: Wf_Core.Raise('WFE_UNIQUE_CONSTRAINT');
377: end;
378: end;
379:
380: exception

Line 382: wf_core.context('Wf_Events_Pkg', 'Load_Row', x_guid, x_name, x_type);

378: end;
379:
380: exception
381: when others then
382: wf_core.context('Wf_Events_Pkg', 'Load_Row', x_guid, x_name, x_type);
383: raise;
384: end LOAD_ROW;
385: ----------------------------------------------------------------------------
386: procedure ADD_LANGUAGE

Line 436: wf_core.context('Wf_Events_Pkg', 'Add_language');

432: t.guid ,T.LANGUAGE
433: from wf_events_tl T) ;
434: exception
435: when others then
436: wf_core.context('Wf_Events_Pkg', 'Add_language');
437: raise;
438: end ADD_LANGUAGE;
439: ----------------------------------------------------------------------------
440: function GENERATE (

Line 510: l_irep_annotation := wf_core.newline ||

506: l_description);
507:
508: if (l_irep_annotation is null) then
509: -- create an annotation template
510: l_irep_annotation := wf_core.newline ||
511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||

Line 511: '/*#'||wf_core.newline||

507:
508: if (l_irep_annotation is null) then
509: -- create an annotation template
510: l_irep_annotation := wf_core.newline ||
511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||

Line 512: ' * '||l_description||wf_core.newline||

508: if (l_irep_annotation is null) then
509: -- create an annotation template
510: l_irep_annotation := wf_core.newline ||
511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||

Line 513: ' * '||wf_core.newline||

509: -- create an annotation template
510: l_irep_annotation := wf_core.newline ||
511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||

Line 514: ' * @rep:scope public '||wf_core.newline||

510: l_irep_annotation := wf_core.newline ||
511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||
518: ' */'||wf_core.newline;

Line 515: ' * @rep:displayname '||l_display_name||wf_core.newline||

511: '/*#'||wf_core.newline||
512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||
518: ' */'||wf_core.newline;
519:

Line 516: ' * @rep:product '||l_owner_tag||wf_core.newline||

512: ' * '||l_description||wf_core.newline||
513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||
518: ' */'||wf_core.newline;
519:
520: elsif (trim(l_irep_annotation) = m_null) then

Line 517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||

513: ' * '||wf_core.newline||
514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||
518: ' */'||wf_core.newline;
519:
520: elsif (trim(l_irep_annotation) = m_null) then
521: -- event was reviewed for annotation and decided not to be annotated

Line 518: ' */'||wf_core.newline;

514: ' * @rep:scope public '||wf_core.newline||
515: ' * @rep:displayname '||l_display_name||wf_core.newline||
516: ' * @rep:product '||l_owner_tag||wf_core.newline||
517: ' * @rep:category BUSINESS_ENTITY '||wf_core.newline||
518: ' */'||wf_core.newline;
519:
520: elsif (trim(l_irep_annotation) = m_null) then
521: -- event was reviewed for annotation and decided not to be annotated
522: l_irep_annotation := null;

Line 533: wf_core.context('Wf_Events_Pkg', 'Generate', x_guid);

529:
530: return buf;
531: exception
532: when others then
533: wf_core.context('Wf_Events_Pkg', 'Generate', x_guid);
534: raise;
535: end GENERATE;
536: ----------------------------------------------------------------------------
537: procedure RECEIVE (

Line 619: Wf_Core.Token('REASON', 'Invalid column name found:' ||

615: else
616: l_irep_annotation := l_value;
617: end if;
618: else
619: Wf_Core.Token('REASON', 'Invalid column name found:' ||
620: l_node_name || ' with value:'||l_value);
621: Wf_Core.Raise('WFSQL_INTERNAL');
622: end if;
623: end loop;

Line 621: Wf_Core.Raise('WFSQL_INTERNAL');

617: end if;
618: else
619: Wf_Core.Token('REASON', 'Invalid column name found:' ||
620: l_node_name || ' with value:'||l_value);
621: Wf_Core.Raise('WFSQL_INTERNAL');
622: end if;
623: end loop;
624:
625: if (L_OWNER_NAME is null)

Line 628: Wf_Core.Token('REASON','Event Owner Name and Owner Tag cannot be null');

624:
625: if (L_OWNER_NAME is null)
626: or (L_OWNER_TAG is null) then
627: if WF_EVENTS_PKG.g_Mode <> 'UPGRADE' then
628: Wf_Core.Token('REASON','Event Owner Name and Owner Tag cannot be null');
629: Wf_Core.Raise('WFSQL_INTERNAL');
630: else
631: wf_core.context('Wf_Events_Pkg', 'Receive',
632: 'WARNING! WARNING! Event OWNER_NAME/OWNER_TAG cannot be null for Event ' || l_name);

Line 629: Wf_Core.Raise('WFSQL_INTERNAL');

625: if (L_OWNER_NAME is null)
626: or (L_OWNER_TAG is null) then
627: if WF_EVENTS_PKG.g_Mode <> 'UPGRADE' then
628: Wf_Core.Token('REASON','Event Owner Name and Owner Tag cannot be null');
629: Wf_Core.Raise('WFSQL_INTERNAL');
630: else
631: wf_core.context('Wf_Events_Pkg', 'Receive',
632: 'WARNING! WARNING! Event OWNER_NAME/OWNER_TAG cannot be null for Event ' || l_name);
633: end if;

Line 631: wf_core.context('Wf_Events_Pkg', 'Receive',

627: if WF_EVENTS_PKG.g_Mode <> 'UPGRADE' then
628: Wf_Core.Token('REASON','Event Owner Name and Owner Tag cannot be null');
629: Wf_Core.Raise('WFSQL_INTERNAL');
630: else
631: wf_core.context('Wf_Events_Pkg', 'Receive',
632: 'WARNING! WARNING! Event OWNER_NAME/OWNER_TAG cannot be null for Event ' || l_name);
633: end if;
634: end if;
635:

Line 641: wf_core.context('Wf_Events_Pkg', 'Receive', x_message);

637: L_OWNER_NAME, L_OWNER_TAG, L_DISPLAY_NAME, l_DESCRIPTION,
638: l_CUSTOMIZATION_LEVEL, l_LICENSED_FLAG ,l_javagenerate, l_irep_annotation);
639: exception
640: when others then
641: wf_core.context('Wf_Events_Pkg', 'Receive', x_message);
642: raise;
643: end RECEIVE;
644:
645: