DBA Data[Home] [Help]

PACKAGE: APPS.CSTPPCHK

Source


1 PACKAGE CSTPPCHK AUTHID CURRENT_USER AS
2 /* $Header: CSTPCHKS.pls 115.6 2002/11/09 00:27:44 awwang ship $*/
3 
4 /*---------------------------------------------------------------------------*
5 |  FUNCTION							             |
6 |  actual_cost_hook							     |
7 |									     |
8 |  RETURN VALUES   							     |
9 |  integer             1       Hook has been used.			     |
10 |                      -1       Continue cost processing for this transaction |
11 |                              as usual.				     |
12 |									     |
13 *----------------------------------------------------------------------------*/
14 function actual_cost_hook(
15   i_pac_period_id      	IN      NUMBER,
16   i_cost_group_id      	IN      NUMBER,
17   i_cost_type_id    	IN      NUMBER,
18   i_cost_method   	IN      NUMBER,
19   i_txn_id 		IN      NUMBER,
20   i_cost_layer_id 	IN      NUMBER,
21   i_qty_layer_id 	IN      NUMBER,
22   i_pac_rates_id 	IN      NUMBER,
23   I_USER_ID     	IN      NUMBER,
24   I_LOGIN_ID    	IN      NUMBER,
25   I_REQ_ID      	IN      NUMBER,
26   I_PRG_APPL_ID 	IN      NUMBER,
27   I_PRG_ID      	IN      NUMBER,
28   O_Err_Num     	OUT NOCOPY     NUMBER,
29   O_Err_Code    	OUT NOCOPY     VARCHAR2,
30   O_Err_Msg     	OUT NOCOPY     VARCHAR2
31 )
32 return integer;
33 
34 
35 /*---------------------------------------------------------------------------*
36 |  FUNCTION							             |
37 |  beginning_balance_hook						     |
38 |									     |
39 |  RETURN VALUES   							     |
40 |  integer             1       Hook has been used.			     |
41 |                      -1       Continue cost processing for this transaction |
42 |                              as usual.				     |
43 |									     |
44 *----------------------------------------------------------------------------*/
45 function beginning_balance_hook(
46   i_pac_period_id		IN      NUMBER,
47   i_prior_pac_period_id		IN      NUMBER,
48   i_legal_entity		IN      NUMBER,
49   i_cost_type_id   		IN      NUMBER,
50   i_cost_group_id		IN      NUMBER,
51   i_cost_method  		IN      NUMBER,
52   i_user_id			IN      NUMBER,
53   i_login_id			IN      NUMBER,
54   i_request_id			IN      NUMBER,
55   i_prog_id			IN      NUMBER,
56   i_prog_app_id			IN      NUMBER,
57   o_err_num			OUT NOCOPY     NUMBER,
58   o_err_code			OUT NOCOPY     VARCHAR2,
59   o_err_msg			OUT NOCOPY     VARCHAR2
60 )
61 return integer;
62 
63 END CSTPPCHK;