25: validation2 NUMBER;
26: validation3 NUMBER;
27:
28: BEGIN
29: arp_standard.debug('ja_th_auto_invoice.validate_tax_invoice()+');
30:
31: return_code := 1;
32:
33: FOR h IN tax_invoice_headers(p_request_id)
65: END IF;
66:
67: END LOOP;
68:
69: arp_standard.debug('ja_th_auto_invoice.validate_tax_invoice()-');
70:
71: return(return_code);
72:
73: EXCEPTION
72:
73: EXCEPTION
74: WHEN others THEN
75:
76: arp_standard.debug('-- Return From Exception when others');
77: arp_standard.debug('-- Return Code: 0');
78: arp_standard.debug('ja_th_auto_invoice.validate_gdff()-');
79:
80: return(0);
73: EXCEPTION
74: WHEN others THEN
75:
76: arp_standard.debug('-- Return From Exception when others');
77: arp_standard.debug('-- Return Code: 0');
78: arp_standard.debug('ja_th_auto_invoice.validate_gdff()-');
79:
80: return(0);
81:
74: WHEN others THEN
75:
76: arp_standard.debug('-- Return From Exception when others');
77: arp_standard.debug('-- Return Code: 0');
78: arp_standard.debug('ja_th_auto_invoice.validate_gdff()-');
79:
80: return(0);
81:
82: END validate_tax_invoice;