13:
14: message_text VARCHAR2(2000);
15:
16: BEGIN
17: arp_standard.debug('-- Error for Interface Line Id: '|| to_char(p_line_id));
18:
19: fnd_message.set_name (p_app_short_name
20: ,p_msg_name);
21: message_text := fnd_message.get;
37: RETURN TRUE;
38:
39: EXCEPTION
40: WHEN OTHERS THEN
41: arp_standard.debug('-- Return From Exception when others in '||
42: 'put_error_message');
43: RETURN FALSE;
44:
45: END put_error_message;
67: RETURN TRUE;
68:
69: EXCEPTION
70: WHEN OTHERS THEN
71: arp_standard.debug('-- Cannot insert error messages '
72: || 'into ar_trx_errors_gt.');
73: RETURN FALSE;
74: END;
75:
94: l_return_code NUMBER (1) := 1;
95: l_product_code VARCHAR2(2);
96:
97: BEGIN
98: arp_standard.debug('jg_zz_invoice_create.validate_gdff()+');
99:
100: l_product_code := FND_PROFILE.VALUE('JGZZ_PRODUCT_CODE');
101:
102: IF l_product_code IS NULL THEN
99:
100: l_product_code := FND_PROFILE.VALUE('JGZZ_PRODUCT_CODE');
101:
102: IF l_product_code IS NULL THEN
103: arp_standard.debug('Product Profile is Empty');
104: ELSIF l_product_code = 'JL' THEN
105: l_return_code := jl_zz_invoice_create.validate_gdf_inv_api(p_request_id);
106: ELSIF l_product_code = 'JA' THEN
107: l_return_code := ja_zz_invoice_create.validate_gdff(p_request_id);
108: ELSIF l_product_code = 'JE' THEN
109: l_return_code := je_zz_invoice_create.validate_gdff(p_request_id);
110: END IF;
111:
112: arp_standard.debug('jg_zz_auto_invoice.validate_gdff()-');
113:
114: RETURN l_return_code;
115:
116: EXCEPTION
115:
116: EXCEPTION
117: WHEN OTHERS THEN
118:
119: arp_standard.debug('-- Return From Exception when others');
120: arp_standard.debug('-- Return Code: 0');
121: arp_standard.debug('jg_zz_auto_invoice.validate_gdff()-');
122:
123: RETURN 0;
116: EXCEPTION
117: WHEN OTHERS THEN
118:
119: arp_standard.debug('-- Return From Exception when others');
120: arp_standard.debug('-- Return Code: 0');
121: arp_standard.debug('jg_zz_auto_invoice.validate_gdff()-');
122:
123: RETURN 0;
124:
117: WHEN OTHERS THEN
118:
119: arp_standard.debug('-- Return From Exception when others');
120: arp_standard.debug('-- Return Code: 0');
121: arp_standard.debug('jg_zz_auto_invoice.validate_gdff()-');
122:
123: RETURN 0;
124:
125: END validate_gdff;