41:
42:
43: BEGIN
44:
45: -- Standard Start of API Savepoint
46:
47: IF FND_API.To_Boolean(p_transaction_control) THEN
48: SAVEPOINT Create_Cost_Details_PUB ;
49: END IF ;
47: IF FND_API.To_Boolean(p_transaction_control) THEN
48: SAVEPOINT Create_Cost_Details_PUB ;
49: END IF ;
50:
51: -- Standard Call to check API compatibility
52: IF NOT FND_API.Compatible_API_Call( l_api_version,
53: p_api_version,
54: l_api_name,
55: G_PKG_NAME) THEN
174: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
175: END IF;
176:
177:
178: --standard Check of p_commit bharahti
179: IF FND_API.To_Boolean( p_commit ) THEN
180: COMMIT WORK ;
181: END IF ;
182:
179: IF FND_API.To_Boolean( p_commit ) THEN
180: COMMIT WORK ;
181: END IF ;
182:
183: --Standard call to get message count and if count is 1 , get message info
184: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
185: p_data => x_msg_data,
186: p_encoded => FND_API.G_FALSE) ;
187:
281: IF FND_API.To_Boolean( p_transaction_control ) THEN
282: SAVEPOINT update_cost_details_pub ;
283: END IF ;
284:
285: --Standard Call to check API compatibility
286: IF NOT FND_API.Compatible_API_Call(l_api_version,
287: p_api_version,
288: l_api_name,
289: G_PKG_NAME )THEN
396: );
397: END IF;
398:
399:
400: --standard Check of p_commit
401: IF FND_API.To_Boolean( p_commit ) THEN
402: COMMIT WORK ;
403: END IF ;
404:
401: IF FND_API.To_Boolean( p_commit ) THEN
402: COMMIT WORK ;
403: END IF ;
404:
405: --Standard call to get message count and if count is 1 , get message info
406: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
407: p_data => x_msg_data,
408: p_encoded => FND_API.G_FALSE) ;
409:
489:
490:
491:
492: BEGIN
493: -- Standard Start of API Savepoint
494: IF FND_API.To_Boolean( p_transaction_control ) THEN
495: SAVEPOINT Delete_Cost_Details_PUB ;
496: END IF ;
497:
494: IF FND_API.To_Boolean( p_transaction_control ) THEN
495: SAVEPOINT Delete_Cost_Details_PUB ;
496: END IF ;
497:
498: -- Standard Call to check API compatibility
499: IF NOT FND_API.Compatible_API_Call(l_api_version,
500: p_api_version,
501: l_api_name,
502: G_PKG_NAME ) THEN
581: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
582: END IF;
583:
584:
585: --standard Check of p_commit
586: IF FND_API.To_Boolean( p_commit ) THEN
587: COMMIT ;
588: END IF ;
589:
586: IF FND_API.To_Boolean( p_commit ) THEN
587: COMMIT ;
588: END IF ;
589:
590: --Standard call to get message count and if count is 1 , get message info
591: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
592: p_data => x_msg_data,
593: p_encoded => FND_API.G_FALSE) ;
594: