536: l_trh_rec.first_posted_record_flag := 'N' ;
537: l_trh_rec.batch_id := NULL ;
538: l_trh_rec.postable_flag := 'N' ;
539: l_trh_rec.current_accounted_flag:= 'N' ;
540: ARP_PROC_TRANSACTION_HISTORY.insert_transaction_history (l_trh_rec,
541: l_trh_rec.transaction_history_id);
542:
543: IF (l_trh_rec.status not in (C_INCOMPLETE, C_PENDING_ACCEPTANCE, C_CANCELLED))
544: THEN
548: l_ps_rec.due_date := l_trx_rec.term_due_date;
549: arp_ps_pkg.update_p (l_ps_rec, l_ps_rec.payment_schedule_id);
550: END IF;
551: ELSE
552: ARP_PROC_TRANSACTION_HISTORY.update_transaction_history (l_trh_rec,
553: l_trh_rec.transaction_history_id);
554: END IF;
555:
556:
1302: l_trh_rec.batch_id := NULL ;
1303: l_trh_rec.org_id := p_org_id ;
1304:
1305:
1306: arp_proc_transaction_history.insert_transaction_history (l_trh_rec ,
1307: l_trh_rec.transaction_history_id);
1308: END IF;
1309:
1310: