DBA Data[Home] [Help]

APPS.GMD_ACTIVITIES_PUB dependencies on GMD_DEBUG

Line 70: gmd_debug.log_initialize('InsActv');

66: BEGIN
67: SAVEPOINT insert_activity;
68:
69: IF (l_debug = 'Y') THEN
70: gmd_debug.log_initialize('InsActv');
71: END IF;
72:
73: /* Initialize message list and count if needed */
74: IF p_init_msg_list THEN

Line 100: gmd_debug.put_line(' Start of LOOP. Activity is ' || p_activity_tbl(i).activity);

96: /* Loop through records in activity table and perform validations for each record*/
97: FOR i IN 1 .. p_activity_tbl.count LOOP
98:
99: IF (l_debug = 'Y') THEN
100: gmd_debug.put_line(' Start of LOOP. Activity is ' || p_activity_tbl(i).activity);
101: END IF;
102:
103: /* Activity must be passed, otherwise give error */
104: IF p_activity_tbl(i).activity IS NULL THEN

Line 106: gmd_debug.put_line('activity required');

102:
103: /* Activity must be passed, otherwise give error */
104: IF p_activity_tbl(i).activity IS NULL THEN
105: IF (l_debug = 'Y') THEN
106: gmd_debug.put_line('activity required');
107: END IF;
108: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
109: FND_MESSAGE.SET_TOKEN ('MISSING', 'ACTIVITY');
110: FND_MSG_PUB.ADD;

Line 118: gmd_debug.put_line('cost analysis required');

114: /* Cost Analysis Code Validations - Must be passed, otherwise give error */
115: /* Also, cost analysis code must be defined in cm_alys_mst, else give error */
116: IF p_activity_tbl(i).cost_analysis_code IS NULL THEN
117: IF (l_debug = 'Y') THEN
118: gmd_debug.put_line('cost analysis required');
119: END IF;
120:
121: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
122: FND_MESSAGE.SET_TOKEN ('MISSING', 'COST_ANALYSIS_CODE');

Line 136: gmd_debug.put_line('activity desc required');

132:
133: /* Description must be passed, otherwise give error */
134: IF p_activity_tbl(i).activity_desc IS NULL THEN
135: IF (l_debug = 'Y') THEN
136: gmd_debug.put_line('activity desc required');
137: END IF;
138: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
139: FND_MESSAGE.SET_TOKEN ('MISSING', 'ACTIVITY_DESC');
140: FND_MSG_PUB.ADD;

Line 223: gmd_debug.log_initialize('UpdActv');

219: BEGIN
220: SAVEPOINT update_activity;
221:
222: IF (l_debug = 'Y') THEN
223: gmd_debug.log_initialize('UpdActv');
224: END IF;
225:
226: /* Initialize message list and count if needed */
227: IF p_init_msg_list THEN

Line 250: gmd_debug.put_line('Start of update_activity PUB');

246: /* Initially let us assign the return status to success */
247: x_return_status := FND_API.g_ret_sts_success;
248:
249: IF (l_debug = 'Y') THEN
250: gmd_debug.put_line('Start of update_activity PUB');
251: END IF;
252:
253: /* Activity must be passed, otherwise give error */
254: IF p_activity IS NULL THEN

Line 256: gmd_debug.put_line('activity required');

252:
253: /* Activity must be passed, otherwise give error */
254: IF p_activity IS NULL THEN
255: IF (l_debug = 'Y') THEN
256: gmd_debug.put_line('activity required');
257: END IF;
258: FND_MESSAGE.SET_NAME ('GMI', 'GMI_MISSING');
259: FND_MESSAGE.SET_TOKEN ('MISSING', 'ACTIVITY');
260: FND_MSG_PUB.ADD;

Line 383: gmd_debug.log_initialize('DelActv');

379: BEGIN
380: SAVEPOINT delete_activity;
381:
382: IF (l_debug = 'Y') THEN
383: gmd_debug.log_initialize('DelActv');
384: END IF;
385:
386: /* Initially let us assign the return status to success */
387: x_return_status := FND_API.g_ret_sts_success;