DBA Data[Home] [Help]

PACKAGE: APPS.ARP_PROCESS_LINE

Source


1 PACKAGE ARP_PROCESS_LINE AUTHID CURRENT_USER AS
2 /* $Header: ARTECTLS.pls 120.1 2002/11/15 03:40:10 anukumar ship $ */
3 
4 PROCEDURE insert_line(
5                p_form_name              IN varchar2,
6                p_form_version           IN number,
7                p_line_rec		IN OUT NOCOPY ra_customer_trx_lines%rowtype,
8                p_memo_line_type         IN ar_memo_lines.line_type%type,
9                p_customer_trx_line_id  OUT NOCOPY
10                                ra_customer_trx_lines.customer_trx_line_id%type,
11                p_trx_class              IN ra_cust_trx_types.type%type
12                                            DEFAULT NULL,
13                p_ccid1                  IN
14                                  gl_code_combinations.code_combination_id%type
15                                  DEFAULT NULL,
16                p_ccid2                  IN
17                                  gl_code_combinations.code_combination_id%type
18                                  DEFAULT NULL,
19                p_amount1                IN ra_cust_trx_line_gl_dist.amount%type
20                                            DEFAULT NULL,
21                p_amount2                IN ra_cust_trx_line_gl_dist.amount%type
22                                            DEFAULT NULL,
23                p_rule_start_date        OUT NOCOPY
24                                  ra_customer_trx_lines.rule_start_date%type,
25                p_accounting_rule_duration OUT NOCOPY
26                          ra_customer_trx_lines.accounting_rule_duration%type,
27                p_gl_date                IN OUT NOCOPY
28                          ra_cust_trx_line_gl_dist.gl_date%type,
29                p_trx_date               IN OUT NOCOPY
30                          ra_customer_trx.trx_date%type,
31 	       p_header_currency_code   IN
32 				ra_customer_trx.invoice_currency_code%type
33 				DEFAULT NULL,
34 	       p_header_exchange_rate	IN
35 				ra_customer_trx.exchange_rate%type
36 				DEFAULT NULL,
37                p_status                 OUT NOCOPY varchar2,
38                p_run_autoacc_flag       IN varchar2  DEFAULT 'Y',
39                p_run_tax_flag           IN varchar2  DEFAULT 'Y',
40                p_create_salescredits_flag IN VARCHAR2 DEFAULT 'Y'   );
41 
42 PROCEDURE update_line(
43                 p_form_name	        IN varchar2,
44                 p_form_version          IN number,
45                 p_customer_trx_line_id  IN
46                               ra_customer_trx_lines.customer_trx_line_id%type,
47                 p_line_rec	        IN OUT NOCOPY ra_customer_trx_lines%rowtype,
48                 p_foreign_currency_code IN fnd_currencies.currency_code%type,
49 		p_exchange_rate         IN ra_customer_trx.exchange_rate%type,
50                 p_recalculate_tax_flag  IN boolean,
51                 p_rerun_autoacc_flag    IN boolean,
52                 p_rule_start_date       OUT NOCOPY
53                                  ra_customer_trx_lines.rule_start_date%type,
54                 p_accounting_rule_duration OUT NOCOPY
55                          ra_customer_trx_lines.accounting_rule_duration%type,
56                 p_gl_date                IN OUT NOCOPY
57                          ra_cust_trx_line_gl_dist.gl_date%type,
58                 p_trx_date               IN OUT NOCOPY
59                          ra_customer_trx.trx_date%type,
60                 p_status                 OUT NOCOPY varchar2 );
61 
62 PROCEDURE delete_line(p_form_name		IN varchar2,
63                        p_form_version		IN number,
64                        p_customer_trx_line_id	IN
65                                ra_customer_trx_lines.customer_trx_line_id%type,
66                        p_complete_flag   IN ra_customer_trx.complete_flag%type,
67 		       p_recalculate_tax_flag  	IN boolean,
68                        p_trx_amount         	IN number,
69                        p_exchange_rate  IN ra_customer_trx.exchange_rate%type,
70 		       p_header_currency_code IN fnd_currencies.currency_code%type,
71 	 	       p_gl_date  IN OUT NOCOPY ra_cust_trx_line_gl_dist.gl_date%type,
72 	 	       p_trx_date IN OUT NOCOPY ra_customer_trx.trx_date%type,
73                        p_line_rec    IN ra_customer_trx_lines%rowtype,
74                        p_status OUT NOCOPY varchar2 );
75 
76 PROCEDURE make_incomplete( p_customer_trx_id  IN
77                              ra_customer_trx.customer_trx_id%type );
78 
79 END ARP_PROCESS_LINE;