84:
85: BEGIN
86:
87: --
88: -- Standard Start of API savepoint
89: --
90: SAVEPOINT Create_Rule;
91:
92: --
89: --
90: SAVEPOINT Create_Rule;
91:
92: --
93: -- Standard call to check for call compatibility.
94: --
95: IF NOT FND_API.Compatible_API_Call ( l_api_version,
96: p_api_version,
97: l_api_name,
532: END IF;
533: END IF;
534:
535:
536: -- Standard check of p_commit.
537: IF FND_API.To_Boolean( p_commit )
538: THEN
539: COMMIT WORK;
540: END IF;
538: THEN
539: COMMIT WORK;
540: END IF;
541:
542: -- Standard call to get message count and if count is 1, get message info.
543: FND_MSG_PUB.Count_And_Get
544: (p_count => x_msg_count,
545: p_data => x_msg_data
546: );
667:
668:
669: BEGIN
670:
671: -- Standard Start of API savepoint
672: SAVEPOINT Update_Rule;
673: -- Standard call to check for call compatibility.
674: IF NOT FND_API.Compatible_API_Call ( l_api_version,
675: p_api_version,
669: BEGIN
670:
671: -- Standard Start of API savepoint
672: SAVEPOINT Update_Rule;
673: -- Standard call to check for call compatibility.
674: IF NOT FND_API.Compatible_API_Call ( l_api_version,
675: p_api_version,
676: l_api_name,
677: G_PKG_NAME )
1197: END IF;
1198:
1199:
1200:
1201: -- Standard check of p_commit.
1202: IF FND_API.To_Boolean( p_commit )
1203: THEN
1204: COMMIT WORK;
1205: END IF;
1203: THEN
1204: COMMIT WORK;
1205: END IF;
1206:
1207: -- Standard call to get message count and if count is 1, get message info.
1208: FND_MSG_PUB.Count_And_Get
1209: (p_count => x_msg_count,
1210: p_data => x_msg_data
1211: );
1321:
1322: BEGIN
1323:
1324:
1325: -- Standard Start of API savepoint
1326: SAVEPOINT Delete_Rule;
1327: -- Standard call to check for call compatibility.
1328: IF NOT FND_API.Compatible_API_Call ( l_api_version,
1329: p_api_version,
1323:
1324:
1325: -- Standard Start of API savepoint
1326: SAVEPOINT Delete_Rule;
1327: -- Standard call to check for call compatibility.
1328: IF NOT FND_API.Compatible_API_Call ( l_api_version,
1329: p_api_version,
1330: l_api_name,
1331: G_PKG_NAME )
1600: END IF;
1601:
1602:
1603:
1604: -- Standard check of p_commit.
1605: IF FND_API.To_Boolean( p_commit )
1606: THEN
1607: COMMIT WORK;
1608: END IF;
1606: THEN
1607: COMMIT WORK;
1608: END IF;
1609:
1610: -- Standard call to get message count and if count is 1, get message info.
1611: FND_MSG_PUB.Count_And_Get
1612: (p_count => x_msg_count,
1613: p_data => x_msg_data
1614: );