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.0.12010000.2 2008/10/24 07:21:06 pdoki 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 950: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Inside validate_records procedure');

946: p_bom_resource_tbl.COUNT = 0) THEN
947: FND_MESSAGE.set_name( 'AHL', 'AHL_RM_BOM_RES_COUNT_ZERO' );
948: FND_MSG_PUB.add;
949: IF G_DEBUG = 'Y' THEN
950: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Inside validate_records procedure');
951: END IF;
952: RAISE FND_API.G_EXC_ERROR;
953: END IF;
954: END validate_records;

Line 1228: AHL_DEBUG_PUB.enable_debug;

1224: FND_MSG_PUB.initialize;
1225: END IF;
1226:
1227: IF G_DEBUG = 'Y' THEN
1228: AHL_DEBUG_PUB.enable_debug;
1229: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
1230: END IF;
1231:
1232: -- Validate all the inputs of the API

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

1225: END IF;
1226:
1227: IF G_DEBUG = 'Y' THEN
1228: AHL_DEBUG_PUB.enable_debug;
1229: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
1230: END IF;
1231:
1232: -- Validate all the inputs of the API
1233: validate_api_inputs

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

1236: p_bom_resource_tbl => p_x_bom_resource_tbl
1237: );
1238:
1239: IF G_DEBUG = 'Y' THEN
1240: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_api_inputs' );
1241: END IF;
1242:
1243: -- If the module type is JSP, then default values for ID columns of LOV attributes
1244: IF ( p_module_type = 'JSP' ) THEN

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

1258: );
1259: END IF;
1260:
1261: IF G_DEBUG = 'Y' THEN
1262: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
1263: END IF;
1264:
1265: -- Default aso_resource attributes.
1266: IF FND_API.to_boolean( p_default ) THEN

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

1273: END IF;
1274: END IF;
1275:
1276: IF G_DEBUG = 'Y' THEN
1277: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );
1278: END IF;
1279:
1280: -- Validate all attributes (Item level validation)
1281: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1286: );
1287: END IF;
1288:
1289: IF G_DEBUG = 'Y' THEN
1290: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
1291: END IF;
1292:
1293: -- Default missing and unchanged attributes.
1294: IF ( p_x_aso_resource_rec.dml_operation = 'C' ) THEN

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

1321: END IF;
1322: END IF;
1323:
1324: IF G_DEBUG = 'Y' THEN
1325: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
1326: END IF;
1327:
1328: -- Validate records (Across records validation)
1329: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1345: );
1346: END IF;
1347:
1348: IF G_DEBUG = 'Y' THEN
1349: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records' );
1350: END IF;
1351:
1352: -- Perform the DML statement directly.
1353: IF ( p_x_aso_resource_rec.dml_operation = 'C' ) THEN

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

1652: END IF;
1653: END IF;
1654:
1655: IF G_DEBUG = 'Y' THEN
1656: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
1657: END IF;
1658:
1659: -- Perform the cross records validation after DML operation
1660: IF p_x_aso_resource_rec.DML_OPERATION <> 'D' THEN

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

1658:
1659: -- Perform the cross records validation after DML operation
1660: IF p_x_aso_resource_rec.DML_OPERATION <> 'D' THEN
1661: IF G_DEBUG = 'Y' THEN
1662: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : just before validate_bom_records.' );
1663: END IF;
1664: validate_bom_records (p_x_aso_resource_rec.RESOURCE_ID);
1665: END IF;
1666:

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

1664: validate_bom_records (p_x_aso_resource_rec.RESOURCE_ID);
1665: END IF;
1666:
1667: IF G_DEBUG = 'Y' THEN
1668: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : The last cross records validation was processed after DML operation' );
1669: END IF;
1670:
1671: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
1672: l_msg_count := FND_MSG_PUB.count_msg;

Line 1693: AHL_DEBUG_PUB.disable_debug;

1689: );
1690:
1691: -- Disable debug (if enabled)
1692: IF G_DEBUG = 'Y' THEN
1693: AHL_DEBUG_PUB.disable_debug;
1694: END IF;
1695: EXCEPTION
1696: WHEN FND_API.G_EXC_ERROR THEN
1697: ROLLBACK TO PROCESS_ASO_RESOURCE_PVT;

Line 1707: AHL_DEBUG_PUB.disable_debug;

1703: p_data => x_msg_data
1704: );
1705: -- Disable debug (if enabled)
1706: IF G_DEBUG = 'Y' THEN
1707: AHL_DEBUG_PUB.disable_debug;
1708: END IF;
1709:
1710: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1711: ROLLBACK TO process_aso_resource_PVT;

Line 1722: AHL_DEBUG_PUB.disable_debug;

1718: );
1719:
1720: -- Disable debug (if enabled)
1721: IF G_DEBUG = 'Y' THEN
1722: AHL_DEBUG_PUB.disable_debug;
1723: END IF;
1724:
1725: WHEN OTHERS THEN
1726: ROLLBACK TO process_aso_resource_PVT;

Line 1746: AHL_DEBUG_PUB.disable_debug;

1742: );
1743:
1744: -- Disable debug (if enabled)
1745: IF G_DEBUG = 'Y' THEN
1746: AHL_DEBUG_PUB.disable_debug;
1747: END IF;
1748:
1749: END process_aso_resource;
1750: