DBA Data[Home] [Help]

PACKAGE: APPS.IBE_OM_INTEGRATION_GRP

Source


1 PACKAGE IBE_OM_INTEGRATION_GRP AUTHID CURRENT_USER AS
2 /*$Header: IBEGORDS.pls 115.1 2003/09/02 09:41:08 venagara noship $ */
3 
4 
5   -- =======================================================================
6   -- Global Constants to indicate the Return-Notification request context
7   G_RETURN_APPROVAL   VARCHAR2(30) := '1';
8   G_RETURN_REJECT     VARCHAR2(30) := '2';
9 
10 
11   -- =======================================================================
12   -- PROCEDURE notify_rma_request_action
13   -- This procedure will notify the iStore end-user(s) about the OM Administrator's action
14   -- (approval or rejection) on the "Return Order submitted by him".
15   -- If the Return-order is approved, for approval notification, OM will call this API
16   -- with P_notif_context = G_RETURN_APPROVAL and with P_notif_context = G_RETURN_REJECT
17   -- for rejection notification.
18   -- This notification sent, will potentially contain the address of the location where
19   -- the goods need to be returned, if return is approved
20   -- If Approval process has "NOT" been setup in OM, then this api will not be invoked by OM
21   -- and the Return-order will be directly Booked, upon "User Submission".
22   -- In future, api can be used to get notification party list for other OM events.
23   -- by extending the notif_context parameter values.
24   --
25   -- Parameter P_notif_context
26   -- Pass Context Value
27   -- Valid values : G_RETURN_APPROVAL, G_RETURN_REJECT
28   --
29   -- Parameter P_comments
30   -- Pass the comments entered by the OM admin
31   --
32   -- Parameter P_reject_reason_code
33   -- Pass the rejection reason code, if P_notif_context is G_RETURN_REJECT.
34 
35   PROCEDURE  notify_rma_request_action(
36            P_Api_Version_Number   IN         NUMBER,
37            P_Init_Msg_List        IN         VARCHAR2 := FND_API.G_FALSE,
38            P_order_header_id      IN         NUMBER,
39            P_notif_context        IN         VARCHAR2,
40            P_comments             IN         VARCHAR2,
41            P_reject_reason_code   IN         VARCHAR2 := NULL,
42            X_Return_Status        OUT NOCOPY VARCHAR2,
43            X_Msg_Count            OUT NOCOPY NUMBER,
44            X_Msg_Data             OUT NOCOPY VARCHAR2);
45 
46   -- =======================================================================
47 
48 
49 END IBE_OM_INTEGRATION_GRP;