DBA Data[Home] [Help]

APPS.AHL_RM_ASO_RESOURCE_PVT dependencies on AHL_DEBUG_PUB

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

2: /* $Header: AHLVASRB.pls 120.4.12020000.2 2012/12/11 03:18:14 prakkum ship $ */
3:
4: G_PKG_NAME VARCHAR2(30) := 'AHL_RM_ASO_RESOURCE_PVT';
5: G_API_NAME VARCHAR2(30) := 'PROCESS_ASO_RESOURCE';
6: G_DEBUG VARCHAR2(1) := NVL(AHL_DEBUG_PUB.is_log_enabled,'N');
7:
8: -- Procedure to validate the Inputs of the API
9:
10: PROCEDURE validate_api_inputs

Line 965: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Inside validate_records procedure');

961: p_bom_resource_tbl.COUNT = 0) THEN
962: FND_MESSAGE.set_name( 'AHL', 'AHL_RM_BOM_RES_COUNT_ZERO' );
963: FND_MSG_PUB.add;
964: IF G_DEBUG = 'Y' THEN
965: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Inside validate_records procedure');
966: END IF;
967: RAISE FND_API.G_EXC_ERROR;
968: END IF;
969: END validate_records;

Line 1307: AHL_DEBUG_PUB.enable_debug;

1303: FND_MSG_PUB.initialize;
1304: END IF;
1305:
1306: IF G_DEBUG = 'Y' THEN
1307: AHL_DEBUG_PUB.enable_debug;
1308: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
1309: END IF;
1310:
1311: -- Validate all the inputs of the API

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

1304: END IF;
1305:
1306: IF G_DEBUG = 'Y' THEN
1307: AHL_DEBUG_PUB.enable_debug;
1308: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
1309: END IF;
1310:
1311: -- Validate all the inputs of the API
1312: validate_api_inputs

Line 1319: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_api_inputs' );

1315: p_bom_resource_tbl => p_x_bom_resource_tbl
1316: );
1317:
1318: IF G_DEBUG = 'Y' THEN
1319: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_api_inputs' );
1320: END IF;
1321:
1322: -- If the module type is JSP, then default values for ID columns of LOV attributes
1323: IF ( p_module_type = 'JSP' ) THEN

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

1337: );
1338: END IF;
1339:
1340: IF G_DEBUG = 'Y' THEN
1341: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
1342: END IF;
1343:
1344: -- Default aso_resource attributes.
1345: IF FND_API.to_boolean( p_default ) THEN

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

1352: END IF;
1353: END IF;
1354:
1355: IF G_DEBUG = 'Y' THEN
1356: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );
1357: END IF;
1358:
1359: -- Validate all attributes (Item level validation)
1360: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1365: );
1366: END IF;
1367:
1368: IF G_DEBUG = 'Y' THEN
1369: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
1370: END IF;
1371:
1372: -- Default missing and unchanged attributes.
1373: IF ( p_x_aso_resource_rec.dml_operation = 'C' ) THEN

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

1400: END IF;
1401: END IF;
1402:
1403: IF G_DEBUG = 'Y' THEN
1404: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
1405: END IF;
1406:
1407: -- Validate records (Across records validation)
1408: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1424: );
1425: END IF;
1426:
1427: IF G_DEBUG = 'Y' THEN
1428: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records' );
1429: END IF;
1430:
1431: -- Perform the DML statement directly.
1432: IF ( p_x_aso_resource_rec.dml_operation = 'C' ) THEN

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

1735: END IF;
1736: END IF;
1737:
1738: IF G_DEBUG = 'Y' THEN
1739: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
1740: END IF;
1741:
1742: -- Perform the cross records validation after DML operation
1743: IF p_x_aso_resource_rec.DML_OPERATION <> 'D' THEN

Line 1745: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : just before validate_bom_records.' );

1741:
1742: -- Perform the cross records validation after DML operation
1743: IF p_x_aso_resource_rec.DML_OPERATION <> 'D' THEN
1744: IF G_DEBUG = 'Y' THEN
1745: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : just before validate_bom_records.' );
1746: END IF;
1747: validate_bom_records (p_x_aso_resource_rec.RESOURCE_ID);
1748: END IF;
1749:

Line 1751: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : The last cross records validation was processed after DML operation' );

1747: validate_bom_records (p_x_aso_resource_rec.RESOURCE_ID);
1748: END IF;
1749:
1750: IF G_DEBUG = 'Y' THEN
1751: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : The last cross records validation was processed after DML operation' );
1752: END IF;
1753:
1754: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
1755: l_msg_count := FND_MSG_PUB.count_msg;

Line 1776: AHL_DEBUG_PUB.disable_debug;

1772: );
1773:
1774: -- Disable debug (if enabled)
1775: IF G_DEBUG = 'Y' THEN
1776: AHL_DEBUG_PUB.disable_debug;
1777: END IF;
1778: EXCEPTION
1779: WHEN FND_API.G_EXC_ERROR THEN
1780: ROLLBACK TO PROCESS_ASO_RESOURCE_PVT;

Line 1790: AHL_DEBUG_PUB.disable_debug;

1786: p_data => x_msg_data
1787: );
1788: -- Disable debug (if enabled)
1789: IF G_DEBUG = 'Y' THEN
1790: AHL_DEBUG_PUB.disable_debug;
1791: END IF;
1792:
1793: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1794: ROLLBACK TO process_aso_resource_PVT;

Line 1805: AHL_DEBUG_PUB.disable_debug;

1801: );
1802:
1803: -- Disable debug (if enabled)
1804: IF G_DEBUG = 'Y' THEN
1805: AHL_DEBUG_PUB.disable_debug;
1806: END IF;
1807:
1808: WHEN OTHERS THEN
1809: ROLLBACK TO process_aso_resource_PVT;

Line 1829: AHL_DEBUG_PUB.disable_debug;

1825: );
1826:
1827: -- Disable debug (if enabled)
1828: IF G_DEBUG = 'Y' THEN
1829: AHL_DEBUG_PUB.disable_debug;
1830: END IF;
1831:
1832: END process_aso_resource;
1833: