DBA Data[Home] [Help]

APPS.GMD_OPERATIONS_PUB dependencies on GMD_DEBUG

Line 123: gmd_debug.put_line('operation number required');

119:
120: /* Operation number must be passed, otherwise give error */
121: IF p_operations.oprn_no IS NULL THEN
122: IF (l_debug = 'Y') THEN
123: gmd_debug.put_line('operation number required');
124: END IF;
125:
126: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
127: FND_MESSAGE.SET_TOKEN ('MISSING', 'OPRN_NO');

Line 135: gmd_debug.put_line('operation version required');

131:
132: /* Operation Version must be passed, otherwise give error */
133: IF p_operations.oprn_vers IS NULL THEN
134: IF (l_debug = 'Y') THEN
135: gmd_debug.put_line('operation version required');
136: END IF;
137:
138: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
139: FND_MESSAGE.SET_TOKEN ('MISSING', 'OPRN_VERS');

Line 161: gmd_debug.put_line('operation desc required');

157:
158: /* Description must be passed, otherwise give error */
159: IF p_operations.oprn_desc IS NULL THEN
160: IF (l_debug = 'Y') THEN
161: gmd_debug.put_line('operation desc required');
162: END IF;
163:
164: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
165: FND_MESSAGE.SET_TOKEN ('MISSING', 'OPRN_DESC');

Line 173: gmd_debug.put_line('process qty uom required');

169:
170: /* PROCESS_QTY_UOM must be passed, otherwise give error */
171: IF p_operations.PROCESS_QTY_UOM IS NULL THEN
172: IF (l_debug = 'Y') THEN
173: gmd_debug.put_line('process qty uom required');
174: END IF;
175:
176: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
177: FND_MESSAGE.SET_TOKEN ('MISSING', 'PROCESS_QTY_UOM');

Line 183: gmd_debug.put_line('process qty uom invalid');

179: RAISE ins_operation_err;
180: /* call common function to check if um passed is valid */
181: ELSIF (NOT(gmd_api_grp.validate_um(p_operations.PROCESS_QTY_UOM))) THEN
182: IF (l_debug = 'Y') THEN
183: gmd_debug.put_line('process qty uom invalid');
184: END IF;
185:
186: FND_MESSAGE.SET_NAME('GMA', 'SY_INVALID_UM_CODE');
187: FND_MSG_PUB.ADD;

Line 230: gmd_debug.put_line('effective start date must be less then end date');

226: p_operations.effective_end_date := p_operations.effective_end_date;
227: /* Effective end date must be greater than start date, otherwise give error */
228: IF p_operations.effective_start_date > p_operations.effective_end_date THEN
229: IF (l_debug = 'Y') THEN
230: gmd_debug.put_line('effective start date must be less then end date');
231: END IF;
232: FND_MESSAGE.SET_NAME('GMD', 'QC_MIN_MAX_DATE');
233: FND_MSG_PUB.ADD;
234: RAISE ins_operation_err;

Line 266: gmd_debug.put_line('before PVT routine called');

262: END IF;
263:
264: IF x_return_status = 'S' THEN
265: IF (l_debug = 'Y') THEN
266: gmd_debug.put_line('before PVT routine called');
267: END IF;
268:
269: /* insert operation */
270: GMD_OPERATIONS_PVT.insert_operation(p_operations => p_operations,

Line 458: gmd_debug.put_line('Start of update_operation PUB');

454: /* Initially let us assign the return status to success */
455: x_return_status := FND_API.g_ret_sts_success;
456:
457: IF (l_debug = 'Y') THEN
458: gmd_debug.put_line('Start of update_operation PUB');
459: END IF;
460:
461: /* Oprn_id or oprn_no and vers must be passed, otherwise give error */
462: IF (p_oprn_id IS NULL AND (p_oprn_no IS NULL OR p_oprn_vers IS NULL ))THEN

Line 464: gmd_debug.put_line('operation id or operation number and version are required');

460:
461: /* Oprn_id or oprn_no and vers must be passed, otherwise give error */
462: IF (p_oprn_id IS NULL AND (p_oprn_no IS NULL OR p_oprn_vers IS NULL ))THEN
463: IF (l_debug = 'Y') THEN
464: gmd_debug.put_line('operation id or operation number and version are required');
465: END IF;
466:
467: IF (p_oprn_id IS NULL) THEN
468: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');

Line 509: gmd_debug.put_line('col_to_update required');

505: FOR i in 1 .. p_update_table.count LOOP
506: /* Col_to_update and value must be passed, otherwise give error */
507: IF p_update_table(i).p_col_to_update IS NULL THEN
508: IF (l_debug = 'Y') THEN
509: gmd_debug.put_line('col_to_update required');
510: END IF;
511:
512: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
513: FND_MESSAGE.SET_TOKEN ('MISSING', 'COL_TO_UPDATE');

Line 519: gmd_debug.put_line('process qty uom invalid');

515: RAISE upd_oprn_err;
516: ELSIF UPPER(p_update_table(i).p_col_to_update) = 'PROCESS_QTY_UOM' THEN
517: IF (NOT(gmd_api_grp.validate_um(p_update_table(i).p_value))) THEN
518: IF (l_debug = 'Y') THEN
519: gmd_debug.put_line('process qty uom invalid');
520: END IF;
521: FND_MESSAGE.SET_NAME('GMA', 'SY_INVALID_UM_CODE');
522: FND_MSG_PUB.ADD;
523: RAISE upd_oprn_err;

Line 575: gmd_debug.put_line('before PVT routine called');

571: END LOOP;
572:
573: IF x_return_status = 'S' THEN
574: IF (l_debug = 'Y') THEN
575: gmd_debug.put_line('before PVT routine called');
576: END IF;
577:
578: GMD_OPERATIONS_PVT.update_operation(p_oprn_id => v_oprn_id
579: , p_update_table => p_update_table

Line 654: gmd_debug.put_line('START of delete_operation PUB');

650: /* Initially let us assign the return status to success */
651: x_return_status := FND_API.g_ret_sts_success;
652:
653: IF (l_debug = 'Y') THEN
654: gmd_debug.put_line('START of delete_operation PUB');
655: END IF;
656:
657: /* Call update_operation and set delete mark for given activity to 1*/
658: v_update_table(1).p_col_to_update := 'DELETE_MARK';

Line 686: gmd_debug.put_line('END of delete_operation PUB');

682: FND_MSG_PUB.count_and_get(p_count => x_message_count
683: ,p_data => x_message_list);
684:
685: IF (l_debug = 'Y') THEN
686: gmd_debug.put_line('END of delete_operation PUB');
687: END IF;
688:
689: EXCEPTION
690: WHEN upd_oprn_err THEN