804:
805: BEGIN
806:
807: /**********************************
808: * Standard Start of API savepoint *
809: **********************************/
810: SAVEPOINT CREATE_ACT_COST_ADJUSTMENT_PUB ;
811:
812: /*************************************************************
817: FND_MSG_PUB.initialize;
818: END IF;
819:
820: /*************************************************
821: * Standard call to check for call compatibility. *
822: *************************************************/
823: IF NOT FND_API.Compatible_API_Call
824: (
825: l_api_version,
898: FND_MSG_PUB.Add;
899: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
900: END IF;
901: /******************************
902: * Standard check of p_commit. *
903: ******************************/
904: IF FND_API.To_Boolean( p_commit )
905: THEN
906: COMMIT WORK;
905: THEN
906: COMMIT WORK;
907: END IF;
908: /**************************************************************************
909: * Standard call to get message count and if count is 1, get message info. *
910: **************************************************************************/
911: FND_MSG_PUB.Count_And_Get
912: (
913: p_count => x_msg_count,
1004:
1005: BEGIN
1006:
1007: /**********************************
1008: * Standard Start of API savepoint *
1009: **********************************/
1010: SAVEPOINT UPDATE_ACT_COST_ADJUSTMENT_PUB ;
1011:
1012: /*************************************************************
1017: FND_MSG_PUB.initialize;
1018: END IF;
1019:
1020: /*************************************************
1021: * Standard call to check for call compatibility. *
1022: *************************************************/
1023: IF NOT FND_API.Compatible_API_Call
1024: (
1025: l_api_version,
1101: FND_MSG_PUB.Add;
1102: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1103: END IF;
1104: /******************************
1105: * Standard check of p_commit. *
1106: ******************************/
1107: IF FND_API.To_Boolean( p_commit )
1108: THEN
1109: COMMIT WORK;
1108: THEN
1109: COMMIT WORK;
1110: END IF;
1111: /**************************************************************************
1112: * Standard call to get message count and if count is 1, get message info. *
1113: **************************************************************************/
1114: FND_MSG_PUB.Count_And_Get
1115: (
1116: p_count => x_msg_count,
1207:
1208: BEGIN
1209:
1210: /**********************************
1211: * Standard Start of API savepoint *
1212: **********************************/
1213: SAVEPOINT DELETE_ACT_COST_ADJUSTMENT_PUB ;
1214:
1215: /*************************************************************
1220: FND_MSG_PUB.initialize;
1221: END IF;
1222:
1223: /*************************************************
1224: * Standard call to check for call compatibility. *
1225: *************************************************/
1226: IF NOT FND_API.Compatible_API_Call
1227: (
1228: l_api_version,
1304: FND_MSG_PUB.Add;
1305: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1306: END IF;
1307: /******************************
1308: * Standard check of p_commit. *
1309: ******************************/
1310: IF FND_API.To_Boolean( p_commit )
1311: THEN
1312: COMMIT WORK;
1311: THEN
1312: COMMIT WORK;
1313: END IF;
1314: /**************************************************************************
1315: * Standard call to get message count and if count is 1, get message info. *
1316: **************************************************************************/
1317: FND_MSG_PUB.Count_And_Get
1318: (
1319: p_count => x_msg_count,
1417: FND_MSG_PUB.initialize;
1418: END IF;
1419:
1420: /*************************************************
1421: * Standard call to check for call compatibility. *
1422: *************************************************/
1423: IF NOT FND_API.Compatible_API_Call
1424: (
1425: l_api_version,
1493: add_record_to_error_stack ( p_adjustment_rec => p_adjustment_rec );
1494: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1495: END IF;
1496: /**************************************************************************
1497: * Standard call to get message count and if count is 1, get message info. *
1498: **************************************************************************/
1499: FND_MSG_PUB.Count_And_Get
1500: (
1501: p_count => x_msg_count,