DBA Data[Home] [Help]

APPS.GME_INSERT_STEP_PVT dependencies on GME_COMMON_PVT

Line 98: gme_common_pvt.log_message ('GME_STEP_REQD'

94: NVL (p_gme_batch_step.batch_id, p_gme_batch_header.batch_id);
95:
96: /* End Bug 2397077 */
97: IF p_gme_batch_step.batchstep_no IS NULL THEN
98: gme_common_pvt.log_message ('GME_STEP_REQD'
99: ,'FIELDREQ'
100: ,'Batchstep Number');
101: RAISE expected_error;
102: END IF;

Line 113: gme_common_pvt.log_message ('PC_DUPLICATESTEPNO');

109: CLOSE get_steps_count;
110:
111: IF l_count > 0 THEN
112: /* Bug 2397077 Corrected message from PC_DUPLICATESTEP_NO to PC_DUPLICATESTEPNO*/
113: gme_common_pvt.log_message ('PC_DUPLICATESTEPNO');
114: RAISE expected_error;
115: END IF;
116:
117: /* Bug 2397077 Validate step_release_type passed to program. */

Line 119: gme_common_pvt.log_message ('GME_INVALID_STEPRELEASE');

115: END IF;
116:
117: /* Bug 2397077 Validate step_release_type passed to program. */
118: IF (p_gme_batch_step.steprelease_type NOT IN (1, 2) ) THEN
119: gme_common_pvt.log_message ('GME_INVALID_STEPRELEASE');
120: RAISE expected_error;
121: END IF;
122:
123: /* End Bug 2397077 */

Line 202: gme_common_pvt.log_message('GME_AT_LEAST_ONE_ACTIVITY');

198: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
199: gme_debug.put_line
200: ('Insert_Batch Step - GMD_FETCH_OPRN.FETCH_OPRN returned no activities');
201: END IF;
202: gme_common_pvt.log_message('GME_AT_LEAST_ONE_ACTIVITY');
203: RAISE error_gmd_fetch_oprn;
204: END IF;
205:
206: IF l_recipe_rout_resc.COUNT < 1 THEN

Line 211: gme_common_pvt.log_message('GME_AT_LEAST_ONE_RESOURCE');

207: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
208: gme_debug.put_line
209: ('Insert_Batch Step - GMD_FETCH_OPRN.FETCH_OPRN returned no resources');
210: END IF;
211: gme_common_pvt.log_message('GME_AT_LEAST_ONE_RESOURCE');
212: RAISE error_gmd_fetch_oprn;
213: END IF;
214:
215: -- Fill in the recipe_rout_step structure from what was filled in on p_gme_batch_step

Line 296: IF NOT gme_common_pvt.check_oprn_effectivity_dates(x_gme_batch_step.oprn_id,

292: END IF;
293:
294: /* Bug#6408612 calculated step plan start and end dates are validated
295: against the operation effectivity start and end dates */
296: IF NOT gme_common_pvt.check_oprn_effectivity_dates(x_gme_batch_step.oprn_id,
297: x_gme_batch_step.plan_start_date,
298: x_gme_batch_step.plan_cmplt_date) THEN
299: x_return_status := FND_API.G_RET_STS_ERROR;
300: RAISE invalid_oprn_effectivity;

Line 370: gme_common_pvt.log_message ('GME_INSERT_BATCH_STEP_SUCCESS');

366: RAISE batch_step_update_error;
367: END IF;
368:
369: /* Bug 2397077 Added message to indicate success of program. */
370: gme_common_pvt.log_message ('GME_INSERT_BATCH_STEP_SUCCESS');
371:
372: /* End Bug 2397077 */
373: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
374: gme_debug.put_line ('End Insert_Batch_Step');

Line 383: gme_common_pvt.log_message ('GME_INV_STATUS_INSERT_STEP');

379: gme_debug.put_line ('insert_step --> invalid batch status');
380: END IF;
381:
382: x_return_status := fnd_api.g_ret_sts_error;
383: gme_common_pvt.log_message ('GME_INV_STATUS_INSERT_STEP');
384: WHEN error_no_oprn_defined THEN
385: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
386: gme_debug.put_line ('insert_step --> no oprn passed');
387: END IF;

Line 390: gme_common_pvt.log_message ('GME_NO_OPRN_DEFINED');

386: gme_debug.put_line ('insert_step --> no oprn passed');
387: END IF;
388:
389: x_return_status := fnd_api.g_ret_sts_error;
390: gme_common_pvt.log_message ('GME_NO_OPRN_DEFINED');
391: WHEN error_gmd_fetch_oprn THEN
392: x_return_status := l_return_status;
393: WHEN error_step_qty_lthan_zero THEN
394: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN

Line 399: gme_common_pvt.log_message ('GME_STEP_QTY_LTHAN_ZERO');

395: gme_debug.put_line ('insert_step --> step qty < zero');
396: END IF;
397:
398: x_return_status := fnd_api.g_ret_sts_error;
399: gme_common_pvt.log_message ('GME_STEP_QTY_LTHAN_ZERO');
400: /* Punit Kumar */
401: WHEN error_no_organization_id THEN
402: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
403: gme_debug.put_line ('insert_step --> no ORGANIZATION_ID supplied');

Line 418: gme_common_pvt.log_message ('GME_INVALID_TEXT_CODE');

414: WHEN error_calc_max_capacity THEN
415: x_return_status := l_return_status;
416: WHEN invalid_text_code THEN -- nsinghi bug#5202911
417: x_return_status := fnd_api.g_ret_sts_error;
418: gme_common_pvt.log_message ('GME_INVALID_TEXT_CODE');
419: WHEN batch_step_fetch_error OR batch_step_update_error THEN
420: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
421: gme_debug.put_line
422: (fnd_msg_pub.get (p_encoded => fnd_api.g_false) );

Line 549: --Bug#5231180 used gme_common_pvt to log the message

545: -- be returned as NULL.
546: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
547: gme_debug.put_line('GME insert_step API calc_max_cap --> resources in diff UOM types...');
548: END IF;
549: --Bug#5231180 used gme_common_pvt to log the message
550: gme_common_pvt.log_message('GME_RSRC_DIFF_UM_TYPE');
551: RAISE error_rsrc_diff_um_type;
552: END IF;
553: END IF;

Line 550: gme_common_pvt.log_message('GME_RSRC_DIFF_UM_TYPE');

546: IF (NVL (g_debug, -1) = gme_debug.g_log_statement) THEN
547: gme_debug.put_line('GME insert_step API calc_max_cap --> resources in diff UOM types...');
548: END IF;
549: --Bug#5231180 used gme_common_pvt to log the message
550: gme_common_pvt.log_message('GME_RSRC_DIFF_UM_TYPE');
551: RAISE error_rsrc_diff_um_type;
552: END IF;
553: END IF;
554:

Line 570: ,PRECISION => gme_common_pvt.g_precision

566: /*Bug#5231180 Begin calculate the max step capacity in step qty uom*/
567: IF NVL(l_min_of_max_cap,0) > 0 THEN
568: l_temp_qty := inv_convert.inv_um_convert
569: (item_id => 0
570: ,PRECISION => gme_common_pvt.g_precision
571: ,from_quantity => l_min_of_max_cap
572: ,from_unit => l_min_of_max_cap_uom
573: ,to_unit => p_step_qty_uom
574: ,from_name => NULL