95: IF PG_DEBUG in ('Y', 'C') THEN
96: arp_standard.debug( 'arp_cr_history_pkg.update_p()+' );
97: END IF;
98: --
99: UPDATE ar_cash_receipt_history SET
100: amount = DECODE( p_crh_rec.amount,
101: AR_NUMBER_DUMMY, amount,
102: p_crh_rec.amount ),
103: acctd_amount = DECODE( p_crh_rec.acctd_amount,
275: IF PG_DEBUG in ('Y', 'C') THEN
276: arp_standard.debug('update_p: ' || 'arp_cr_history_pkg.insert_p()+' );
277: END IF;
278: --
279: SELECT ar_cash_receipt_history_s.nextval
280: INTO l_crh_id
281: FROM dual;
282: --
283: INSERT INTO ar_cash_receipt_history (
430: IF PG_DEBUG in ('Y', 'C') THEN
431: arp_standard.debug( 'arp_cr_history_pkg.update_p()+' );
432: END IF;
433: --
434: UPDATE ar_cash_receipt_history SET
435: amount = p_crh_rec.amount,
436: acctd_amount = p_crh_rec.acctd_amount,
437: factor_flag = p_crh_rec.factor_flag,
438: first_posted_record_flag =