DBA Data[Home] [Help]

APPS.GMD_OPERATIONS_PUB dependencies on GMD_DEBUG

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

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

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

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

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

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

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

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

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

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

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

219: p_operations.effective_end_date := TRUNC(p_operations.effective_end_date);
220: /* Effective end date must be greater than start date, otherwise give error */
221: IF p_operations.effective_start_date > p_operations.effective_end_date THEN
222: IF (l_debug = 'Y') THEN
223: gmd_debug.put_line('effective start date must be less then end date');
224: END IF;
225: FND_MESSAGE.SET_NAME('GMD', 'QC_MIN_MAX_DATE');
226: FND_MSG_PUB.ADD;
227: RAISE ins_operation_err;

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

255: END IF;
256:
257: IF x_return_status = 'S' THEN
258: IF (l_debug = 'Y') THEN
259: gmd_debug.put_line('before PVT routine called');
260: END IF;
261:
262: /* insert operation */
263: GMD_OPERATIONS_PVT.insert_operation(p_operations => p_operations,

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

447: /* Initially let us assign the return status to success */
448: x_return_status := FND_API.g_ret_sts_success;
449:
450: IF (l_debug = 'Y') THEN
451: gmd_debug.put_line('Start of update_operation PUB');
452: END IF;
453:
454: /* Oprn_id or oprn_no and vers must be passed, otherwise give error */
455: IF (p_oprn_id IS NULL AND (p_oprn_no IS NULL OR p_oprn_vers IS NULL ))THEN

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

453:
454: /* Oprn_id or oprn_no and vers must be passed, otherwise give error */
455: IF (p_oprn_id IS NULL AND (p_oprn_no IS NULL OR p_oprn_vers IS NULL ))THEN
456: IF (l_debug = 'Y') THEN
457: gmd_debug.put_line('operation id or operation number and version are required');
458: END IF;
459:
460: IF (p_oprn_id IS NULL) THEN
461: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');

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

498: FOR i in 1 .. p_update_table.count LOOP
499: /* Col_to_update and value must be passed, otherwise give error */
500: IF p_update_table(i).p_col_to_update IS NULL THEN
501: IF (l_debug = 'Y') THEN
502: gmd_debug.put_line('col_to_update required');
503: END IF;
504:
505: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
506: FND_MESSAGE.SET_TOKEN ('MISSING', 'COL_TO_UPDATE');

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

508: RAISE upd_oprn_err;
509: ELSIF UPPER(p_update_table(i).p_col_to_update) = 'PROCESS_QTY_UOM' THEN
510: IF (NOT(gmd_api_grp.validate_um(p_update_table(i).p_value))) THEN
511: IF (l_debug = 'Y') THEN
512: gmd_debug.put_line('process qty uom invalid');
513: END IF;
514: FND_MESSAGE.SET_NAME('GMA', 'SY_INVALID_UM_CODE');
515: FND_MSG_PUB.ADD;
516: RAISE upd_oprn_err;

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

564: END LOOP;
565:
566: IF x_return_status = 'S' THEN
567: IF (l_debug = 'Y') THEN
568: gmd_debug.put_line('before PVT routine called');
569: END IF;
570:
571: GMD_OPERATIONS_PVT.update_operation(p_oprn_id => v_oprn_id
572: , p_update_table => p_update_table

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

643: /* Initially let us assign the return status to success */
644: x_return_status := FND_API.g_ret_sts_success;
645:
646: IF (l_debug = 'Y') THEN
647: gmd_debug.put_line('START of delete_operation PUB');
648: END IF;
649:
650: /* Call update_operation and set delete mark for given activity to 1*/
651: v_update_table(1).p_col_to_update := 'DELETE_MARK';

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

675: FND_MSG_PUB.count_and_get(p_count => x_message_count
676: ,p_data => x_message_list);
677:
678: IF (l_debug = 'Y') THEN
679: gmd_debug.put_line('END of delete_operation PUB');
680: END IF;
681:
682: EXCEPTION
683: WHEN upd_oprn_err THEN