DBA Data[Home] [Help]

APPS.GMD_RECIPE_HEADER dependencies on FND_MSG_PUB

Line 81: FND_MSG_PUB.initialize;

77: END IF;
78:
79: /* Initialize message list if p_init_msg_list is set to TRUE */
80: IF FND_API.to_Boolean( p_init_msg_list ) THEN
81: FND_MSG_PUB.initialize;
82: END IF;
83:
84: /* Initialize API return status to success */
85: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 118: FND_MSG_PUB.Add;

114:
115: --Check that owner organization id is not null if raise an error message
116: IF (p_recipe_header_rec.owner_organization_id IS NULL) THEN
117: FND_MESSAGE.SET_NAME('GMD', 'GMD_MISSING_ORGANIZATION_ID');
118: FND_MSG_PUB.Add;
119: RAISE FND_API.G_EXC_ERROR;
120: ELSE
121: --Check the owner organization id passed is process enabled if not raise an error message
122: IF NOT (gmd_api_grp.check_orgn_status(p_recipe_header_rec.owner_organization_id)) THEN

Line 125: FND_MSG_PUB.Add;

121: --Check the owner organization id passed is process enabled if not raise an error message
122: IF NOT (gmd_api_grp.check_orgn_status(p_recipe_header_rec.owner_organization_id)) THEN
123: FND_MESSAGE.SET_NAME('GMD', 'GMD_INVALID_ORGANIZATION_ID');
124: FND_MESSAGE.SET_TOKEN('ORGN_ID', p_recipe_header_rec.owner_organization_id);
125: FND_MSG_PUB.Add;
126: RAISE FND_API.G_EXC_ERROR;
127: END IF;
128: END IF;
129:

Line 133: FND_MSG_PUB.Add;

129:
130: --Check that creation organization id is not null if raise an error message
131: IF (p_recipe_header_rec.creation_organization_id IS NULL) THEN
132: FND_MESSAGE.SET_NAME('GMD', 'GMD_MISSING_ORGANIZATION_ID');
133: FND_MSG_PUB.Add;
134: RAISE FND_API.G_EXC_ERROR;
135: ELSE
136: --Check the creation organization id passed is process enabled if not raise an error message
137: IF NOT (gmd_api_grp.check_orgn_status(p_recipe_header_rec.creation_organization_id)) THEN

Line 140: FND_MSG_PUB.Add;

136: --Check the creation organization id passed is process enabled if not raise an error message
137: IF NOT (gmd_api_grp.check_orgn_status(p_recipe_header_rec.creation_organization_id)) THEN
138: FND_MESSAGE.SET_NAME('GMD', 'GMD_INVALID_ORGANIZATION_ID');
139: FND_MESSAGE.SET_TOKEN('ORGN_ID', p_recipe_header_rec.creation_organization_id);
140: FND_MSG_PUB.Add;
141: RAISE FND_API.G_EXC_ERROR;
142: END IF;
143: END IF;
144:

Line 169: FND_MSG_PUB.Add;

165: /* Validate the recipe_type field passed in */
166: IF p_recipe_header_rec.recipe_type IS NOT NULL THEN
167: IF p_recipe_header_rec.recipe_type NOT IN (0,1,2) THEN
168: FND_MESSAGE.SET_NAME('GMD', 'GMD_INVALID_RECIPE_TYPE');
169: FND_MSG_PUB.Add;
170: RAISE FND_API.G_EXC_ERROR;
171: END IF;
172: ELSE
173: p_recipe_header_rec.recipe_type := GMD_API_GRP.get_recipe_type(p_organization_id => p_recipe_header_rec.owner_organization_id);

Line 241: FND_MSG_PUB.Count_And_Get (

237: EXCEPTION
238: WHEN create_recipe_err THEN
239: ROLLBACK TO Insert_Recipe;
240: x_return_status := FND_API.G_RET_STS_ERROR;
241: FND_MSG_PUB.Count_And_Get (
242: p_count => x_msg_count,
243: p_data => x_msg_data );
244: WHEN default_status_err THEN
245: ROLLBACK TO default_status_sp;

Line 247: FND_MSG_PUB.Count_And_Get (

243: p_data => x_msg_data );
244: WHEN default_status_err THEN
245: ROLLBACK TO default_status_sp;
246: x_return_status := FND_API.G_RET_STS_ERROR;
247: FND_MSG_PUB.Count_And_Get (
248: p_count => x_msg_count,
249: p_data => x_msg_data );
250: WHEN FND_API.G_EXC_ERROR OR setup_failure THEN
251: ROLLBACK to Insert_Recipe;

Line 253: FND_MSG_PUB.Count_And_Get (

249: p_data => x_msg_data );
250: WHEN FND_API.G_EXC_ERROR OR setup_failure THEN
251: ROLLBACK to Insert_Recipe;
252: x_return_status := FND_API.G_RET_STS_ERROR;
253: FND_MSG_PUB.Count_And_Get (
254: p_count => x_msg_count,
255: p_data => x_msg_data );
256: WHEN OTHERS THEN
257: ROLLBACK to Insert_Recipe;

Line 258: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);

254: p_count => x_msg_count,
255: p_data => x_msg_data );
256: WHEN OTHERS THEN
257: ROLLBACK to Insert_Recipe;
258: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);
259: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
260: FND_MSG_PUB.Count_And_Get (
261: p_count => x_msg_count,
262: p_data => x_msg_data );

Line 260: FND_MSG_PUB.Count_And_Get (

256: WHEN OTHERS THEN
257: ROLLBACK to Insert_Recipe;
258: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);
259: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
260: FND_MSG_PUB.Count_And_Get (
261: p_count => x_msg_count,
262: p_data => x_msg_data );
263: END CREATE_RECIPE_HEADER;
264:

Line 345: FND_MSG_PUB.initialize;

341: END IF;
342:
343: /* Initialize message list if p_init_msg_list is set to TRUE */
344: IF FND_API.to_Boolean( p_init_msg_list ) THEN
345: FND_MSG_PUB.initialize;
346: END IF;
347:
348: /* Intialize the setup fields */
349: IF NOT gmd_api_grp.setup_done THEN

Line 386: FND_MSG_PUB.ADD;

382: X_RECIPE_ID => l_recipe_id
383: );
384: IF (X_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
385: FND_MESSAGE.SET_NAME('GMD', 'GMD_RECIPE_DOES_NOT_EXIST');
386: FND_MSG_PUB.ADD;
387: RAISE FND_API.G_EXC_ERROR;
388: END IF;
389:
390: /* To be derived from gmd_recipes */

Line 551: FND_MSG_PUB.Add;

547: /* Validate the recipe_type field passed in */
548: IF p_recipe_header_rec.recipe_type IS NOT NULL THEN
549: IF p_recipe_header_rec.recipe_type NOT IN (0,1,2) THEN
550: FND_MESSAGE.SET_NAME('GMD', 'GMD_INVALID_RECIPE_TYPE');
551: FND_MSG_PUB.Add;
552: RAISE FND_API.G_EXC_ERROR;
553: END IF;
554: ELSE
555: p_recipe_header_rec.recipe_type := GMD_API_GRP.get_recipe_type(p_organization_id => p_recipe_header_rec.owner_organization_id);

Line 769: FND_MSG_PUB.Count_And_Get (

765: EXCEPTION
766: WHEN update_recipe_err THEN
767: ROLLBACK TO Update_Recipe;
768: x_return_status := FND_API.G_RET_STS_ERROR;
769: FND_MSG_PUB.Count_And_Get (
770: p_count => x_msg_count,
771: p_data => x_msg_data );
772: WHEN FND_API.G_EXC_ERROR OR setup_failure THEN
773: ROLLBACK to Update_Recipe;

Line 775: FND_MSG_PUB.Count_And_Get (

771: p_data => x_msg_data );
772: WHEN FND_API.G_EXC_ERROR OR setup_failure THEN
773: ROLLBACK to Update_Recipe;
774: x_return_status := FND_API.G_RET_STS_ERROR;
775: FND_MSG_PUB.Count_And_Get (
776: p_count => x_msg_count,
777: p_data => x_msg_data );
778: WHEN OTHERS THEN
779: ROLLBACK to Update_Recipe;

Line 780: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);

776: p_count => x_msg_count,
777: p_data => x_msg_data );
778: WHEN OTHERS THEN
779: ROLLBACK to Update_Recipe;
780: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);
781: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
782: FND_MSG_PUB.Count_And_Get (
783: p_count => x_msg_count,
784: p_data => x_msg_data );

Line 782: FND_MSG_PUB.Count_And_Get (

778: WHEN OTHERS THEN
779: ROLLBACK to Update_Recipe;
780: fnd_msg_pub.add_exc_msg (G_pkg_name, l_api_name);
781: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
782: FND_MSG_PUB.Count_And_Get (
783: p_count => x_msg_count,
784: p_data => x_msg_data );
785: END UPDATE_RECIPE_HEADER;
786: