DBA Data[Home] [Help]

PACKAGE: APPS.ARP_TRX_DEFAULTS_2

Source


1 PACKAGE ARP_TRX_DEFAULTS_2 AS
2 /* $Header: ARTUDF2S.pls 120.3.12010000.1 2008/07/24 16:57:51 appldev ship $ */
3 
4 PROCEDURE get_source_default(
5                               p_batch_source_id             IN
6                                         ra_batch_sources.batch_source_id%type,
7                               p_ctt_class                   IN
8                                        ra_cust_trx_types.type%type,
9                               p_trx_date                    IN
10                                         ra_customer_trx.trx_date%type,
11                               p_trx_number                  IN
12                                         ra_customer_trx.trx_number%type,
13                               p_default_batch_source_id    OUT NOCOPY
14                                         ra_batch_sources.batch_source_id%type,
15                               p_default_batch_source_name  OUT NOCOPY
16                                         ra_batch_sources.name%type,
17                               p_auto_trx_numbering_flag    OUT NOCOPY
18                                 ra_batch_sources.auto_trx_numbering_flag%type,
19                               p_batch_source_type          OUT NOCOPY
20                                        ra_batch_sources.batch_source_type%type,
21                               p_copy_doc_number_flag       OUT NOCOPY
22                                         ra_batch_sources.copy_doc_number_flag%type,
23                               p_default_cust_trx_type_id   OUT NOCOPY
24                                         ra_cust_trx_types.cust_trx_type_id%type
25                             );
26 
27 PROCEDURE get_type_defaults(
28                              p_cust_trx_type_id       IN
29                                      ra_cust_trx_types.cust_trx_type_id%type,
30                              p_trx_date               IN
31                                      ra_customer_trx.trx_date%type,
32                              p_ctt_class              IN
33                                      ra_cust_trx_types.type%type,
34                              p_row_id                 IN varchar2,
35                              p_invoicing_rule_id      IN ra_rules.rule_id%type,
36                              p_rev_recog_run_flag     IN varchar2,
37                              p_complete_flag          IN
38                                      ra_customer_trx.complete_flag%type,
39                              p_open_receivables_flag  IN
40                                  ra_cust_trx_types.accounting_affect_flag%type,
41                              p_customer_trx_id        IN
42                                      ra_customer_trx.customer_trx_id%type,
43                              p_default_cust_trx_type_id        OUT NOCOPY
44                                      ra_cust_trx_types.cust_trx_type_id%type,
45                              p_default_type_name               OUT NOCOPY
46                                      ra_cust_trx_types.name%type,
47                              p_default_class                   OUT NOCOPY
48                                      ra_cust_trx_types.type%type,
49                              p_deflt_open_receivables_flag     OUT NOCOPY
50                                  ra_cust_trx_types.accounting_affect_flag%type,
51                              p_default_post_to_gl_flag         OUT NOCOPY
52                                      ra_cust_trx_types.post_to_gl%type,
53                              p_default_allow_freight_flag      OUT NOCOPY
54                                      ra_cust_trx_types.allow_freight_flag%type,
55                              p_default_creation_sign           OUT NOCOPY
56                                      ra_cust_trx_types.creation_sign%type,
57                              p_default_allow_overapp_flag      OUT NOCOPY
58                           ra_cust_trx_types.allow_overapplication_flag%type,
59                              p_deflt_natural_app_only_flag   OUT NOCOPY
60                           ra_cust_trx_types.natural_application_only_flag%type,
61                              p_default_tax_calculation_flag    OUT NOCOPY
62                                   ra_cust_trx_types.tax_calculation_flag%type,
63                              p_default_status_code             OUT NOCOPY
64                                   ar_lookups.lookup_code%type,
65                              p_default_status                  OUT NOCOPY
66                                   ar_lookups.meaning%type,
67                              p_default_printing_option_code    OUT NOCOPY
68                                   ar_lookups.lookup_code%type,
69                              p_default_printing_option         OUT NOCOPY
70                                   ar_lookups.meaning%type,
71                              p_default_term_id                 OUT NOCOPY
72                                   ra_terms.term_id%type,
73                              p_default_term_name               OUT NOCOPY
74                                   ra_terms.name%type,
75                              p_number_of_due_dates             OUT NOCOPY number,
76                              p_term_due_date                   OUT NOCOPY
77                                   ra_customer_trx.term_due_date%type,
78                              p_security_inv_enter_flag      IN
79                                   varchar2   DEFAULT 'Y',
80                              p_security_cm_enter_flag       IN
81                                   varchar2   DEFAULT 'Y',
82                              p_security_dm_enter_flag       IN
83                                   varchar2   DEFAULT 'Y',
84                              p_security_commit_enter_flag    IN
85                                   varchar2   DEFAULT 'Y'
86                           );
87 
88 PROCEDURE init;
89 
90 END ARP_TRX_DEFAULTS_2;