1427:
1428:
1429:
1430: BEGIN
1431: -- Standard start of API savepoint
1432: IF FND_API.To_Boolean(p_transaction_control) THEN
1433: SAVEPOINT Create_Cost_Details_PVT;
1434: END IF ;
1435: -- Standard call to check for call compatibility
1431: -- Standard start of API savepoint
1432: IF FND_API.To_Boolean(p_transaction_control) THEN
1433: SAVEPOINT Create_Cost_Details_PVT;
1434: END IF ;
1435: -- Standard call to check for call compatibility
1436: IF NOT FND_API.Compatible_API_Call(l_api_version,
1437: p_api_version,
1438: l_api_name,
1439: G_PKG_NAME) THEN
2179: AND ood.organization_id = l_cost_inv_org_id;
2180:
2181:
2182: BEGIN
2183: -- Standard start of API savepoint
2184: IF FND_API.To_Boolean(p_transaction_control) THEN
2185: SAVEPOINT Update_Cost_Details_PVT;
2186: END IF ;
2187: -- Standard call to check for call compatibility
2183: -- Standard start of API savepoint
2184: IF FND_API.To_Boolean(p_transaction_control) THEN
2185: SAVEPOINT Update_Cost_Details_PVT;
2186: END IF ;
2187: -- Standard call to check for call compatibility
2188: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
2189: THEN
2190: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2191: END IF;
2700: );
2701:
2702:
2703:
2704: -- Standard check of p_commit
2705: IF FND_API.To_Boolean(p_commit) THEN
2706: COMMIT ;
2707:
2708: END IF;
2706: COMMIT ;
2707:
2708: END IF;
2709:
2710: -- Standard call to get message count and if count is 1, get message info
2711: FND_MSG_PUB.Count_And_Get
2712: ( p_count => x_msg_count,
2713: p_data => x_msg_data
2714: );
2801: l_valid_check VARCHAR2(1);
2802:
2803: BEGIN
2804:
2805: --Standard Start of API Savepoint
2806: IF FND_API.To_Boolean( p_transaction_control ) THEN
2807: SAVEPOINT Delete_Cost_Details_PVT ;
2808: END IF ;
2809: --Standard Call to check API compatibility
2805: --Standard Start of API Savepoint
2806: IF FND_API.To_Boolean( p_transaction_control ) THEN
2807: SAVEPOINT Delete_Cost_Details_PVT ;
2808: END IF ;
2809: --Standard Call to check API compatibility
2810: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
2811: THEN
2812: RAISE FND_API.G_EXC_UNEXPECTED_ERROR ;
2813: END IF ;
2918: delete from cs_cost_details where
2919: cost_id = p_cost_id;
2920:
2921: --End of API Body
2922: --Standard Check of p_commit
2923: IF FND_API.To_Boolean( p_commit ) THEN
2924: COMMIT WORK ;
2925: END IF ;
2926:
2923: IF FND_API.To_Boolean( p_commit ) THEN
2924: COMMIT WORK ;
2925: END IF ;
2926:
2927: --Standard call to get message count and if count is 1 , get message info
2928: FND_MSG_PUB.Count_And_Get(p_count =>x_msg_count,
2929: p_data => x_msg_data) ;
2930:
2931: --Begin Exception Handling
4441:
4442: --------------------------------------------------------------------------------
4443: -- Procedure Name : PURGE_COST
4444: --
4445: -- Parameters (other than standard ones)
4446: -- IN
4447: -- p_object_type : Type of object for which this procedure is
4448: -- being called. (Here it will be 'SR')
4449: -- p_processing_set_id : Id that helps the API in identifying the