36: -- the group is a toplevel group; Also this group itself
37: -- should exist
38: -- Parameters :
39: -- IN : p_api_version IN NUMBER Required
40: -- Description Standard API parameter which states
41: -- the api version; used to check
42: -- compatibility of calling code
43: -- p_init_msg_list IN VARCHAR2 Optional
44: -- Default = FND_API.G_FALSE
41: -- the api version; used to check
42: -- compatibility of calling code
43: -- p_init_msg_list IN VARCHAR2 Optional
44: -- Default = FND_API.G_FALSE
45: -- Description Standard API parameter which
46: -- specifies whether message stack
47: -- should be re-initialized
48: -- p_commit IN VARCHAR2 Optional
49: -- Default = FND_API.G_FALSE
46: -- specifies whether message stack
47: -- should be re-initialized
48: -- p_commit IN VARCHAR2 Optional
49: -- Default = FND_API.G_FALSE
50: -- Description Standard API parameter; specifies
51: -- whether a commit should be issued
52: -- on successful completion of
53: -- transaction
54: -- p_validation_level IN NUMBER Optional
52: -- on successful completion of
53: -- transaction
54: -- p_validation_level IN NUMBER Optional
55: -- Default = FND_API.G_VALID_LEVEL_FULL
56: -- Description Standard API parameter; specifies
57: -- validation level
58: -- IMPORTANT: USE DEFAULT
59: -- p_comp_group_rec IN comp_group_rec_type Required
60: -- Description The record containing the
116: l_group_number jtf_rs_groups_b.group_number%TYPE;
117: l_parent_group_number jtf_rs_groups_b.group_number%TYPE;
118:
119: BEGIN
120: -- Standard Start of API savepoint
121: SAVEPOINT Move_Group_PUB;
122: -- Standard call to check for call compatibility.
123: IF NOT FND_API.Compatible_API_Call (
124: l_api_version ,
118:
119: BEGIN
120: -- Standard Start of API savepoint
121: SAVEPOINT Move_Group_PUB;
122: -- Standard call to check for call compatibility.
123: IF NOT FND_API.Compatible_API_Call (
124: l_api_version ,
125: p_api_version ,
126: l_api_name ,
184:
185: --return success
186: assign_errormessage('CN_MOVED');
187: -- End of API body.
188: -- Standard check of p_commit.
189: IF FND_API.To_Boolean( p_commit ) THEN
190: COMMIT WORK;
191: END IF;
192: -- Standard call to get message count and if count is 1, get message info.
188: -- Standard check of p_commit.
189: IF FND_API.To_Boolean( p_commit ) THEN
190: COMMIT WORK;
191: END IF;
192: -- Standard call to get message count and if count is 1, get message info.
193: FND_MSG_PUB.Count_And_get(
194: p_count => x_msg_count ,
195: p_data => x_msg_data );
196: EXCEPTION