1: PACKAGE BODY ja_th_ar_tax_invoice AS
2: /* $Header: jathrtib.pls 120.4 2006/01/06 19:30:08 ykonishi ship $ */
3:
4: FUNCTION insert_interface_errors(
5: p_customer_trx_id IN NUMBER,
32: return(TRUE);
33:
34: EXCEPTION
35: WHEN cannot_insert_error THEN
36: arp_standard.debug('-- Found exception in ja_th_ar_tax_invoice.' ||
37: p_validation_name);
38: arp_standard.debug('-- Cannot insert the error record into ' ||
39: 'ra_interface_errors.');
40: return(FALSE);
40: return(FALSE);
41:
42: WHEN others THEN
43: arp_standard.debug('-- Found exception in ' ||
44: 'ja_th_ar_tax_invoice.insert_interface_errors.');
45: arp_standard.debug('-- ' || SQLERRM);
46:
47: return(FALSE);
48:
93:
94: WHEN OTHERS THEN
95: IF p_created_from = 'RAXTRX' THEN
96: arp_standard.debug('-- Found exception in ' ||
97: 'ja_th_ar_tax_invoice.validate_trx_date.');
98: arp_standard.debug('-- ' || SQLERRM);
99: return(-1);
100: ELSIF p_created_from = 'ARXTWMAI' THEN
101: return(0);
200:
201: WHEN others THEN
202: IF p_created_from = 'RAXTRX' THEN
203: arp_standard.debug('-- Found exception in ' ||
204: 'ja_th_ar_tax_invoice.update_last_issued_date.');
205: arp_standard.debug('-- ' || SQLERRM);
206: return(-1);
207: ELSIF p_created_from = 'ARXTWMAI' THEN
208: return(0);
209: END IF;
210:
211: END update_last_issued_date;
212:
213: END ja_th_ar_tax_invoice;