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.3.12020000.2 2012/12/10 14:03:13 shnatu ship $ */
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 1800: AHL_DEBUG_PUB.enable_debug;

1796: END IF;
1797:
1798: -- Enable Debug (optional)
1799: IF ( G_DEBUG = 'Y' ) THEN
1800: AHL_DEBUG_PUB.enable_debug;
1801: END IF;
1802:
1803: IF G_DEBUG = 'Y' THEN
1804: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );

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

1800: AHL_DEBUG_PUB.enable_debug;
1801: END IF;
1802:
1803: IF G_DEBUG = 'Y' THEN
1804: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Begin API' );
1805: END IF;
1806:
1807: -- Validate all the inputs of the API
1808: validate_api_inputs

Line 1825: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Done validate_api_inputs' );

1821: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1822: END IF;
1823:
1824: IF G_DEBUG = 'Y' THEN
1825: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Done validate_api_inputs' );
1826: END IF;
1827: -- If the module type is JSP, then default values for ID columns of LOV attributes
1828: IF ( p_module_type = 'JSP' ) THEN
1829: FOR i IN 1..p_x_effectivity_detail_tbl.count LOOP

Line 1848: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Done clear_lov_attribute_ids and clear_ext_lov_attribute_ids' );

1844: END LOOP;
1845: END IF;
1846:
1847: IF G_DEBUG = 'Y' THEN
1848: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : Done clear_lov_attribute_ids and clear_ext_lov_attribute_ids' );
1849: END IF;
1850:
1851: -- Convert Values into Ids.
1852: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1886: END LOOP;
1887: END IF;
1888:
1889: IF G_DEBUG = 'Y' THEN
1890: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after convert_values_to_ids' );
1891: END IF;
1892:
1893: -- Default effectivity_detail attributes.
1894: IF FND_API.to_boolean( p_default ) THEN

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

1910: END LOOP;
1911: END IF;
1912:
1913: IF G_DEBUG = 'Y' THEN
1914: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_attributes' );
1915: END IF;
1916:
1917: -- Validate all attributes (Item level validation)
1918: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

1946: END LOOP;
1947: END IF;
1948:
1949: IF G_DEBUG = 'Y' THEN
1950: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_attributes' );
1951: END IF;
1952:
1953: -- Default missing and unchanged attributes.
1954: FOR i IN 1..p_x_effectivity_detail_tbl.count LOOP

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

1980: END IF;
1981: END LOOP;
1982:
1983: IF G_DEBUG = 'Y' THEN
1984: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after default_unchanged_attributes / default_missing_attributes' );
1985: END IF;
1986:
1987: -- Perform cross attribute validation and missing attribute checks (Record level validation)
1988: IF ( p_validation_level = FND_API.G_VALID_LEVEL_FULL ) THEN

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

2020: END LOOP;
2021: END IF;
2022:
2023: IF G_DEBUG = 'Y' THEN
2024: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_record' );
2025: END IF;
2026:
2027: -- Get all the error messages from the previous steps (if any) and raise the appropriate Exception
2028: l_msg_count := FND_MSG_PUB.count_msg;

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

2172:
2173: END LOOP;
2174:
2175: IF G_DEBUG = 'Y' THEN
2176: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after DML operation' );
2177: END IF;
2178:
2179:
2180: -- this check can only be done once all records are created/updated/deleted.

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

2391: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2392: END IF;
2393:
2394: IF G_DEBUG = 'Y' THEN
2395: AHL_DEBUG_PUB.debug( G_PKG_NAME || '.' || G_API_NAME || ' : after validate_records' );
2396: END IF;
2397:
2398: -- Perform the Commit (if requested)
2399: IF FND_API.to_boolean( p_commit ) THEN

Line 2413: AHL_DEBUG_PUB.disable_debug;

2409: );
2410:
2411: -- Disable debug (if enabled)
2412: IF ( G_DEBUG = 'Y' ) THEN
2413: AHL_DEBUG_PUB.disable_debug;
2414: END IF;
2415:
2416: EXCEPTION
2417:

Line 2430: AHL_DEBUG_PUB.disable_debug;

2426: );
2427:
2428: -- Disable debug (if enabled)
2429: IF ( G_DEBUG = 'Y' ) THEN
2430: AHL_DEBUG_PUB.disable_debug;
2431: END IF;
2432:
2433: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2434: ROLLBACK TO process_effectivity_detail_PVT;

Line 2445: AHL_DEBUG_PUB.disable_debug;

2441: );
2442:
2443: -- Disable debug (if enabled)
2444: IF ( G_DEBUG = 'Y' ) THEN
2445: AHL_DEBUG_PUB.disable_debug;
2446: END IF;
2447:
2448: WHEN OTHERS THEN
2449: ROLLBACK TO process_effectivity_detail_PVT;

Line 2469: AHL_DEBUG_PUB.disable_debug;

2465: );
2466:
2467: -- Disable debug (if enabled)
2468: IF ( G_DEBUG = 'Y' ) THEN
2469: AHL_DEBUG_PUB.disable_debug;
2470: END IF;
2471:
2472: END process_effectivity_detail;
2473: