DBA Data[Home] [Help]

APPS.AHL_RM_ASSO_DOCASO_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_ASSO_DOCASO_PVT AS
2: /* $Header: AHLVRODB.pls 120.0 2005/05/26 02:01:22 appldev noship $ */
3:
4: G_PKG_NAME VARCHAR2(30):= 'AHL_RM_ASSO_DOCASO_PVT';
5: G_DEBUG VARCHAR2(1) := NVL(AHL_DEBUG_PUB.is_log_enabled,'N');
6:
7: -- Populate doc table from RM table info.
8: PROCEDURE Populate_Doc_Tbl(
9: p_x_association_tbl IN OUT NOCOPY doc_association_tbl,

Line 118: AHL_DEBUG_PUB.enable_debug;

114:
115: -- Check if API is called in debug mode. If yes, enable debug.
116:
117: IF G_DEBUG='Y' THEN
118: AHL_DEBUG_PUB.enable_debug;
119: END IF;
120:
121: -- Debug info.
122:

Line 124: AHL_DEBUG_PUB.debug( 'enter ahl_rm_asso_doc_aso_pub.Process Association');

120:
121: -- Debug info.
122:
123: IF G_DEBUG='Y' THEN
124: AHL_DEBUG_PUB.debug( 'enter ahl_rm_asso_doc_aso_pub.Process Association');
125: END IF;
126:
127: -- Initialize message list if p_init_msg_list is set to TRUE.
128: IF FND_API.to_boolean(p_init_msg_list)

Line 225: AHL_DEBUG_PUB.debug( 'before call on AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION');

221: p_x_doc_assos_tbl => l_x_doc_assos_tbl
222: );
223:
224:
225: AHL_DEBUG_PUB.debug( 'before call on AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION');
226:
227: AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION
228: (
229: p_api_version => p_api_version ,

Line 257: AHL_DEBUG_PUB.debug( 'AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION is called');

253: p_x_association_tbl(i).OBJECT_VERSION_NUMBER := l_x_doc_assos_tbl(i).OBJECT_VERSION_NUMBER;
254: END LOOP;
255:
256: IF G_DEBUG='Y' THEN
257: AHL_DEBUG_PUB.debug( 'AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION is called');
258: AHL_DEBUG_PUB.debug( 'PRITHWI the aso object type code is '|| p_x_association_tbl(1).object_type_code );
259: END IF;
260:
261: IF ( p_x_association_tbl(1).object_type_code = 'OPERATION')

Line 258: AHL_DEBUG_PUB.debug( 'PRITHWI the aso object type code is '|| p_x_association_tbl(1).object_type_code );

254: END LOOP;
255:
256: IF G_DEBUG='Y' THEN
257: AHL_DEBUG_PUB.debug( 'AHL_DI_ASSO_DOC_GEN_PUB.PROCESS_ASSOCIATION is called');
258: AHL_DEBUG_PUB.debug( 'PRITHWI the aso object type code is '|| p_x_association_tbl(1).object_type_code );
259: END IF;
260:
261: IF ( p_x_association_tbl(1).object_type_code = 'OPERATION')
262: THEN

Line 264: AHL_DEBUG_PUB.debug( 'aso_object_type_code = OPERATION');

260:
261: IF ( p_x_association_tbl(1).object_type_code = 'OPERATION')
262: THEN
263: IF G_DEBUG='Y' THEN
264: AHL_DEBUG_PUB.debug( 'aso_object_type_code = OPERATION');
265: END IF;
266:
267: -- Check if the Route is existing and in Draft status
268: AHL_RM_ROUTE_UTIL.validate_operation_status

Line 297: AHL_DEBUG_PUB.debug( 'aso_object_type_code = ROUTE');

293:
294: ELSIF ( p_x_association_tbl(1).object_type_code = 'ROUTE')
295: THEN
296: IF G_DEBUG='Y' THEN
297: AHL_DEBUG_PUB.debug( 'aso_object_type_code = ROUTE');
298: END IF;
299:
300: -- Check if the Route is existing and in Draft status
301: AHL_RM_ROUTE_UTIL.validate_route_status

Line 343: AHL_DEBUG_PUB.disable_debug;

339:
340: -- Check if API is called in debug mode. If yes, disable debug.
341:
342: IF G_DEBUG='Y' THEN
343: AHL_DEBUG_PUB.disable_debug;
344: END IF;
345:
346: EXCEPTION
347: WHEN FND_API.G_EXC_ERROR THEN

Line 355: AHL_DEBUG_PUB.log_app_messages (x_msg_count, x_msg_data, 'UNEXPECTED ERROR' );

351: p_count => x_msg_count,
352: p_data => X_msg_data);
353: -- Debug info.
354: IF G_DEBUG='Y' THEN
355: AHL_DEBUG_PUB.log_app_messages (x_msg_count, x_msg_data, 'UNEXPECTED ERROR' );
356: AHL_DEBUG_PUB.debug( 'ahl_rm_asso_doc_aso_pub.Process Association');
357: AHL_DEBUG_PUB.disable_debug;
358: END IF;
359:

Line 356: AHL_DEBUG_PUB.debug( 'ahl_rm_asso_doc_aso_pub.Process Association');

352: p_data => X_msg_data);
353: -- Debug info.
354: IF G_DEBUG='Y' THEN
355: AHL_DEBUG_PUB.log_app_messages (x_msg_count, x_msg_data, 'UNEXPECTED ERROR' );
356: AHL_DEBUG_PUB.debug( 'ahl_rm_asso_doc_aso_pub.Process Association');
357: AHL_DEBUG_PUB.disable_debug;
358: END IF;
359:
360: WHEN OTHERS THEN

Line 357: AHL_DEBUG_PUB.disable_debug;

353: -- Debug info.
354: IF G_DEBUG='Y' THEN
355: AHL_DEBUG_PUB.log_app_messages (x_msg_count, x_msg_data, 'UNEXPECTED ERROR' );
356: AHL_DEBUG_PUB.debug( 'ahl_rm_asso_doc_aso_pub.Process Association');
357: AHL_DEBUG_PUB.disable_debug;
358: END IF;
359:
360: WHEN OTHERS THEN
361: ROLLBACK TO process_association;