DBA Data[Home] [Help]

APPS.AHL_FMP_EFFECTIVITY_DTL_PVT dependencies on AHL_DEBUG_PUB

Line 6: G_DEBUG VARCHAR2(1) :=AHL_DEBUG_PUB.is_log_enabled;

2: /* $Header: AHLVMEDB.pls 120.0 2005/05/26 00:56:05 appldev noship $ */
3:
4: G_PKG_NAME VARCHAR2(30) := 'AHL_FMP_EFFECTIVITY_DTL_PVT';
5: G_API_NAME VARCHAR2(30) := 'PROCESS_EFFECTIVITY_DETAIL';
6: G_DEBUG VARCHAR2(1) :=AHL_DEBUG_PUB.is_log_enabled;
7: G_APPLN_USAGE VARCHAR2(30) :=LTRIM(RTRIM(FND_PROFILE.value('AHL_APPLN_USAGE')));
8:
9:
10: -- Function to get the Record Identifier for Error Messages

Line 955: AHL_DEBUG_PUB.enable_debug;

951: END IF;
952:
953: -- Enable Debug (optional)
954: IF ( G_DEBUG = 'Y' ) THEN
955: AHL_DEBUG_PUB.enable_debug;
956: END IF;
957:
958: IF G_DEBUG = 'Y' THEN
959: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );

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

955: AHL_DEBUG_PUB.enable_debug;
956: END IF;
957:
958: IF G_DEBUG = 'Y' THEN
959: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
960: END IF;
961:
962: -- Validate all the inputs of the API
963: validate_api_inputs

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

1008: END LOOP;
1009: END IF;
1010:
1011: IF G_DEBUG = 'Y' THEN
1012: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
1013: END IF;
1014:
1015: -- Default effectivity_detail attributes.
1016: IF FND_API.to_boolean( p_default ) THEN

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

1024: END LOOP;
1025: END IF;
1026:
1027: IF G_DEBUG = 'Y' THEN
1028: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );
1029: END IF;
1030:
1031: -- Validate all attributes (Item level validation)
1032: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1046: END LOOP;
1047: END IF;
1048:
1049: IF G_DEBUG = 'Y' THEN
1050: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
1051: END IF;
1052:
1053: -- Default missing and unchanged attributes.
1054: FOR i IN 1..p_x_effectivity_detail_tbl.count LOOP

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

1065: END IF;
1066: END LOOP;
1067:
1068: IF G_DEBUG = 'Y' THEN
1069: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
1070: END IF;
1071:
1072: -- Perform cross attribute validation and missing attribute checks (Record level validation)
1073: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

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

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

1241:
1242: END LOOP;
1243:
1244: IF G_DEBUG = 'Y' THEN
1245: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
1246: END IF;
1247:
1248:
1249: -- this check can only be done once all records are created/updated/deleted.

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

1323: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1324: END IF;
1325:
1326: IF G_DEBUG = 'Y' THEN
1327: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records' );
1328: END IF;
1329:
1330: -- Perform the Commit (if requested)
1331: IF FND_API.to_boolean( p_commit ) THEN

Line 1345: AHL_DEBUG_PUB.disable_debug;

1341: );
1342:
1343: -- Disable debug (if enabled)
1344: IF ( G_DEBUG = 'Y' ) THEN
1345: AHL_DEBUG_PUB.disable_debug;
1346: END IF;
1347:
1348: EXCEPTION
1349:

Line 1362: AHL_DEBUG_PUB.disable_debug;

1358: );
1359:
1360: -- Disable debug (if enabled)
1361: IF ( G_DEBUG = 'Y' ) THEN
1362: AHL_DEBUG_PUB.disable_debug;
1363: END IF;
1364:
1365: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1366: ROLLBACK TO process_effectivity_detail_PVT;

Line 1377: AHL_DEBUG_PUB.disable_debug;

1373: );
1374:
1375: -- Disable debug (if enabled)
1376: IF ( G_DEBUG = 'Y' ) THEN
1377: AHL_DEBUG_PUB.disable_debug;
1378: END IF;
1379:
1380: WHEN OTHERS THEN
1381: ROLLBACK TO process_effectivity_detail_PVT;

Line 1401: AHL_DEBUG_PUB.disable_debug;

1397: );
1398:
1399: -- Disable debug (if enabled)
1400: IF ( G_DEBUG = 'Y' ) THEN
1401: AHL_DEBUG_PUB.disable_debug;
1402: END IF;
1403:
1404: END process_effectivity_detail;
1405: