98: fnd_currencies.precision%type,
99: p_base_mau IN
100: fnd_currencies.minimum_accountable_unit%type,
101: p_cust_trx_line_gl_dist_id IN
102: ra_cust_trx_line_gl_dist.cust_trx_line_gl_dist_id%type,
103: p_customer_trx_id IN
104: ra_cust_trx_line_gl_dist.customer_trx_id%type,
105: p_customer_trx_line_id IN
106: ra_cust_trx_line_gl_dist.customer_trx_line_id %type,
100: fnd_currencies.minimum_accountable_unit%type,
101: p_cust_trx_line_gl_dist_id IN
102: ra_cust_trx_line_gl_dist.cust_trx_line_gl_dist_id%type,
103: p_customer_trx_id IN
104: ra_cust_trx_line_gl_dist.customer_trx_id%type,
105: p_customer_trx_line_id IN
106: ra_cust_trx_line_gl_dist.customer_trx_line_id %type,
107: p_cust_trx_line_salesrep_id IN
108: ra_cust_trx_line_gl_dist.cust_trx_line_salesrep_id%type,
102: ra_cust_trx_line_gl_dist.cust_trx_line_gl_dist_id%type,
103: p_customer_trx_id IN
104: ra_cust_trx_line_gl_dist.customer_trx_id%type,
105: p_customer_trx_line_id IN
106: ra_cust_trx_line_gl_dist.customer_trx_line_id %type,
107: p_cust_trx_line_salesrep_id IN
108: ra_cust_trx_line_gl_dist.cust_trx_line_salesrep_id%type,
109: p_account_class IN
110: ra_cust_trx_line_gl_dist.account_class%type,
104: ra_cust_trx_line_gl_dist.customer_trx_id%type,
105: p_customer_trx_line_id IN
106: ra_cust_trx_line_gl_dist.customer_trx_line_id %type,
107: p_cust_trx_line_salesrep_id IN
108: ra_cust_trx_line_gl_dist.cust_trx_line_salesrep_id%type,
109: p_account_class IN
110: ra_cust_trx_line_gl_dist.account_class%type,
111: p_percent IN
112: ra_cust_trx_line_gl_dist.percent%type,
106: ra_cust_trx_line_gl_dist.customer_trx_line_id %type,
107: p_cust_trx_line_salesrep_id IN
108: ra_cust_trx_line_gl_dist.cust_trx_line_salesrep_id%type,
109: p_account_class IN
110: ra_cust_trx_line_gl_dist.account_class%type,
111: p_percent IN
112: ra_cust_trx_line_gl_dist.percent%type,
113: p_amount IN
114: ra_cust_trx_line_gl_dist.amount%type,
108: ra_cust_trx_line_gl_dist.cust_trx_line_salesrep_id%type,
109: p_account_class IN
110: ra_cust_trx_line_gl_dist.account_class%type,
111: p_percent IN
112: ra_cust_trx_line_gl_dist.percent%type,
113: p_amount IN
114: ra_cust_trx_line_gl_dist.amount%type,
115: p_gl_date IN
116: ra_cust_trx_line_gl_dist.gl_date%type,
110: ra_cust_trx_line_gl_dist.account_class%type,
111: p_percent IN
112: ra_cust_trx_line_gl_dist.percent%type,
113: p_amount IN
114: ra_cust_trx_line_gl_dist.amount%type,
115: p_gl_date IN
116: ra_cust_trx_line_gl_dist.gl_date%type,
117: p_original_gl_date IN
118: ra_cust_trx_line_gl_dist.original_gl_date%type,
112: ra_cust_trx_line_gl_dist.percent%type,
113: p_amount IN
114: ra_cust_trx_line_gl_dist.amount%type,
115: p_gl_date IN
116: ra_cust_trx_line_gl_dist.gl_date%type,
117: p_original_gl_date IN
118: ra_cust_trx_line_gl_dist.original_gl_date%type,
119: p_gl_posted_date IN
120: ra_cust_trx_line_gl_dist.gl_posted_date%type,
114: ra_cust_trx_line_gl_dist.amount%type,
115: p_gl_date IN
116: ra_cust_trx_line_gl_dist.gl_date%type,
117: p_original_gl_date IN
118: ra_cust_trx_line_gl_dist.original_gl_date%type,
119: p_gl_posted_date IN
120: ra_cust_trx_line_gl_dist.gl_posted_date%type,
121: p_code_combination_id IN
122: ra_cust_trx_line_gl_dist.code_combination_id%type,
116: ra_cust_trx_line_gl_dist.gl_date%type,
117: p_original_gl_date IN
118: ra_cust_trx_line_gl_dist.original_gl_date%type,
119: p_gl_posted_date IN
120: ra_cust_trx_line_gl_dist.gl_posted_date%type,
121: p_code_combination_id IN
122: ra_cust_trx_line_gl_dist.code_combination_id%type,
123: p_concatenated_segments IN
124: ra_cust_trx_line_gl_dist.concatenated_segments%type,
118: ra_cust_trx_line_gl_dist.original_gl_date%type,
119: p_gl_posted_date IN
120: ra_cust_trx_line_gl_dist.gl_posted_date%type,
121: p_code_combination_id IN
122: ra_cust_trx_line_gl_dist.code_combination_id%type,
123: p_concatenated_segments IN
124: ra_cust_trx_line_gl_dist.concatenated_segments%type,
125: p_collected_tax_ccid IN
126: ra_cust_trx_line_gl_dist.collected_tax_ccid%type,
120: ra_cust_trx_line_gl_dist.gl_posted_date%type,
121: p_code_combination_id IN
122: ra_cust_trx_line_gl_dist.code_combination_id%type,
123: p_concatenated_segments IN
124: ra_cust_trx_line_gl_dist.concatenated_segments%type,
125: p_collected_tax_ccid IN
126: ra_cust_trx_line_gl_dist.collected_tax_ccid%type,
127: p_collected_tax_concat_seg IN
128: ra_cust_trx_line_gl_dist.collected_tax_concat_seg%type,
122: ra_cust_trx_line_gl_dist.code_combination_id%type,
123: p_concatenated_segments IN
124: ra_cust_trx_line_gl_dist.concatenated_segments%type,
125: p_collected_tax_ccid IN
126: ra_cust_trx_line_gl_dist.collected_tax_ccid%type,
127: p_collected_tax_concat_seg IN
128: ra_cust_trx_line_gl_dist.collected_tax_concat_seg%type,
129: p_comments IN
130: ra_cust_trx_line_gl_dist.comments%type,
124: ra_cust_trx_line_gl_dist.concatenated_segments%type,
125: p_collected_tax_ccid IN
126: ra_cust_trx_line_gl_dist.collected_tax_ccid%type,
127: p_collected_tax_concat_seg IN
128: ra_cust_trx_line_gl_dist.collected_tax_concat_seg%type,
129: p_comments IN
130: ra_cust_trx_line_gl_dist.comments%type,
131: p_account_set_flag IN
132: ra_cust_trx_line_gl_dist.account_set_flag%type,
126: ra_cust_trx_line_gl_dist.collected_tax_ccid%type,
127: p_collected_tax_concat_seg IN
128: ra_cust_trx_line_gl_dist.collected_tax_concat_seg%type,
129: p_comments IN
130: ra_cust_trx_line_gl_dist.comments%type,
131: p_account_set_flag IN
132: ra_cust_trx_line_gl_dist.account_set_flag%type,
133: p_latest_rec_flag IN
134: ra_cust_trx_line_gl_dist.latest_rec_flag%type,
128: ra_cust_trx_line_gl_dist.collected_tax_concat_seg%type,
129: p_comments IN
130: ra_cust_trx_line_gl_dist.comments%type,
131: p_account_set_flag IN
132: ra_cust_trx_line_gl_dist.account_set_flag%type,
133: p_latest_rec_flag IN
134: ra_cust_trx_line_gl_dist.latest_rec_flag%type,
135: p_ussgl_transaction_code IN
136: ra_cust_trx_line_gl_dist.ussgl_transaction_code%type,
130: ra_cust_trx_line_gl_dist.comments%type,
131: p_account_set_flag IN
132: ra_cust_trx_line_gl_dist.account_set_flag%type,
133: p_latest_rec_flag IN
134: ra_cust_trx_line_gl_dist.latest_rec_flag%type,
135: p_ussgl_transaction_code IN
136: ra_cust_trx_line_gl_dist.ussgl_transaction_code%type,
137: p_ussgl_trx_code_context IN
138: ra_cust_trx_line_gl_dist.ussgl_transaction_code_context%type,
132: ra_cust_trx_line_gl_dist.account_set_flag%type,
133: p_latest_rec_flag IN
134: ra_cust_trx_line_gl_dist.latest_rec_flag%type,
135: p_ussgl_transaction_code IN
136: ra_cust_trx_line_gl_dist.ussgl_transaction_code%type,
137: p_ussgl_trx_code_context IN
138: ra_cust_trx_line_gl_dist.ussgl_transaction_code_context%type,
139: p_attribute_category IN
140: ra_cust_trx_line_gl_dist.attribute_category%type,
134: ra_cust_trx_line_gl_dist.latest_rec_flag%type,
135: p_ussgl_transaction_code IN
136: ra_cust_trx_line_gl_dist.ussgl_transaction_code%type,
137: p_ussgl_trx_code_context IN
138: ra_cust_trx_line_gl_dist.ussgl_transaction_code_context%type,
139: p_attribute_category IN
140: ra_cust_trx_line_gl_dist.attribute_category%type,
141: p_attribute1 IN
142: ra_cust_trx_line_gl_dist.attribute1%type,
136: ra_cust_trx_line_gl_dist.ussgl_transaction_code%type,
137: p_ussgl_trx_code_context IN
138: ra_cust_trx_line_gl_dist.ussgl_transaction_code_context%type,
139: p_attribute_category IN
140: ra_cust_trx_line_gl_dist.attribute_category%type,
141: p_attribute1 IN
142: ra_cust_trx_line_gl_dist.attribute1%type,
143: p_attribute2 IN
144: ra_cust_trx_line_gl_dist.attribute2%type,
138: ra_cust_trx_line_gl_dist.ussgl_transaction_code_context%type,
139: p_attribute_category IN
140: ra_cust_trx_line_gl_dist.attribute_category%type,
141: p_attribute1 IN
142: ra_cust_trx_line_gl_dist.attribute1%type,
143: p_attribute2 IN
144: ra_cust_trx_line_gl_dist.attribute2%type,
145: p_attribute3 IN
146: ra_cust_trx_line_gl_dist.attribute3%type,
140: ra_cust_trx_line_gl_dist.attribute_category%type,
141: p_attribute1 IN
142: ra_cust_trx_line_gl_dist.attribute1%type,
143: p_attribute2 IN
144: ra_cust_trx_line_gl_dist.attribute2%type,
145: p_attribute3 IN
146: ra_cust_trx_line_gl_dist.attribute3%type,
147: p_attribute4 IN
148: ra_cust_trx_line_gl_dist.attribute4%type,
142: ra_cust_trx_line_gl_dist.attribute1%type,
143: p_attribute2 IN
144: ra_cust_trx_line_gl_dist.attribute2%type,
145: p_attribute3 IN
146: ra_cust_trx_line_gl_dist.attribute3%type,
147: p_attribute4 IN
148: ra_cust_trx_line_gl_dist.attribute4%type,
149: p_attribute5 IN
150: ra_cust_trx_line_gl_dist.attribute5%type,
144: ra_cust_trx_line_gl_dist.attribute2%type,
145: p_attribute3 IN
146: ra_cust_trx_line_gl_dist.attribute3%type,
147: p_attribute4 IN
148: ra_cust_trx_line_gl_dist.attribute4%type,
149: p_attribute5 IN
150: ra_cust_trx_line_gl_dist.attribute5%type,
151: p_attribute6 IN
152: ra_cust_trx_line_gl_dist.attribute6%type,
146: ra_cust_trx_line_gl_dist.attribute3%type,
147: p_attribute4 IN
148: ra_cust_trx_line_gl_dist.attribute4%type,
149: p_attribute5 IN
150: ra_cust_trx_line_gl_dist.attribute5%type,
151: p_attribute6 IN
152: ra_cust_trx_line_gl_dist.attribute6%type,
153: p_attribute7 IN
154: ra_cust_trx_line_gl_dist.attribute7%type,
148: ra_cust_trx_line_gl_dist.attribute4%type,
149: p_attribute5 IN
150: ra_cust_trx_line_gl_dist.attribute5%type,
151: p_attribute6 IN
152: ra_cust_trx_line_gl_dist.attribute6%type,
153: p_attribute7 IN
154: ra_cust_trx_line_gl_dist.attribute7%type,
155: p_attribute8 IN
156: ra_cust_trx_line_gl_dist.attribute8%type,
150: ra_cust_trx_line_gl_dist.attribute5%type,
151: p_attribute6 IN
152: ra_cust_trx_line_gl_dist.attribute6%type,
153: p_attribute7 IN
154: ra_cust_trx_line_gl_dist.attribute7%type,
155: p_attribute8 IN
156: ra_cust_trx_line_gl_dist.attribute8%type,
157: p_attribute9 IN
158: ra_cust_trx_line_gl_dist.attribute9%type,
152: ra_cust_trx_line_gl_dist.attribute6%type,
153: p_attribute7 IN
154: ra_cust_trx_line_gl_dist.attribute7%type,
155: p_attribute8 IN
156: ra_cust_trx_line_gl_dist.attribute8%type,
157: p_attribute9 IN
158: ra_cust_trx_line_gl_dist.attribute9%type,
159: p_attribute10 IN
160: ra_cust_trx_line_gl_dist.attribute10%type,
154: ra_cust_trx_line_gl_dist.attribute7%type,
155: p_attribute8 IN
156: ra_cust_trx_line_gl_dist.attribute8%type,
157: p_attribute9 IN
158: ra_cust_trx_line_gl_dist.attribute9%type,
159: p_attribute10 IN
160: ra_cust_trx_line_gl_dist.attribute10%type,
161: p_attribute11 IN
162: ra_cust_trx_line_gl_dist.attribute11%type,
156: ra_cust_trx_line_gl_dist.attribute8%type,
157: p_attribute9 IN
158: ra_cust_trx_line_gl_dist.attribute9%type,
159: p_attribute10 IN
160: ra_cust_trx_line_gl_dist.attribute10%type,
161: p_attribute11 IN
162: ra_cust_trx_line_gl_dist.attribute11%type,
163: p_attribute12 IN
164: ra_cust_trx_line_gl_dist.attribute12%type,
158: ra_cust_trx_line_gl_dist.attribute9%type,
159: p_attribute10 IN
160: ra_cust_trx_line_gl_dist.attribute10%type,
161: p_attribute11 IN
162: ra_cust_trx_line_gl_dist.attribute11%type,
163: p_attribute12 IN
164: ra_cust_trx_line_gl_dist.attribute12%type,
165: p_attribute13 IN
166: ra_cust_trx_line_gl_dist.attribute13%type,
160: ra_cust_trx_line_gl_dist.attribute10%type,
161: p_attribute11 IN
162: ra_cust_trx_line_gl_dist.attribute11%type,
163: p_attribute12 IN
164: ra_cust_trx_line_gl_dist.attribute12%type,
165: p_attribute13 IN
166: ra_cust_trx_line_gl_dist.attribute13%type,
167: p_attribute14 IN
168: ra_cust_trx_line_gl_dist.attribute14%type,
162: ra_cust_trx_line_gl_dist.attribute11%type,
163: p_attribute12 IN
164: ra_cust_trx_line_gl_dist.attribute12%type,
165: p_attribute13 IN
166: ra_cust_trx_line_gl_dist.attribute13%type,
167: p_attribute14 IN
168: ra_cust_trx_line_gl_dist.attribute14%type,
169: p_attribute15 IN
170: ra_cust_trx_line_gl_dist.attribute15%type,
164: ra_cust_trx_line_gl_dist.attribute12%type,
165: p_attribute13 IN
166: ra_cust_trx_line_gl_dist.attribute13%type,
167: p_attribute14 IN
168: ra_cust_trx_line_gl_dist.attribute14%type,
169: p_attribute15 IN
170: ra_cust_trx_line_gl_dist.attribute15%type,
171: p_posting_control_id IN
172: ra_cust_trx_line_gl_dist.posting_control_id%type,
166: ra_cust_trx_line_gl_dist.attribute13%type,
167: p_attribute14 IN
168: ra_cust_trx_line_gl_dist.attribute14%type,
169: p_attribute15 IN
170: ra_cust_trx_line_gl_dist.attribute15%type,
171: p_posting_control_id IN
172: ra_cust_trx_line_gl_dist.posting_control_id%type,
173: p_header_gl_date IN date,
174: p_trx_date IN date,
168: ra_cust_trx_line_gl_dist.attribute14%type,
169: p_attribute15 IN
170: ra_cust_trx_line_gl_dist.attribute15%type,
171: p_posting_control_id IN
172: ra_cust_trx_line_gl_dist.posting_control_id%type,
173: p_header_gl_date IN date,
174: p_trx_date IN date,
175: p_invoicing_rule_id IN
176: ra_customer_trx.invoicing_rule_id%type,
174: p_trx_date IN date,
175: p_invoicing_rule_id IN
176: ra_customer_trx.invoicing_rule_id%type,
177: p_rec_offset_flag IN
178: ra_cust_trx_line_gl_dist.rec_offset_flag%type, /* Bug 3568021 */
179: p_backout_done_flag OUT NOCOPY boolean,
180: p_rounding_correction_flag IN varchar2 DEFAULT NULL)
181: IS
182:
179: p_backout_done_flag OUT NOCOPY boolean,
180: p_rounding_correction_flag IN varchar2 DEFAULT NULL)
181: IS
182:
183: l_dist_rec ra_cust_trx_line_gl_dist%rowtype;
184:
185: BEGIN
186:
187: IF PG_DEBUG in ('Y', 'C') THEN