79: ORDER BY start_date;
80:
81: l_ruleset ruleset_cr%ROWTYPE;
82: BEGIN
83: -- Standard Start of API savepoint
84: SAVEPOINT classify_batch;
85: -- Standard call to check for call compatibility.
86: IF NOT FND_API.Compatible_API_Call ( l_api_version ,
87: p_api_version ,
81: l_ruleset ruleset_cr%ROWTYPE;
82: BEGIN
83: -- Standard Start of API savepoint
84: SAVEPOINT classify_batch;
85: -- Standard call to check for call compatibility.
86: IF NOT FND_API.Compatible_API_Call ( l_api_version ,
87: p_api_version ,
88: l_api_name ,
89: G_PKG_NAME )
322: END LOOP; -- end of transaction loop
323: END; -- end of one ruleset
324: END LOOP;
325:
326: -- Standard check of p_commit.
327: IF FND_API.To_Boolean( p_commit ) THEN
328: COMMIT WORK;
329: END IF;
330:
327: IF FND_API.To_Boolean( p_commit ) THEN
328: COMMIT WORK;
329: END IF;
330:
331: -- Standard call to get message count and if count is 1, get message info.
332: FND_MSG_PUB.Count_And_Get
333: ( p_count => x_msg_count ,
334: p_data => x_msg_data ,
335: p_encoded => FND_API.G_FALSE