DBA Data[Home] [Help]

APPS.WF_NOTIFICATION dependencies on STANDARD

Line 982: -- Since the standard format itemtype:itemkey:actid is NOT mandatory this function

978: --
979: -- VALIDATE_CONTEXT
980: -- Introduced because of bug 7914921
981: -- Gets a noification contexts and derives the item type, key and activity ID, if any
982: -- Since the standard format itemtype:itemkey:actid is NOT mandatory this function
983: -- returns null values if the context does not meet the standard. Further validation is
984: -- requried by the calling program
985: -- IN
986: -- context: the notification context to validate

Line 983: -- returns null values if the context does not meet the standard. Further validation is

979: -- VALIDATE_CONTEXT
980: -- Introduced because of bug 7914921
981: -- Gets a noification contexts and derives the item type, key and activity ID, if any
982: -- Since the standard format itemtype:itemkey:actid is NOT mandatory this function
983: -- returns null values if the context does not meet the standard. Further validation is
984: -- requried by the calling program
985: -- IN
986: -- context: the notification context to validate
987: -- IN OUT

Line 1008: if LENGTH(itemtype)<=8 then --Standard lenght for a valid item type

1004: col2 := instr(context, ':', -1, 1);
1005: if col1>0 AND col2>col1 then --Context seems to have itemtype and key
1006: itemtype := substr(context, 1, col1-1);
1007: itemkey := substr(context, col1+1, col2-col1-1);
1008: if LENGTH(itemtype)<=8 then --Standard lenght for a valid item type
1009: BEGIN
1010: actid:=to_number(substr(context, col2+1));
1011: EXCEPTION
1012: WHEN OTHERS THEN --covers for an invalid conversion to number.

Line 3317: -- when no ':' or just one ':', context does not conform to WF standard

3313: l_actid number;
3314: begin
3315:
3316: -- Derive item type, item key and activity id from the context
3317: -- when no ':' or just one ':', context does not conform to WF standard
3318: -- it could be sent by calling wf_notification.send directly
3319: -- in this case, we just return false to preserve the old behavior
3320: validate_context (p_context, l_item_type, l_item_key, l_actid);
3321: if (l_item_type is null or l_item_key is null or l_actid is null) then