DBA Data[Home] [Help]

APPS.ARP_CONFIRMATION dependencies on ARP_CR_HISTORY_PKG

Line 1065: arp_cr_history_pkg.fetch_f_crid(p_cr_rec.cash_receipt_id, l_crh_rec_old);

1061: arp_standard.debug('arp_confirmation.update_cr_history_confirm()+');
1062:
1063: -- fetch current record from ar_cash_receipt_history
1064:
1065: arp_cr_history_pkg.fetch_f_crid(p_cr_rec.cash_receipt_id, l_crh_rec_old);
1066:
1067: arp_standard.debug('-- current history record fetched. crh_id = '||
1068: to_char(l_crh_rec_old.cash_receipt_history_id));
1069:

Line 1107: arp_cr_history_pkg.insert_p(l_crh_rec_new, l_crh_id_new);

1103: l_crh_rec_new.prv_stat_cash_receipt_hist_id := l_crh_rec_old.cash_receipt_history_id;
1104:
1105: -- insert new current record into cash receipt history table
1106:
1107: arp_cr_history_pkg.insert_p(l_crh_rec_new, l_crh_id_new);
1108:
1109: arp_standard.debug('-- new crh record inserted. crh_id = ' ||
1110: to_char(l_crh_id_new));
1111:

Line 1115: arp_cr_history_pkg.update_p(l_crh_rec_old);

1111:
1112: -- link new current record to previous current record and update the latter:
1113:
1114: l_crh_rec_old.reversal_cash_receipt_hist_id := l_crh_id_new;
1115: arp_cr_history_pkg.update_p(l_crh_rec_old);
1116:
1117: arp_standard.debug('-- previous record updated');
1118:
1119: -- create ar_distributions record for new history record:

Line 1757: arp_cr_history_pkg.fetch_f_crid(p_cr_rec.cash_receipt_id, l_crh_rec_old);

1753: arp_standard.debug('arp_confirmation.update_cr_history_unconfirm()+');
1754:
1755: -- fetch current record from ar_cash_receipt_history
1756:
1757: arp_cr_history_pkg.fetch_f_crid(p_cr_rec.cash_receipt_id, l_crh_rec_old);
1758:
1759: -- update columns in existing record
1760:
1761: l_crh_rec_old.reversal_gl_date := p_confirm_gl_date;

Line 1776: arp_cr_history_pkg.fetch_p(l_crh_rec_old.prv_stat_cash_receipt_hist_id,

1772: -- to get the correct batch_id, we have to get it from the record
1773: -- that is pointed to by prv_stat_cash_receipt_hist_id in the current
1774: -- crh record.
1775:
1776: arp_cr_history_pkg.fetch_p(l_crh_rec_old.prv_stat_cash_receipt_hist_id,
1777: l_crh_rec_prev_stat);
1778:
1779: l_batch_id := l_crh_rec_prev_stat.batch_id;
1780: l_crh_id_rev := l_crh_rec_prev_stat.reversal_cash_receipt_hist_id;

Line 1810: arp_cr_history_pkg.insert_p(l_crh_rec_new, l_crh_id_new);

1806: l_crh_rec_new.prv_stat_cash_receipt_hist_id := l_crh_rec_old.cash_receipt_history_id;
1807:
1808: -- insert new current record into cash receipt history table
1809:
1810: arp_cr_history_pkg.insert_p(l_crh_rec_new, l_crh_id_new);
1811:
1812: -- link new current record to previous current record and update the latter:
1813:
1814: l_crh_rec_old.reversal_cash_receipt_hist_id := l_crh_id_new;

Line 1815: arp_cr_history_pkg.update_p(l_crh_rec_old);

1811:
1812: -- link new current record to previous current record and update the latter:
1813:
1814: l_crh_rec_old.reversal_cash_receipt_hist_id := l_crh_id_new;
1815: arp_cr_history_pkg.update_p(l_crh_rec_old);
1816:
1817:
1818: -- create ar_distributions record for new history record.
1819: -- first fetch record that was created for the history table