1 PACKAGE FUN_IC_AME_WF_PKG AUTHID CURRENT_USER AS
2 /* $Header: funicameas.pls 120.0 2004/10/13 12:56:50 bsilveir noship $ */
3
4
5 /* ---------------------------------------------------------------------------
6 Name : get_attribute_value
7 Pre-reqs : None.
8 Modifies : None.
9 Function : This function returns the values for the intercompany transaction
10 attributes that are used within AME. These values are used when
11 evaluating AME rules and conditions
12 Parameters:
13 IN : p_transaction_id - fun_trx_headers.trx_id
14 p_dist_id - fun_trx_dist_lines.dist_id
15 p_attribute_name - Name of the attribute whose value is required.
16 OUT : Value of the attribute.
17 Notes : None.
18 Testing : This function can be tested using the 'Test' tab provided within AME
19 setup pages
20 ------------------------------------------------------------------------------*/
21 FUNCTION get_attribute_value
22 (p_transaction_id IN NUMBER,
23 p_dist_id IN NUMBER DEFAULT NULL,
24 p_attribute_name IN VARCHAR2)
25 RETURN VARCHAR2 ;
26
27 /* ---------------------------------------------------------------------------
28 Name : get_fun_dist_acct_flex
29 Pre-reqs : None.
30 Modifies : None.
31 Function : This function will be called from within AME to get the value of
32 the accounting flexfields qualifying segments enabling users to
33 build rules based on them.
34 Parameters:
35 IN : p_seg_name - Name of the Segment
36 Eg. GL_ACCOUNT, GL_BALANCING, FA_COST_CTR
37 p_ccid - Code Combination Id
38 p_dist_id - fun_trx_dist_lines.dist_id
39 p_transaction_id - fun_trx_headers.trx_id
40 OUT : Value of the attribute.
41 Notes : None.
42 Testing : This function can be tested using the 'Test' tab provided within AME
43 setup pages
44 ------------------------------------------------------------------------------*/
45 FUNCTION get_fun_dist_acct_flex(p_seg_name IN VARCHAR2,
46 P_ccid IN NUMBER,
47 p_dist_id IN NUMBER,
48 p_transaction_id IN NUMBER)
49 RETURN VARCHAR2 ;
50
51
52 END;
53