1 PACKAGE CSTPAPHK AUTHID CURRENT_USER AS
2 /* $Header: CSTAPHKS.pls 115.3 2002/11/08 02:35:01 awwang ship $ */
3
4
5 -- FUNCTION
6 -- get_account_id Cover routine to allow users the flexbility
7 -- in determining the account they want to
8 -- post the inventory transaction to.
9 --
10 --
11 -- RETURN VALUES
12 -- integer >0 User selected account number
13 -- -1 Use the default account for distribution.
14 --
15 function get_account_id(
16 I_TXN_ID IN NUMBER,
17 I_LEGAL_ENTITY IN NUMBER,
18 I_COST_TYPE_ID IN NUMBER,
19 I_COST_GROUP_ID IN NUMBER,
20 I_DR_FLAG IN BOOLEAN,
21 I_ACCT_LINE_TYPE IN NUMBER,
22 I_COST_ELEMENT_ID IN NUMBER,
23 I_RESOURCE_ID IN NUMBER,
24 I_SUBINV IN VARCHAR2,
25 I_EXP IN BOOLEAN,
26 O_Err_Num OUT NOCOPY NUMBER,
27 O_Err_Code OUT NOCOPY VARCHAR2,
28 O_Err_Msg OUT NOCOPY VARCHAR2
29 )
30 return integer ;
31
32 END CSTPAPHK;
33