DBA Data[Home] [Help]

PACKAGE: APPS.WSH_CC_RESPONSE_PKG

Source


1 PACKAGE WSH_CC_RESPONSE_PKG AUTHID CURRENT_USER AS
2 /* $Header: WSHGTRPS.pls 115.2 2002/06/03 12:31:08 pkm ship       $ */
3 --  Package
4 --      WSH_CC_RESPONSE_PKG
5 --
6 --  Purpose
7 --      Spec of package WSH_GTC_RESPONSE_PKG. This package is used for interpreting
8 --      the response generated by GTC Adapter for a request.
9 --
10 --  History
11 --      Oct-11-2001 	Kodanda Ram         Created
12 --
13 
14   -- Name (RECORD TYPE )
15   --   T_RESULT_STATUS_REC
16   -- Purpose
17   --   This record type stores the interpreted response from the
18   --   from the Adapter for a request.
19   --   status_code is the status of the request. It can be one of
20   --   SUCCESS, DATA, ON_HOLD, SYSTEM. The remaining three flags
21   --   indicates status of corresponsding Compliance checks.
22 
23   TYPE  T_RESULT_STATUS_REC IS RECORD (
24 		status_code	WSH_GTC_RESPONSE_RULES.INTERPRETED_VALUE_CODE%TYPE,
25 		dp_flag		varchar2(1),
26 		em_flag		varchar2(1),
27 		ld_flag		varchar2(1) );
28 
29 
30 
31 
32 
33   -- Name
34   --   ONT_RESPONSE_ANALYSER
35   -- Purpose
36   --   On passing the transaction_control_id of a request this package returns
37   --   the interpreted status of the request based on the rules defined
38   -- Arguments
39   --   trans_control_id            transaction_control_id of a request
40   --   response_header_id          transaction_control_id of a request
41   --   result_status               status returned as record T_RESULT_STATUS_REC
42   -- Notes
43   --   Refer the record T_RESULT_STATUS_REC
44 
45   PROCEDURE ONT_RESPONSE_ANALYSER (
46     trans_control_id IN NUMBER,
47     response_header_id IN NUMBER,
48     result_status OUT t_result_status_rec);
49 
50 END WSH_CC_RESPONSE_PKG;