74:
75: BEGIN
76:
77: --
78: -- Standard Start of API savepoint
79: --
80: SAVEPOINT Create_Ruleset;
81:
82: --
79: --
80: SAVEPOINT Create_Ruleset;
81:
82: --
83: -- Standard call to check for call compatibility.
84: --
85: IF NOT FND_API.Compatible_API_Call ( l_api_version,
86: p_api_version,
87: l_api_name,
394: END IF;
395:
396:
397:
398: -- Standard check of p_commit.
399: IF FND_API.To_Boolean( p_commit )
400: THEN
401:
402: COMMIT WORK;
403: END IF;
404:
405:
406: --
407: -- Standard call to get message count and if count is 1, get message info.
408: --
409:
410: FND_MSG_PUB.Count_And_Get
411: (
514:
515:
516: BEGIN
517:
518: -- Standard Start of API savepoint
519: SAVEPOINT Update_Ruleset;
520: -- Standard call to check for call compatibility.
521: IF NOT FND_API.Compatible_API_Call ( l_api_version,
522: p_api_version,
516: BEGIN
517:
518: -- Standard Start of API savepoint
519: SAVEPOINT Update_Ruleset;
520: -- Standard call to check for call compatibility.
521: IF NOT FND_API.Compatible_API_Call ( l_api_version,
522: p_api_version,
523: l_api_name,
524: G_PKG_NAME )
871: END IF;
872:
873:
874:
875: -- Standard check of p_commit.
876: IF FND_API.To_Boolean( p_commit )
877: THEN
878: COMMIT WORK;
879: END IF;
878: COMMIT WORK;
879: END IF;
880:
881:
882: -- Standard call to get message count and if count is 1, get message info.
883: FND_MSG_PUB.Count_And_Get
884: (p_count => x_msg_count,
885: p_data => x_msg_data
886: );