DBA Data[Home] [Help]

APPS.ARP_CASHBOOK dependencies on ARP_GLOBAL

Line 79: arp_global.init_global(mo_global.get_current_org_id);

75: END IF;
76:
77: --Setting the Org Context Bug5212892
78: ar_mo_global_cache.populate;
79: arp_global.init_global(mo_global.get_current_org_id);
80: arp_standard.init_standard(mo_global.get_current_org_id);
81:
82: -- Assume this receipt has already been locked
83:

Line 125: arp_standard.debug('clear: ' || 'ARP_GLOBAL.functional_currency = ' || ARP_GLOBAL.functional_currency);

121: l_acctd_receipt_amt_old := l_crh_rec_old.acctd_amount + nvl(L_crh_rec_old.acctd_factor_discount_amount,0);
122:
123: IF PG_DEBUG in ('Y', 'C') THEN
124: arp_standard.debug('clear: ' || 'l_cr_rec.currency_code = ' || l_cr_rec.currency_code);
125: arp_standard.debug('clear: ' || 'ARP_GLOBAL.functional_currency = ' || ARP_GLOBAL.functional_currency);
126: arp_standard.debug('clear: ' || 'l_crh_rec_old.exchange_rate = ' || to_char(l_crh_rec_old.exchange_rate));
127: END IF;
128:
129: IF ( l_cr_rec.currency_code = ARP_GLOBAL.functional_currency )

Line 129: IF ( l_cr_rec.currency_code = ARP_GLOBAL.functional_currency )

125: arp_standard.debug('clear: ' || 'ARP_GLOBAL.functional_currency = ' || ARP_GLOBAL.functional_currency);
126: arp_standard.debug('clear: ' || 'l_crh_rec_old.exchange_rate = ' || to_char(l_crh_rec_old.exchange_rate));
127: END IF;
128:
129: IF ( l_cr_rec.currency_code = ARP_GLOBAL.functional_currency )
130: THEN
131: l_acctd_receipt_amt_new := l_cr_rec.amount;
132: l_crh_rec_new.amount := p_amount_cleared;
133: l_crh_rec_new.acctd_amount := p_amount_cleared;

Line 151: ARP_GLOBAL.functional_currency,

147:
148: IF (p_exchange_rate_type = 'User') THEN
149: l_acctd_receipt_amt_new := arp_util.functional_amount(
150: l_cr_rec.amount,
151: ARP_GLOBAL.functional_currency,
152: nvl(p_exchange_rate,1),
153: NULL,NULL );
154: ELSE
155: l_acctd_receipt_amt_new := gl_currency_api.convert_amount(

Line 157: ARP_GLOBAL.functional_currency,

153: NULL,NULL );
154: ELSE
155: l_acctd_receipt_amt_new := gl_currency_api.convert_amount(
156: l_cr_rec.currency_code,
157: ARP_GLOBAL.functional_currency,
158: p_exchange_date,
159: p_exchange_rate_type,
160: l_cr_rec.amount);
161: END IF;

Line 178: ARP_GLOBAL.functional_currency,

174:
175: IF (p_exchange_rate_type = 'User') THEN
176: l_crh_rec_new.acctd_amount := arp_util.functional_amount(
177: p_amount_cleared,
178: ARP_GLOBAL.functional_currency,
179: nvl(p_exchange_rate,1),
180: NULL,NULL );
181: ELSE
182: l_crh_rec_new.acctd_amount := gl_currency_api.convert_amount(

Line 184: ARP_GLOBAL.functional_currency,

180: NULL,NULL );
181: ELSE
182: l_crh_rec_new.acctd_amount := gl_currency_api.convert_amount(
183: l_cr_rec.currency_code,
184: ARP_GLOBAL.functional_currency,
185: p_exchange_date,
186: p_exchange_rate_type,
187: p_amount_cleared);
188: END IF;

Line 215: ARP_GLOBAL.functional_currency,

211:
212: IF (p_exchange_rate_type = 'User') THEN
213: l_convert_receipt_amt := arp_util.functional_amount
214: (l_cr_rec.amount,
215: ARP_GLOBAL.functional_currency,
216: p_exchange_rate,null,null);
217: ELSE
218: l_convert_receipt_amt := gl_currency_api.convert_amount(
219: l_cr_rec.currency_code,

Line 220: ARP_GLOBAL.functional_currency,

216: p_exchange_rate,null,null);
217: ELSE
218: l_convert_receipt_amt := gl_currency_api.convert_amount(
219: l_cr_rec.currency_code,
220: ARP_GLOBAL.functional_currency,
221: p_exchange_date,
222: p_exchange_rate_type,
223: l_cr_rec.amount);
224: END IF;

Line 250: ARP_GLOBAL.functional_currency,

246: 1/nvl(p_exchange_rate,1),
247: NULL,NULL );
248: ELSE
249: l_crh_rec_new.amount := gl_currency_api.convert_amount(
250: ARP_GLOBAL.functional_currency,
251: l_cr_rec.currency_code,
252: p_exchange_date,
253: p_exchange_rate_type,
254: p_amount_cleared);

Line 344: -- l_event_rec.xla_req_id := arp_global.request_id;

340: arp_cr_history_pkg.update_p( l_crh_rec_old );
341:
342: --Bug#2750340
343: --{BUG#5051143 - the cash book call is document based not request based
344: -- l_event_rec.xla_req_id := arp_global.request_id;
345: -- l_event_rec.xla_mode := 'B';
346: --}
347: l_event_rec.xla_from_doc_id := p_cr_id;
348: l_event_rec.xla_to_doc_id := p_cr_id;

Line 726: ARP_GLOBAL.functional_currency,

722: THEN
723: l_radj_rec.cash_receipt_id := p_cr_id;
724: l_radj_rec.gain_loss := arp_util.functional_amount(
725: l_cr_rec.amount,
726: ARP_GLOBAL.functional_currency,
727: (l_crh_rec_new.exchange_rate - l_crh_rec_old.exchange_rate),
728: NULL,NULL );
729: l_radj_rec.gl_date := p_gl_date;
730: l_radj_rec.new_exchange_date := l_crh_rec_new.exchange_date;

Line 747: ARP_GLOBAL.created_by,

743: l_radj_rec.new_exchange_date,
744: l_radj_rec.new_exchange_rate,
745: l_radj_rec.new_exchange_rate_type,
746: l_radj_rec.gl_date,
747: ARP_GLOBAL.created_by,
748: ARP_GLOBAL.creation_date,
749: ARP_GLOBAL.last_updated_by,
750: ARP_GLOBAL.last_update_date,
751: ARP_GLOBAL.last_update_login,

Line 748: ARP_GLOBAL.creation_date,

744: l_radj_rec.new_exchange_rate,
745: l_radj_rec.new_exchange_rate_type,
746: l_radj_rec.gl_date,
747: ARP_GLOBAL.created_by,
748: ARP_GLOBAL.creation_date,
749: ARP_GLOBAL.last_updated_by,
750: ARP_GLOBAL.last_update_date,
751: ARP_GLOBAL.last_update_login,
752: FALSE,

Line 749: ARP_GLOBAL.last_updated_by,

745: l_radj_rec.new_exchange_rate_type,
746: l_radj_rec.gl_date,
747: ARP_GLOBAL.created_by,
748: ARP_GLOBAL.creation_date,
749: ARP_GLOBAL.last_updated_by,
750: ARP_GLOBAL.last_update_date,
751: ARP_GLOBAL.last_update_login,
752: FALSE,
753: l_crh_rec_new.cash_receipt_history_id

Line 750: ARP_GLOBAL.last_update_date,

746: l_radj_rec.gl_date,
747: ARP_GLOBAL.created_by,
748: ARP_GLOBAL.creation_date,
749: ARP_GLOBAL.last_updated_by,
750: ARP_GLOBAL.last_update_date,
751: ARP_GLOBAL.last_update_login,
752: FALSE,
753: l_crh_rec_new.cash_receipt_history_id
754: );

Line 751: ARP_GLOBAL.last_update_login,

747: ARP_GLOBAL.created_by,
748: ARP_GLOBAL.creation_date,
749: ARP_GLOBAL.last_updated_by,
750: ARP_GLOBAL.last_update_date,
751: ARP_GLOBAL.last_update_login,
752: FALSE,
753: l_crh_rec_new.cash_receipt_history_id
754: );
755:

Line 812: arp_global.init_global(mo_global.get_current_org_id);

808:
809:
810: --Setting the Org Context Bug5212892
811: ar_mo_global_cache.populate;
812: arp_global.init_global(mo_global.get_current_org_id);
813: arp_standard.init_standard(mo_global.get_current_org_id);
814:
815:
816: -- Assume this receipt has already been locked

Line 886: ARP_GLOBAL.functional_currency,

882:
883: IF (l_crh_rec_prv_stat.exchange_rate_type = 'User') THEN
884: l_crh_rec_new.acctd_amount := arp_util.functional_amount(
885: l_crh_rec_prv_stat.amount,
886: ARP_GLOBAL.functional_currency,
887: nvl(l_crh_rec_prv_stat.exchange_rate,1),
888: NULL,NULL );
889: ELSE
890: l_crh_rec_new.acctd_amount := gl_currency_api.convert_amount(

Line 892: ARP_GLOBAL.functional_currency,

888: NULL,NULL );
889: ELSE
890: l_crh_rec_new.acctd_amount := gl_currency_api.convert_amount(
891: l_cr_rec.currency_code,
892: ARP_GLOBAL.functional_currency,
893: l_crh_rec_prv_stat.exchange_date,
894: l_crh_rec_prv_stat.exchange_rate_type,
895: l_crh_rec_prv_stat.amount);
896: END IF;

Line 1103: ARP_GLOBAL.functional_currency,

1099: THEN
1100: l_radj_rec.cash_receipt_id := p_cr_id;
1101: l_radj_rec.gain_loss := arp_util.functional_amount(
1102: l_cr_rec.amount,
1103: ARP_GLOBAL.functional_currency,
1104: (l_crh_rec_prv_stat.exchange_rate - l_crh_rec_new.exchange_rate),
1105: NULL,NULL );
1106: l_radj_rec.gl_date := p_gl_date;
1107: l_radj_rec.new_exchange_date := l_crh_rec_prv_stat.exchange_date;

Line 1124: ARP_GLOBAL.created_by,

1120: l_radj_rec.new_exchange_date,
1121: l_radj_rec.new_exchange_rate,
1122: l_radj_rec.new_exchange_rate_type,
1123: l_radj_rec.gl_date,
1124: ARP_GLOBAL.created_by,
1125: ARP_GLOBAL.creation_date,
1126: ARP_GLOBAL.last_updated_by,
1127: ARP_GLOBAL.last_update_date,
1128: ARP_GLOBAL.last_update_login,

Line 1125: ARP_GLOBAL.creation_date,

1121: l_radj_rec.new_exchange_rate,
1122: l_radj_rec.new_exchange_rate_type,
1123: l_radj_rec.gl_date,
1124: ARP_GLOBAL.created_by,
1125: ARP_GLOBAL.creation_date,
1126: ARP_GLOBAL.last_updated_by,
1127: ARP_GLOBAL.last_update_date,
1128: ARP_GLOBAL.last_update_login,
1129: TRUE, -- should this be FALSE??? OS 7/6/99

Line 1126: ARP_GLOBAL.last_updated_by,

1122: l_radj_rec.new_exchange_rate_type,
1123: l_radj_rec.gl_date,
1124: ARP_GLOBAL.created_by,
1125: ARP_GLOBAL.creation_date,
1126: ARP_GLOBAL.last_updated_by,
1127: ARP_GLOBAL.last_update_date,
1128: ARP_GLOBAL.last_update_login,
1129: TRUE, -- should this be FALSE??? OS 7/6/99
1130: l_new_crh_id_fr_radj

Line 1127: ARP_GLOBAL.last_update_date,

1123: l_radj_rec.gl_date,
1124: ARP_GLOBAL.created_by,
1125: ARP_GLOBAL.creation_date,
1126: ARP_GLOBAL.last_updated_by,
1127: ARP_GLOBAL.last_update_date,
1128: ARP_GLOBAL.last_update_login,
1129: TRUE, -- should this be FALSE??? OS 7/6/99
1130: l_new_crh_id_fr_radj
1131: );

Line 1128: ARP_GLOBAL.last_update_login,

1124: ARP_GLOBAL.created_by,
1125: ARP_GLOBAL.creation_date,
1126: ARP_GLOBAL.last_updated_by,
1127: ARP_GLOBAL.last_update_date,
1128: ARP_GLOBAL.last_update_login,
1129: TRUE, -- should this be FALSE??? OS 7/6/99
1130: l_new_crh_id_fr_radj
1131: );
1132: