265: | Print out NOCOPY the results |
266: +------------------------*/
267:
268: arp_util.debug('l_derive_gl_date_flag = ' ||
269: arp_trx_util.boolean_to_varchar2( l_derive_gl_date_flag ));
270: arp_util.debug('l_amount_changed_flag = ' ||
271: arp_trx_util.boolean_to_varchar2( l_amount_changed_flag ));
272: arp_util.debug('l_last_period_changed_flag = ' ||
273: arp_trx_util.boolean_to_varchar2(
267:
268: arp_util.debug('l_derive_gl_date_flag = ' ||
269: arp_trx_util.boolean_to_varchar2( l_derive_gl_date_flag ));
270: arp_util.debug('l_amount_changed_flag = ' ||
271: arp_trx_util.boolean_to_varchar2( l_amount_changed_flag ));
272: arp_util.debug('l_last_period_changed_flag = ' ||
273: arp_trx_util.boolean_to_varchar2(
274: l_last_period_changed_flag ));
275:
269: arp_trx_util.boolean_to_varchar2( l_derive_gl_date_flag ));
270: arp_util.debug('l_amount_changed_flag = ' ||
271: arp_trx_util.boolean_to_varchar2( l_amount_changed_flag ));
272: arp_util.debug('l_last_period_changed_flag = ' ||
273: arp_trx_util.boolean_to_varchar2(
274: l_last_period_changed_flag ));
275:
276: arp_util.debug('arp_process_line.set_flags()-');
277:
455: BEGIN
456:
457: arp_util.debug('arp_process_line.header_freight_only_rules_case()+');
458:
459: IF (arp_trx_util.detect_freight_only_rules_case( p_customer_trx_id ) = TRUE)
460: THEN
461:
462: /*-----------------------------------------------------+
463: | Null out NOCOPY the invoicing rule ID of the transaction |
933: /*----------------------------------------------------------------+
934: | Lock rows in other tables that reference this customer_trx_id |
935: +----------------------------------------------------------------*/
936:
937: arp_trx_util.lock_transaction(p_line_rec.customer_trx_id);
938:
939: l_line_rec := p_line_rec;
940:
941: IF (l_line_rec.initial_customer_trx_line_id IS NULL) THEN
1451: /*----------------------------------------------------------------+
1452: | Lock rows in other tables that reference this customer_trx_id |
1453: +----------------------------------------------------------------*/
1454:
1455: arp_trx_util.lock_transaction(l_db_line_rec.customer_trx_id);
1456:
1457:
1458: set_flags( p_line_rec,
1459: l_db_line_rec,
1790: p_customer_trx_line_id);
1791: arp_util.debug('p_foreign_currency_code = ' ||p_foreign_currency_code);
1792: arp_util.debug('p_exchange_rate = ' || p_exchange_rate);
1793: arp_util.debug('p_recalculate_tax_flag = ' ||
1794: arp_trx_util.boolean_to_varchar2(p_recalculate_tax_flag));
1795: arp_util.debug('p_rerun_autoacc_flag = ' ||
1796: arp_trx_util.boolean_to_varchar2(p_rerun_autoacc_flag));
1797:
1798: arp_util.debug('');
1792: arp_util.debug('p_exchange_rate = ' || p_exchange_rate);
1793: arp_util.debug('p_recalculate_tax_flag = ' ||
1794: arp_trx_util.boolean_to_varchar2(p_recalculate_tax_flag));
1795: arp_util.debug('p_rerun_autoacc_flag = ' ||
1796: arp_trx_util.boolean_to_varchar2(p_rerun_autoacc_flag));
1797:
1798: arp_util.debug('');
1799:
1800: arp_ctl_pkg.display_line_rec(p_line_rec);
1912: /*----------------------------------------------------------------+
1913: | Lock rows in other tables that reference this customer_trx_id |
1914: +----------------------------------------------------------------*/
1915:
1916: arp_trx_util.lock_transaction(p_line_rec.customer_trx_id);
1917:
1918: /*---------------------------------------------------------------------+
1919: | Call Tax Engine, deleting any tax associated with this line. |
1920: +---------------------------------------------------------------------*/
2055: arp_util.debug('p_customer_trx_line_id = ' ||
2056: p_customer_trx_line_id);
2057: arp_util.debug('p_complete_flag = ' || p_complete_flag);
2058: arp_util.debug('p_recalculate_tax_flag = ' ||
2059: arp_trx_util.boolean_to_varchar2(p_recalculate_tax_flag));
2060: arp_util.debug('p_trx_amount = ' || p_trx_amount);
2061: arp_util.debug('p_exchange_rate = ' || p_exchange_rate);
2062: arp_util.debug('p_gl_date = ' || p_gl_date);
2063: arp_util.debug('p_trx_date = ' || p_trx_date);