1 package body CTO_CUSTOM_NOTIFY_PK as
2 /* $Header: CTOCNOTB.pls 115.0 2003/11/26 23:42:03 ssawant noship $ */
3
4
5
6
7 /*---------------------------------------------------------------------------+
8 This function tries to get the recipient intended for the defined notification.
9 This function will return null by default.
10 ERROR TYPES can be one of the following and are defined in CTOUTILS.pls(CTO_UTILITY_PK)
11 OPT_DROP_AND_ITEM_CREATED
12 OPT_DROP_AND_ITEM_NOT_CREATED
13 EXP_ERROR_AND_ITEM_CREATED
14 EXP_ERROR_AND_ITEM_NOT_CREATED
15 +----------------------------------------------------------------------------*/
16
17 function Get_Recipient(
18 p_error_type in Number,
19 p_inventory_item_id in Number,
20 p_organization_id in Number,
21 p_line_id in Number)
22 Return Varchar2 IS
23 begin
24 /*----------------------------------------------------------------+
25 This function can be replaced by custom code that will
26 provide the intendend recipient for this notification.
27 +-----------------------------------------------------------------*/
28
29 return NULL;
30 end Get_Recipient;
31
32 end CTO_CUSTOM_NOTIFY_PK;