759:
760: BEGIN
761:
762: /**********************************
763: * Standard Start of API savepoint *
764: **********************************/
765: SAVEPOINT CREATE_ACT_COST_ADJUSTMENT_PUB ;
766:
767: /*************************************************************
771: FND_MSG_PUB.initialize;
772: END IF;
773:
774: /*************************************************
775: * Standard call to check for call compatibility. *
776: *************************************************/
777: IF NOT FND_API.Compatible_API_Call
778: (
779: l_api_version,
846: FND_MSG_PUB.Add;
847: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
848: END IF;
849: /******************************
850: * Standard check of p_commit. *
851: ******************************/
852: IF FND_API.To_Boolean( p_commit ) THEN
853: COMMIT WORK;
854: END IF;
852: IF FND_API.To_Boolean( p_commit ) THEN
853: COMMIT WORK;
854: END IF;
855: /**************************************************************************
856: * Standard call to get message count and if count is 1, get message info. *
857: **************************************************************************/
858: FND_MSG_PUB.Count_And_Get
859: (
860: p_count => x_msg_count,
951:
952: BEGIN
953:
954: /**********************************
955: * Standard Start of API savepoint *
956: **********************************/
957: SAVEPOINT UPDATE_ACT_COST_ADJUSTMENT_PUB ;
958:
959: /*************************************************************
963: FND_MSG_PUB.initialize;
964: END IF;
965:
966: /*************************************************
967: * Standard call to check for call compatibility. *
968: *************************************************/
969: IF NOT FND_API.Compatible_API_Call
970: (
971: l_api_version,
1039: FND_MSG_PUB.Add;
1040: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1041: END IF;
1042: /******************************
1043: * Standard check of p_commit. *
1044: ******************************/
1045: IF FND_API.To_Boolean( p_commit ) THEN
1046: COMMIT WORK;
1047: END IF;
1045: IF FND_API.To_Boolean( p_commit ) THEN
1046: COMMIT WORK;
1047: END IF;
1048: /**************************************************************************
1049: * Standard call to get message count and if count is 1, get message info. *
1050: **************************************************************************/
1051: FND_MSG_PUB.Count_And_Get
1052: (
1053: p_count => x_msg_count,
1144:
1145: BEGIN
1146:
1147: /**********************************
1148: * Standard Start of API savepoint *
1149: **********************************/
1150: SAVEPOINT DELETE_ACT_COST_ADJUSTMENT_PUB ;
1151:
1152: /*************************************************************
1156: FND_MSG_PUB.initialize;
1157: END IF;
1158:
1159: /*************************************************
1160: * Standard call to check for call compatibility. *
1161: *************************************************/
1162: IF NOT FND_API.Compatible_API_Call
1163: (
1164: l_api_version,
1231: FND_MSG_PUB.Add;
1232: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1233: END IF;
1234: /******************************
1235: * Standard check of p_commit. *
1236: ******************************/
1237: IF FND_API.To_Boolean( p_commit ) THEN
1238: COMMIT WORK;
1239: END IF;
1237: IF FND_API.To_Boolean( p_commit ) THEN
1238: COMMIT WORK;
1239: END IF;
1240: /**************************************************************************
1241: * Standard call to get message count and if count is 1, get message info. *
1242: **************************************************************************/
1243: FND_MSG_PUB.Count_And_Get
1244: (
1245: p_count => x_msg_count,
1342: FND_MSG_PUB.initialize;
1343: END IF;
1344:
1345: /*************************************************
1346: * Standard call to check for call compatibility. *
1347: *************************************************/
1348: IF NOT FND_API.Compatible_API_Call
1349: (
1350: l_api_version,
1412: add_record_to_error_stack ( p_adjustment_rec => p_adjustment_rec );
1413: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1414: END IF;
1415: /**************************************************************************
1416: * Standard call to get message count and if count is 1, get message info. *
1417: **************************************************************************/
1418: FND_MSG_PUB.Count_And_Get
1419: (
1420: p_count => x_msg_count,