DBA Data[Home] [Help]

APPS.AHL_RM_PROD_ZONE_AS_PVT dependencies on AHL_DEBUG_PUB

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

2: /* $Header: AHLVAPMB.pls 115.31 2004/05/19 16:16:50 bachandr noship $ */
3:
4: G_PKG_NAME VARCHAR2(30) := 'AHL_RM_PROD_ZONE_AS_PVT';
5: G_API_NAME VARCHAR2(30) := 'PROCESS_PROD_ZONE_AS';
6: G_DEBUG VARCHAR2(1) := NVL(AHL_DEBUG_PUB.is_log_enabled,'N');
7:
8: -- Function to get the Record Identifier for Error Messages
9: FUNCTION get_record_identifier
10: (

Line 790: AHL_DEBUG_PUB.enable_debug;

786: FND_MSG_PUB.initialize;
787: END IF;
788:
789: IF G_DEBUG = 'Y' THEN
790: AHL_DEBUG_PUB.enable_debug;
791: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
792: END IF;
793:
794: -- Validate all the inputs of the API

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

787: END IF;
788:
789: IF G_DEBUG = 'Y' THEN
790: AHL_DEBUG_PUB.enable_debug;
791: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
792: END IF;
793:
794: -- Validate all the inputs of the API
795: validate_api_inputs

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

838: END LOOP;
839: END IF;
840:
841: IF G_DEBUG = 'Y' THEN
842: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
843: END IF;
844:
845: -- Default prod_zone_as attributes.
846: IF FND_API.to_boolean( p_default ) THEN

Line 858: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );

854: END LOOP;
855: END IF;
856:
857: IF G_DEBUG = 'Y' THEN
858: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );
859: END IF;
860:
861: -- Validate all attributes (Item level validation)
862: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

878: END LOOP;
879: END IF;
880:
881: IF G_DEBUG = 'Y' THEN
882: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
883: END IF;
884:
885: -- Default missing and unchanged attributes.
886: FOR i IN 1..p_x_prod_zone_as_tbl.count LOOP

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

897: END IF;
898: END LOOP;
899:
900: IF G_DEBUG = 'Y' THEN
901: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
902: END IF;
903:
904: -- Perform cross attribute validation and missing attribute checks (Record level validation)
905:

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

923: END LOOP;
924: END IF;
925:
926: IF G_DEBUG = 'Y' THEN
927: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_record' );
928: END IF;
929:
930: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
931: l_msg_count := FND_MSG_PUB.count_msg;

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

1108: END IF;
1109: END LOOP;
1110:
1111: IF G_DEBUG = 'Y' THEN
1112: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
1113: END IF;
1114:
1115: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
1116: l_msg_count := FND_MSG_PUB.count_msg;

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

1133: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1134: END IF;
1135:
1136: IF G_DEBUG = 'Y' THEN
1137: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records' );
1138: END IF;
1139:
1140: -- Perform the Commit (if requested)
1141: IF FND_API.to_boolean( p_commit ) THEN

Line 1155: AHL_DEBUG_PUB.disable_debug;

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

Line 1170: AHL_DEBUG_PUB.disable_debug;

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

Line 1185: AHL_DEBUG_PUB.disable_debug;

1181: );
1182:
1183: -- Disable debug (if enabled)
1184: IF G_DEBUG = 'Y' THEN
1185: AHL_DEBUG_PUB.disable_debug;
1186: END IF;
1187:
1188: WHEN OTHERS THEN
1189: ROLLBACK TO process_prod_zone_as_pvt;

Line 1209: AHL_DEBUG_PUB.disable_debug;

1205: );
1206:
1207: -- Disable debug (if enabled)
1208: IF G_DEBUG = 'Y' THEN
1209: AHL_DEBUG_PUB.disable_debug;
1210: END IF;
1211:
1212: END process_prod_zone_as;
1213: