DBA Data[Home] [Help]

APPS.AHL_RM_OP_ROUTE_AS_PVT dependencies on AHL_DEBUG_PUB

Line 5: G_DEBUG VARCHAR2(1) := NVL(AHL_DEBUG_PUB.is_log_enabled,'N');

1: PACKAGE BODY AHL_RM_OP_ROUTE_AS_PVT AS
2: /* $Header: AHLVORMB.pls 120.0 2005/05/26 02:20:14 appldev noship $ */
3: G_PKG_NAME VARCHAR2(30) := 'AHL_RM_OP_ROUTE_AS_PVT';
4: G_API_NAME VARCHAR2(30) := 'PROCESS_ROUTE_OPERATION_AS';
5: G_DEBUG VARCHAR2(1) := NVL(AHL_DEBUG_PUB.is_log_enabled,'N');
6:
7: -- constants for WHO Columns
8: -- Added by Prithwi as a part of Public API cleanup
9:

Line 738: AHL_DEBUG_PUB.enable_debug;

734: FND_MSG_PUB.initialize;
735: END IF;
736:
737: IF G_DEBUG = 'Y' THEN
738: AHL_DEBUG_PUB.enable_debug;
739: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
740: END IF;
741:
742: -- This is to be added before calling validate_api_inputs()

Line 739: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );

735: END IF;
736:
737: IF G_DEBUG = 'Y' THEN
738: AHL_DEBUG_PUB.enable_debug;
739: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
740: END IF;
741:
742: -- This is to be added before calling validate_api_inputs()
743: -- Validate Application Usage

Line 835: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );

831: END LOOP;
832:
833:
834: IF G_DEBUG = 'Y' THEN
835: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
836: END IF;
837:
838: FOR i IN 1..p_x_route_operation_tbl.count LOOP
839: IF ( p_x_route_operation_tbl(i).dml_operation = 'C' ) THEN

Line 870: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );

866: END IF;
867:
868:
869: IF G_DEBUG = 'Y' THEN
870: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
871: END IF;
872:
873: -- Default missing and unchanged attributes.
874: FOR i IN 1..p_x_route_operation_tbl.count LOOP

Line 889: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );

885: END IF;
886: END LOOP;
887:
888: IF G_DEBUG = 'Y' THEN
889: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
890: END IF;
891:
892: -- Perform cross attribute validation and missing attribute checks (Record level validation)
893:

Line 914: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_record' );

910: END LOOP;
911:
912:
913: IF G_DEBUG = 'Y' THEN
914: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_record' );
915: END IF;
916:
917: -- Update route status from APPROVAL_REJECTED to DRAFT
918: OPEN get_route_status (p_route_id);

Line 1092: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );

1088: END IF;
1089: END LOOP;
1090:
1091: IF G_DEBUG = 'Y' THEN
1092: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
1093: END IF;
1094:
1095: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
1096: l_msg_count := FND_MSG_PUB.count_msg;

Line 1119: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records ' || p_route_id );

1115: END IF;
1116: */
1117:
1118: IF G_DEBUG = 'Y' THEN
1119: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records ' || p_route_id );
1120: END IF;
1121:
1122: -- Perform the Commit (if requested)
1123: IF FND_API.to_boolean( p_commit ) THEN

Line 1137: AHL_DEBUG_PUB.disable_debug;

1133: );
1134:
1135: -- Disable debug (if enabled)
1136: IF G_DEBUG = 'Y' THEN
1137: AHL_DEBUG_PUB.disable_debug;
1138: END IF;
1139:
1140: EXCEPTION
1141:

Line 1154: AHL_DEBUG_PUB.disable_debug;

1150: );
1151:
1152: -- Disable debug (if enabled)
1153: IF G_DEBUG = 'Y' THEN
1154: AHL_DEBUG_PUB.disable_debug;
1155: END IF;
1156:
1157: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1158: ROLLBACK TO process_route_operation_pvt;

Line 1169: AHL_DEBUG_PUB.disable_debug;

1165: );
1166:
1167: -- Disable debug (if enabled)
1168: IF G_DEBUG = 'Y' THEN
1169: AHL_DEBUG_PUB.disable_debug;
1170: END IF;
1171:
1172: WHEN OTHERS THEN
1173: ROLLBACK TO process_route_operation_pvt;

Line 1193: AHL_DEBUG_PUB.disable_debug;

1189: );
1190:
1191: -- Disable debug (if enabled)
1192: IF G_DEBUG = 'Y' THEN
1193: AHL_DEBUG_PUB.disable_debug;
1194: END IF;
1195:
1196: END process_route_operation_as;
1197: