99: ra_batch_sources.batch_source_id%type,
100: p_customer_trx_id IN
101: ra_customer_trx.customer_trx_id%type,
102: p_cust_trx_type_id IN
103: ra_cust_trx_types.cust_trx_type_id%type,
104: p_term_id IN
105: ra_terms.term_id%type,
106: p_com_default_cust_trx_type_id IN
107: ra_cust_trx_types.cust_trx_type_id%type,
103: ra_cust_trx_types.cust_trx_type_id%type,
104: p_term_id IN
105: ra_terms.term_id%type,
106: p_com_default_cust_trx_type_id IN
107: ra_cust_trx_types.cust_trx_type_id%type,
108: p_ctt_class IN
109: ra_cust_trx_types.type%type,
110: p_trx_date IN
111: ra_customer_trx.trx_date%type,
105: ra_terms.term_id%type,
106: p_com_default_cust_trx_type_id IN
107: ra_cust_trx_types.cust_trx_type_id%type,
108: p_ctt_class IN
109: ra_cust_trx_types.type%type,
110: p_trx_date IN
111: ra_customer_trx.trx_date%type,
112: p_trx_number IN
113: ra_customer_trx.trx_number%type,
117: p_rev_recog_run_flag IN varchar2,
118: p_complete_flag IN
119: ra_customer_trx.complete_flag%type,
120: p_open_receivables_flag IN
121: ra_cust_trx_types.accounting_affect_flag%type,
122: p_customer_id IN
123: hz_cust_accounts.cust_account_id%type,
124: p_site_use_id IN
125: hz_cust_site_uses.site_use_id%type,
141: ra_batch_sources.batch_source_type%type,
142: p_copy_doc_number_flag OUT NOCOPY
143: ra_batch_sources.copy_doc_number_flag%type,
144: p_bs_default_cust_trx_type_id OUT NOCOPY
145: ra_cust_trx_types.cust_trx_type_id%type,
146: p_default_cust_trx_type_id OUT NOCOPY
147: ra_cust_trx_types.cust_trx_type_id%type,
148: p_default_type_name OUT NOCOPY
149: ra_cust_trx_types.name%type,
143: ra_batch_sources.copy_doc_number_flag%type,
144: p_bs_default_cust_trx_type_id OUT NOCOPY
145: ra_cust_trx_types.cust_trx_type_id%type,
146: p_default_cust_trx_type_id OUT NOCOPY
147: ra_cust_trx_types.cust_trx_type_id%type,
148: p_default_type_name OUT NOCOPY
149: ra_cust_trx_types.name%type,
150: p_class OUT NOCOPY
151: ra_cust_trx_types.type%type,
145: ra_cust_trx_types.cust_trx_type_id%type,
146: p_default_cust_trx_type_id OUT NOCOPY
147: ra_cust_trx_types.cust_trx_type_id%type,
148: p_default_type_name OUT NOCOPY
149: ra_cust_trx_types.name%type,
150: p_class OUT NOCOPY
151: ra_cust_trx_types.type%type,
152: p_open_receivable_flag OUT NOCOPY
153: ra_cust_trx_types.accounting_affect_flag%type,
147: ra_cust_trx_types.cust_trx_type_id%type,
148: p_default_type_name OUT NOCOPY
149: ra_cust_trx_types.name%type,
150: p_class OUT NOCOPY
151: ra_cust_trx_types.type%type,
152: p_open_receivable_flag OUT NOCOPY
153: ra_cust_trx_types.accounting_affect_flag%type,
154: p_post_to_gl_flag OUT NOCOPY
155: ra_cust_trx_types.post_to_gl%type,
149: ra_cust_trx_types.name%type,
150: p_class OUT NOCOPY
151: ra_cust_trx_types.type%type,
152: p_open_receivable_flag OUT NOCOPY
153: ra_cust_trx_types.accounting_affect_flag%type,
154: p_post_to_gl_flag OUT NOCOPY
155: ra_cust_trx_types.post_to_gl%type,
156: p_allow_freight_flag OUT NOCOPY
157: ra_cust_trx_types.allow_freight_flag%type,
151: ra_cust_trx_types.type%type,
152: p_open_receivable_flag OUT NOCOPY
153: ra_cust_trx_types.accounting_affect_flag%type,
154: p_post_to_gl_flag OUT NOCOPY
155: ra_cust_trx_types.post_to_gl%type,
156: p_allow_freight_flag OUT NOCOPY
157: ra_cust_trx_types.allow_freight_flag%type,
158: p_creation_sign OUT NOCOPY
159: ra_cust_trx_types.creation_sign%type,
153: ra_cust_trx_types.accounting_affect_flag%type,
154: p_post_to_gl_flag OUT NOCOPY
155: ra_cust_trx_types.post_to_gl%type,
156: p_allow_freight_flag OUT NOCOPY
157: ra_cust_trx_types.allow_freight_flag%type,
158: p_creation_sign OUT NOCOPY
159: ra_cust_trx_types.creation_sign%type,
160: p_allow_overapplication_flag OUT NOCOPY
161: ra_cust_trx_types.allow_overapplication_flag%type,
155: ra_cust_trx_types.post_to_gl%type,
156: p_allow_freight_flag OUT NOCOPY
157: ra_cust_trx_types.allow_freight_flag%type,
158: p_creation_sign OUT NOCOPY
159: ra_cust_trx_types.creation_sign%type,
160: p_allow_overapplication_flag OUT NOCOPY
161: ra_cust_trx_types.allow_overapplication_flag%type,
162: p_natural_app_only_flag OUT NOCOPY
163: ra_cust_trx_types.natural_application_only_flag%type,
157: ra_cust_trx_types.allow_freight_flag%type,
158: p_creation_sign OUT NOCOPY
159: ra_cust_trx_types.creation_sign%type,
160: p_allow_overapplication_flag OUT NOCOPY
161: ra_cust_trx_types.allow_overapplication_flag%type,
162: p_natural_app_only_flag OUT NOCOPY
163: ra_cust_trx_types.natural_application_only_flag%type,
164: p_tax_calculation_flag OUT NOCOPY
165: ra_cust_trx_types.tax_calculation_flag%type,
159: ra_cust_trx_types.creation_sign%type,
160: p_allow_overapplication_flag OUT NOCOPY
161: ra_cust_trx_types.allow_overapplication_flag%type,
162: p_natural_app_only_flag OUT NOCOPY
163: ra_cust_trx_types.natural_application_only_flag%type,
164: p_tax_calculation_flag OUT NOCOPY
165: ra_cust_trx_types.tax_calculation_flag%type,
166: p_default_status_code OUT NOCOPY
167: ar_lookups.lookup_code%type,
161: ra_cust_trx_types.allow_overapplication_flag%type,
162: p_natural_app_only_flag OUT NOCOPY
163: ra_cust_trx_types.natural_application_only_flag%type,
164: p_tax_calculation_flag OUT NOCOPY
165: ra_cust_trx_types.tax_calculation_flag%type,
166: p_default_status_code OUT NOCOPY
167: ar_lookups.lookup_code%type,
168: p_default_status OUT NOCOPY
169: ar_lookups.meaning%type,
194: l_default_batch_source_name ra_batch_sources.name%type;
195: l_auto_trx_numbering_flag ra_batch_sources.auto_trx_numbering_flag%type;
196: l_batch_source_type ra_batch_sources.batch_source_type%type;
197: l_copy_doc_number_flag ra_batch_sources.copy_doc_number_flag%type;
198: l_bs_default_cust_trx_type_id ra_cust_trx_types.cust_trx_type_id%type;
199: l_default_cust_trx_type_id ra_cust_trx_types.cust_trx_type_id%type;
200: l_default_status_code ar_lookups.lookup_code%type;
201: l_default_printing_option_code ar_lookups.lookup_code%type;
202: l_default_term_id ra_terms.term_id%type;
195: l_auto_trx_numbering_flag ra_batch_sources.auto_trx_numbering_flag%type;
196: l_batch_source_type ra_batch_sources.batch_source_type%type;
197: l_copy_doc_number_flag ra_batch_sources.copy_doc_number_flag%type;
198: l_bs_default_cust_trx_type_id ra_cust_trx_types.cust_trx_type_id%type;
199: l_default_cust_trx_type_id ra_cust_trx_types.cust_trx_type_id%type;
200: l_default_status_code ar_lookups.lookup_code%type;
201: l_default_printing_option_code ar_lookups.lookup_code%type;
202: l_default_term_id ra_terms.term_id%type;
203: l_default_term_name ra_terms.name%type;
200: l_default_status_code ar_lookups.lookup_code%type;
201: l_default_printing_option_code ar_lookups.lookup_code%type;
202: l_default_term_id ra_terms.term_id%type;
203: l_default_term_name ra_terms.name%type;
204: l_default_class ra_cust_trx_types.type%type;
205: l_post_to_gl_flag ra_cust_trx_types.post_to_gl%type;
206: l_allow_not_open_flag varchar2(1);
207: l_default_gl_date ra_cust_trx_line_gl_dist.gl_date%type;
208: l_defaulting_rule_used varchar2(128);
201: l_default_printing_option_code ar_lookups.lookup_code%type;
202: l_default_term_id ra_terms.term_id%type;
203: l_default_term_name ra_terms.name%type;
204: l_default_class ra_cust_trx_types.type%type;
205: l_post_to_gl_flag ra_cust_trx_types.post_to_gl%type;
206: l_allow_not_open_flag varchar2(1);
207: l_default_gl_date ra_cust_trx_line_gl_dist.gl_date%type;
208: l_defaulting_rule_used varchar2(128);
209: l_error_message varchar2(128);