160: IF PG_DEBUG in ('Y', 'C') THEN
161: arp_util.debug( 'arp_cash_receipts_pkg.insert_p()+' );
162: END IF;
163: --
164: SELECT ar_cash_receipts_s.nextval
165: INTO l_cr_id
166: FROM dual;
167: --
168:
404: --
405: IF PG_DEBUG in ('Y', 'C') THEN
406: arp_util.debug('update_p: ' || 'before call to update ar_cash_receipts');
407: END IF;
408: UPDATE ar_cash_receipts SET
409: amount = DECODE( p_cr_rec.amount,
410: AR_NUMBER_DUMMY, amount,
411: p_cr_rec.amount ),
412: currency_code = DECODE( p_cr_rec.currency_code,