DBA Data[Home] [Help]

APPS.RCV_SHIPMENT_HEADER_SV dependencies on ASN_DEBUG

Line 5: g_asn_debug VARCHAR2(1) := NVL(fnd_profile.VALUE('RCV_DEBUG_MODE'), 'N');

1: PACKAGE BODY rcv_shipment_header_sv AS
2: /* $Header: RCVSHCB.pls 115.5 2004/06/30 23:30:05 wkunz ship $ */
3:
4: -- Read the profile option that enables/disables the debug log
5: g_asn_debug VARCHAR2(1) := NVL(fnd_profile.VALUE('RCV_DEBUG_MODE'), 'N');
6:
7: PROCEDURE create_shipment_header(
8: x_header_record IN OUT NOCOPY rcv_shipment_header_sv.headerrectype
9: ) IS

Line 43: IF (g_asn_debug = 'Y') THEN

39: rcv_error_pkg.set_sql_error_message('create_shipment_header', '000');
40: x_header_record.error_record.error_status := rcv_error_pkg.g_ret_sts_unexp_error;
41: x_header_record.error_record.error_message := rcv_error_pkg.get_last_message;
42:
43: IF (g_asn_debug = 'Y') THEN
44: asn_debug.put_line('Fatal Error');
45: END IF;
46: END create_shipment_header;
47:

Line 44: asn_debug.put_line('Fatal Error');

40: x_header_record.error_record.error_status := rcv_error_pkg.g_ret_sts_unexp_error;
41: x_header_record.error_record.error_message := rcv_error_pkg.get_last_message;
42:
43: IF (g_asn_debug = 'Y') THEN
44: asn_debug.put_line('Fatal Error');
45: END IF;
46: END create_shipment_header;
47:
48: /* --------------------------------------------

Line 68: IF (g_asn_debug = 'Y') THEN

64: END IF;
65:
66: IF x_header_record.error_record.error_status IN('S', 'W') THEN
67: IF NVL(x_header_record.header_record.test_flag, 'N') <> 'Y' THEN
68: IF (g_asn_debug = 'Y') THEN
69: asn_debug.put_line('Start the process of cancellation');
70: END IF;
71:
72: rcv_asn_trx_insert.insert_cancelled_asn_lines(x_header_record);

Line 69: asn_debug.put_line('Start the process of cancellation');

65:
66: IF x_header_record.error_record.error_status IN('S', 'W') THEN
67: IF NVL(x_header_record.header_record.test_flag, 'N') <> 'Y' THEN
68: IF (g_asn_debug = 'Y') THEN
69: asn_debug.put_line('Start the process of cancellation');
70: END IF;
71:
72: rcv_asn_trx_insert.insert_cancelled_asn_lines(x_header_record);
73: END IF;

Line 83: IF (g_asn_debug = 'Y') THEN

79: rcv_error_pkg.set_sql_error_message('create_shipment_header', '000');
80: x_header_record.error_record.error_status := rcv_error_pkg.g_ret_sts_unexp_error;
81: x_header_record.error_record.error_message := rcv_error_pkg.get_last_message;
82:
83: IF (g_asn_debug = 'Y') THEN
84: asn_debug.put_line('Fatal Error');
85: END IF;
86: END cancel_shipment;
87: END rcv_shipment_header_sv;

Line 84: asn_debug.put_line('Fatal Error');

80: x_header_record.error_record.error_status := rcv_error_pkg.g_ret_sts_unexp_error;
81: x_header_record.error_record.error_message := rcv_error_pkg.get_last_message;
82:
83: IF (g_asn_debug = 'Y') THEN
84: asn_debug.put_line('Fatal Error');
85: END IF;
86: END cancel_shipment;
87: END rcv_shipment_header_sv;