DBA Data[Home] [Help]

APPS.ARP_PROCESS_DIST dependencies on ARP_CTLGD_PKG

Line 58: arp_ctlgd_pkg.fetch_p( l_old_dist_rec,

54: BEGIN
55:
56: arp_util.debug('arp_process_dist.set_flags()+');
57:
58: arp_ctlgd_pkg.fetch_p( l_old_dist_rec,
59: p_cust_trx_line_gl_dist_id);
60:
61:
62: IF (

Line 126: arp_ctlgd_pkg.display_dist_rec( p_new_dist_rec );

122:
123: arp_util.debug('');
124:
125: arp_util.debug('---------- new distribution record ----------');
126: arp_ctlgd_pkg.display_dist_rec( p_new_dist_rec );
127: arp_util.debug('');
128:
129: RAISE;
130:

Line 349: arp_ctlgd_pkg.merge_dist_recs( l_old_dist_rec,

345: | update_dist() use that value. Otherwise, use the |
346: | value from the original dist line. |
347: +---------------------------------------------------------------*/
348:
349: arp_ctlgd_pkg.merge_dist_recs( l_old_dist_rec,
350: l_new_dist_rec,
351: l_new_dist_rec);
352:
353: /* Bug 7039029 JVARKEY cust_trx_line_salesrep_id should be retained in

Line 401: arp_ctlgd_pkg.insert_p( l_new_dist_rec,

397: /*-----------------------------------------------------------+
398: | Call the table handler to insert the new dist record |
399: +-----------------------------------------------------------*/
400:
401: arp_ctlgd_pkg.insert_p( l_new_dist_rec,
402: l_cust_trx_line_gl_dist_id,
403: p_exchange_rate,
404: p_currency_code,
405: p_precision,

Line 411: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );

407:
408: /* Bug 8788491
409: Posted dist can be modified only once.
410: Dont allow this dist to modify here onwards. */
411: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );
412: l_orig_dist_rec.ccid_change_flag := 'N';
413: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,
414: l_old_dist_rec.cust_trx_line_gl_dist_id );
415:

Line 413: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,

409: Posted dist can be modified only once.
410: Dont allow this dist to modify here onwards. */
411: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );
412: l_orig_dist_rec.ccid_change_flag := 'N';
413: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,
414: l_old_dist_rec.cust_trx_line_gl_dist_id );
415:
416: /* 6325023 - the point of the rec_offset_flag was to keep header level UNEARN
417: rows (all of them) together to make troubleshooting data issues easier.

Line 423: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );

419: existing rows to null as that is contrary to the point of this column
420: /+ Bug 3598021 - 3630436 +/
421: IF l_old_dist_rec.rec_offset_flag = 'Y'
422: THEN
423: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );
424: l_orig_dist_rec.rec_offset_flag := NULL;
425: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,
426: l_old_dist_rec.cust_trx_line_gl_dist_id );
427: END IF;

Line 425: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,

421: IF l_old_dist_rec.rec_offset_flag = 'Y'
422: THEN
423: ARP_CTLGD_PKG.set_to_dummy(l_orig_dist_rec );
424: l_orig_dist_rec.rec_offset_flag := NULL;
425: ARP_CTLGD_PKG.update_p( l_orig_dist_rec ,
426: l_old_dist_rec.cust_trx_line_gl_dist_id );
427: END IF;
428:
429: END of bug 6325023 */

Line 456: arp_ctlgd_pkg.insert_p( l_old_dist_rec,

452: END of bug 6325023 */
453:
454: l_old_dist_rec.ccid_change_flag := 'N'; /* Bug 8788491 */
455:
456: arp_ctlgd_pkg.insert_p( l_old_dist_rec,
457: l_cust_trx_line_gl_dist_id,
458: p_exchange_rate,
459: p_currency_code,
460: p_precision,

Line 577: arp_ctlgd_pkg.merge_dist_recs( l_old_dist_rec,

573: | update_dist(), use that value. Otherwise, use the |
574: | value from the original dist record. |
575: +---------------------------------------------------------------*/
576:
577: arp_ctlgd_pkg.merge_dist_recs( l_old_dist_rec,
578: l_new_dist_rec,
579: l_old_dist_rec);
580:
581: /*--------------------------------------------------------+

Line 609: arp_ctlgd_pkg.insert_p( l_old_dist_rec,

605: /*------------------------------------------------------------+
606: | Call the table handler to create the backout dist record |
607: +------------------------------------------------------------*/
608:
609: arp_ctlgd_pkg.insert_p( l_old_dist_rec,
610: l_cust_trx_line_gl_dist_id,
611: p_exchange_rate,
612: p_currency_code,
613: p_precision,

Line 704: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);

700: arp_util.debug(
701: 'EXCEPTION: arp_process_dist.val_tax_from_revenue()');
702: arp_util.debug('---------- val_tax_from_revenue() ---------');
703: END IF;
704: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);
705:
706: RAISE;
707:
708: END val_tax_from_revenue;

Line 759: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);

755: arp_util.debug(
756: 'EXCEPTION: arp_process_dist.val_insert_dist()');
757:
758: arp_util.debug('---------- val_insert_dist() ---------');
759: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);
760:
761: RAISE;
762:
763: END;

Line 814: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);

810: 'EXCEPTION: arp_process_dist.val_update_dist()');
811:
812:
813: arp_util.debug('---------- val_update_dist() ---------');
814: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);
815:
816: RAISE;
817:
818: END;

Line 867: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);

863: arp_util.debug('EXCEPTION: arp_process_dist.val_delete_dist()');
864:
865:
866: arp_util.debug('---------- val_update_dist() ---------');
867: arp_ctlgd_pkg.display_dist_rec(p_dist_rec);
868:
869: RAISE;
870:
871: END;

Line 953: arp_ctlgd_pkg.insert_p( p_dist_rec,

949:
950: arp_trx_util.lock_transaction(p_dist_rec.customer_trx_id);
951:
952:
953: arp_ctlgd_pkg.insert_p( p_dist_rec,
954: p_cust_trx_line_gl_dist_id,
955: p_exchange_rate,
956: p_currency_code,
957: p_precision,

Line 1007: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );

1003: arp_util.debug('p_precision = ' || p_precision );
1004: arp_util.debug('p_mau = ' || p_mau );
1005:
1006: arp_util.debug('');
1007: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );
1008: arp_util.debug('');
1009:
1010: RAISE;
1011:

Line 1191: arp_ctlgd_pkg.update_p( p_dist_rec,

1187: | Call the table handler to do a simple update |
1188: +------------------------------------------------*/
1189:
1190: arp_util.debug('simple update - case 1');
1191: arp_ctlgd_pkg.update_p( p_dist_rec,
1192: p_cust_trx_line_gl_dist_id,
1193: p_exchange_rate,
1194: p_currency_code,
1195: p_precision,

Line 1307: arp_ctlgd_pkg.fetch_p(l_old_dist_rec, p_cust_trx_line_gl_dist_id);

1303:
1304: p_backout_done_flag := FALSE;
1305:
1306: ELSE
1307: arp_ctlgd_pkg.fetch_p(l_old_dist_rec, p_cust_trx_line_gl_dist_id);
1308:
1309: IF ( l_ccid_changed_flag = TRUE )
1310: THEN
1311:

Line 1361: arp_ctlgd_pkg.update_p(p_dist_rec,

1357: +--------------------------------------*/
1358:
1359: arp_util.debug('simple update - case 2');
1360:
1361: arp_ctlgd_pkg.update_p(p_dist_rec,
1362: p_cust_trx_line_gl_dist_id,
1363: p_exchange_rate,
1364: p_currency_code,
1365: p_precision,

Line 1431: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );

1427: arp_util.debug('p_currency_code = ' || p_currency_code);
1428: arp_util.debug('p_precision = ' || p_precision );
1429: arp_util.debug('p_mau = ' || p_mau );
1430:
1431: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );
1432:
1433: RAISE;
1434:
1435: END;

Line 1507: arp_ctlgd_pkg.delete_p( p_cust_trx_line_gl_dist_id );

1503: /*----------------------------------------------------+
1504: | call the table-handler to delete the dist record |
1505: +----------------------------------------------------*/
1506:
1507: arp_ctlgd_pkg.delete_p( p_cust_trx_line_gl_dist_id );
1508:
1509: /*----------------------------------------------------+
1510: | Validate tax from revenue account. |
1511: +----------------------------------------------------*/

Line 1533: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );

1529:
1530: arp_util.debug('p_cust_trx_line_gl_dist_id = ' ||
1531: p_cust_trx_line_gl_dist_id);
1532:
1533: arp_ctlgd_pkg.display_dist_rec( p_dist_rec );
1534:
1535: RAISE;
1536:
1537: END;

Line 1546: pg_number_dummy := arp_ctlgd_pkg.get_number_dummy;

1542: +---------------------------------------------*/
1543:
1544: BEGIN
1545:
1546: pg_number_dummy := arp_ctlgd_pkg.get_number_dummy;
1547:
1548: END ARP_PROCESS_DIST;