DBA Data[Home] [Help]

APPS.ARP_PROCESS_DET_PKG dependencies on ARP_DET_DIST_PKG

Line 167: | Action : Call arp_det_dist_pkg to do the application |

163: | p_customer_trx invoice record |
164: | p_ae_sys_rec receivable system parameter |
165: | p_gt_id global ID |
166: +-----------------------------------------------------------------------------+
167: | Action : Call arp_det_dist_pkg to do the application |
168: +-----------------------------------------------------------------------------*/
169: PROCEDURE do_apply
170: (p_app_rec IN ar_receivable_apps_gt%ROWTYPE,
171: p_gt_id IN VARCHAR2,

Line 1599: | Action : Call arp_det_dist_pkg to do the application |

1595: | p_customer_trx invoice record |
1596: | p_ae_sys_rec receivable system parameter |
1597: | p_gt_id global ID |
1598: +-----------------------------------------------------------------------------+
1599: | Action : Call arp_det_dist_pkg to do the application |
1600: +-----------------------------------------------------------------------------*/
1601: PROCEDURE do_apply
1602: (p_app_rec IN ar_receivable_apps_gt%ROWTYPE,
1603: p_gt_id IN VARCHAR2,

Line 1617: ARP_DET_DIST_PKG.Trx_level_cash_apply

1613: dump_sys_param;
1614:
1615: IF p_app_rec.app_level = 'TRANSACTION' THEN
1616:
1617: ARP_DET_DIST_PKG.Trx_level_cash_apply
1618: (p_customer_trx => g_customer_trx,
1619: p_app_rec => l_ra_rec,
1620: p_ae_sys_rec => g_ae_sys_rec,
1621: p_gt_id => p_gt_id);

Line 1625: ARP_DET_DIST_PKG.Trx_gp_level_cash_apply

1621: p_gt_id => p_gt_id);
1622:
1623: ELSIF p_app_rec.app_level = 'GROUP' THEN
1624:
1625: ARP_DET_DIST_PKG.Trx_gp_level_cash_apply
1626: (p_customer_trx => g_customer_trx,
1627: --
1628: p_source_data_key1 => p_app_rec.source_data_key1,
1629: p_source_data_key2 => p_app_rec.source_data_key2,

Line 1643: ARP_DET_DIST_PKG.Trx_line_level_cash_apply

1639:
1640: arp_standard.debug(' HYU l_ra_rec.LINE_APPLIED:'||l_ra_rec.LINE_APPLIED);
1641: arp_standard.debug(' HYU l_ra_rec.TAX_APPLIED:'||l_ra_rec.TAX_APPLIED);
1642:
1643: ARP_DET_DIST_PKG.Trx_line_level_cash_apply
1644: (p_customer_trx => g_customer_trx,
1645: p_customer_trx_line_id => p_app_rec.ctl_id,
1646: p_log_inv_line => 'Y',
1647: p_app_rec => l_ra_rec,

Line 1797: | 1) Call arp_det_dist_pkg to copy trx line into ra_customer_trx_lines_gt |

1793: | p_customer_trx_id invoice ID |
1794: | p_cash_receipt_id receipt ID |
1795: +-----------------------------------------------------------------------------+
1796: | Action : |
1797: | 1) Call arp_det_dist_pkg to copy trx line into ra_customer_trx_lines_gt |
1798: | 2) Call get_inv_ps to cache the invoice payment schedule |
1799: +-----------------------------------------------------------------------------*/
1800: PROCEDURE initialization
1801: (p_customer_trx_id IN NUMBER,

Line 1918: ARP_DET_DIST_PKG.set_original_rem_amt

1914: ,g_inv_rec_ccid;
1915: CLOSE c_acct;
1916: dump_ccid;
1917:
1918: ARP_DET_DIST_PKG.set_original_rem_amt
1919: (p_customer_trx => g_customer_trx,
1920: p_from_llca => 'Y');
1921:
1922: ARP_DET_DIST_PKG.copy_trx_lines (p_customer_trx_id => p_customer_trx_id,

Line 1922: ARP_DET_DIST_PKG.copy_trx_lines (p_customer_trx_id => p_customer_trx_id,

1918: ARP_DET_DIST_PKG.set_original_rem_amt
1919: (p_customer_trx => g_customer_trx,
1920: p_from_llca => 'Y');
1921:
1922: ARP_DET_DIST_PKG.copy_trx_lines (p_customer_trx_id => p_customer_trx_id,
1923: p_ae_sys_rec => g_ae_sys_rec);
1924:
1925: get_inv_ps(x_return_status => x_return_status);
1926:

Line 2439: arp_det_dist_pkg.final_update_inv_ctl_rem_orig

2435: SET gt_id = USERENV('SESSIONID')
2436: WHERE gt_id LIKE USERENV('SESSIONID')||'%';
2437:
2438: /*
2439: arp_det_dist_pkg.final_update_inv_ctl_rem_orig
2440: (p_customer_trx => g_customer_trx);
2441:
2442: arp_det_dist_pkg.create_final_split
2443: (p_customer_trx => g_customer_trx,

Line 2442: arp_det_dist_pkg.create_final_split

2438: /*
2439: arp_det_dist_pkg.final_update_inv_ctl_rem_orig
2440: (p_customer_trx => g_customer_trx);
2441:
2442: arp_det_dist_pkg.create_final_split
2443: (p_customer_trx => g_customer_trx,
2444: p_app_rec => x_ra_rec,
2445: p_adj_rec => l_adj_rec,
2446: p_ae_sys_rec => g_ae_sys_rec);

Line 2571: arp_det_dist_pkg.final_update_inv_ctl_rem_orig(p_customer_trx =>g_customer_trx);

2567: g_payschedule_trx );
2568: -- update inv ps
2569: arp_ps_pkg.update_p( g_payschedule_trx);
2570:
2571: arp_det_dist_pkg.final_update_inv_ctl_rem_orig(p_customer_trx =>g_customer_trx);
2572:
2573: x_ra_rec.application_ref_id := x_application_ref_id;
2574: x_ra_rec.application_ref_num := x_application_ref_num;
2575: x_ra_rec.receivable_application_id := x_receivable_application_id;

Line 3157: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');

3153: arp_standard.debug(' p_tax_flag :'||p_tax_flag);
3154:
3155: IF p_gt_id IS NULL THEN
3156: x_return_status := fnd_api.g_ret_sts_error;
3157: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3158: FND_MESSAGE.SET_NAME( 'AR', 'AR_CUST_API_ERROR');
3159: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3160: FND_MSG_PUB.ADD;
3161: ELSE

Line 3159: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');

3155: IF p_gt_id IS NULL THEN
3156: x_return_status := fnd_api.g_ret_sts_error;
3157: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3158: FND_MESSAGE.SET_NAME( 'AR', 'AR_CUST_API_ERROR');
3159: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3160: FND_MSG_PUB.ADD;
3161: ELSE
3162:
3163: IF ((p_adj_rec.amount IS NULL) AND (p_adj_rec.acctd_amount IS NULL))

Line 3274: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');

3270: arp_standard.debug(' p_uned_tax_flag :'||p_uned_tax_flag);
3271:
3272: IF p_gt_id IS NULL THEN
3273: x_return_status := fnd_api.g_ret_sts_error;
3274: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3275: FND_MESSAGE.SET_NAME( 'AR', 'AR_CUST_API_ERROR');
3276: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3277: FND_MSG_PUB.ADD;
3278: ELSE

Line 3276: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');

3272: IF p_gt_id IS NULL THEN
3273: x_return_status := fnd_api.g_ret_sts_error;
3274: arp_standard.debug(' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3275: FND_MESSAGE.SET_NAME( 'AR', 'AR_CUST_API_ERROR');
3276: FND_MESSAGE.SET_TOKEN('TEXT',' p_gt_id IS NULL, please excecute arp_det_dist_pkg.get_gt_sequence');
3277: FND_MSG_PUB.ADD;
3278: ELSE
3279:
3280: IF ((p_app_rec.amount_applied IS NULL) AND (p_app_rec.acctd_amount_applied_to IS NULL))