1 PACKAGE ARP_TAX_STR_PKG AUTHID CURRENT_USER AS
2 /* $Header: ARTXSTRS.pls 115.2 2002/08/30 00:57:27 cleyvaol ship $ */
3
4 /* =======================================================================|
5 | PROCEDURE initialize
6 |
7 | DESCRIPTION
8 | Initilize the arrays to hold the segments of range of accounts
9 | given. This will be held by two array during the same session
10 | to do not recalculate them every time the function
11 | get_ccid_inrange_flag is called.
12 |
13 | PARAMETERS
14 | p_min_gl_flex IN VARCHAR2. String containg the min range of
15 | accounts given.
16 | p_max_gl_flex IN VARCHAR2. String containg the max range of
17 | accounts given.
18 *========================================================================*/
19 PROCEDURE initialize(p_min_gl_flex VARCHAR2,
20 p_max_gl_flex VARCHAR2);
21
22 /* =========================================================================|
23 | FUNCTION get_credit_memo_trx_number
24 |
25 | DESCRIPTION
26 | Returns the transaction number for the credit memo.
27 |
28 | PARAMETERS
29 | p_previous_customer_trx_id IN Transaction to wich the Credit Memo
30 | is refering.
31 *=========================================================================*/
32 FUNCTION get_credit_memo_trx_number(p_previous_customer_trx_id IN NUMBER )
33 RETURN VARCHAR;
34
35
36 /* ==========================================================================
37 | FUNCTION get_credit_memo_trx_date
38 |
39 | DESCRIPTION
40 | Returns the transaction date for the credit memo.
41 |
42 | SCOPE - PUBLIC
43 |
44 | PARAMETERS
45 | p_previous_customer_trx_id IN Transaction to wich the Credit Memo
46 | is refering.
47 *=========================================================================*/
48 FUNCTION get_credit_memo_trx_date(p_previous_customer_trx_id IN NUMBER )
49 RETURN DATE;
50
51
52 /* ==========================================================================
53 | FUNCTION get_ccid_inrange_flag
54 |
55 | DESCRIPTION
56 | Returns the transaction date for the credit memo.
57 |
58 | SCOPE - PUBLIC
59 |
60 | PARAMETERS
61 | p_code_combination_id IN Code Combination Id to identify if
62 | it is in the range of the segments
63 | given.
64 | p_array_min_gl_flex,
65 | p_array_max_gl_flex IN Array of segments that define
66 | the range to evaluate for the CCID.
67 *=========================================================================*/
68 FUNCTION get_ccid_inrange_flag(p_code_combination_id IN NUMBER
69 ) RETURN VARCHAR2;
70
71 END ARP_TAX_STR_PKG;