DBA Data[Home] [Help]

APPS.WSMPOPRN dependencies on FND_MESSAGE

Line 360: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');

356: fnd_file.put_line(fnd_file.log, 'WSMPOPRN.add_operation calling WSMPUTIL.check_po_move: '||x_error_msg);
357: return ;
358: END IF;
359: IF (l_po_move_exists) THEN
360: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
361: x_error_code := -1;
362: x_error_msg := FND_MESSAGE.GET;
363: return ;
364: END IF;

Line 362: x_error_msg := FND_MESSAGE.GET;

358: END IF;
359: IF (l_po_move_exists) THEN
360: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
361: x_error_code := -1;
362: x_error_msg := FND_MESSAGE.GET;
363: return ;
364: END IF;
365: -- OSP FP I end
366: l_stat_num := 270;

Line 550: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');

546: 'calling WSMPUTIL.check_po_move: '||x_error_msg);
547: return ;
548: END IF;
549: IF (l_po_move_exists) THEN
550: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
551: x_error_code := -1;
552: x_error_msg := FND_MESSAGE.GET;
553: return ;
554: END IF;

Line 552: x_error_msg := FND_MESSAGE.GET;

548: END IF;
549: IF (l_po_move_exists) THEN
550: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
551: x_error_code := -1;
552: x_error_msg := FND_MESSAGE.GET;
553: return ;
554: END IF;
555: -- OSP FP I End
556:

Line 832: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');

828: l_stat_num := 40.3;
829: if (l_est_scrap_acc = 1 and l_job_type = 1) and
830: (l_scrap_account is null or l_est_absorption_account is null) then
831: x_error_code := -1;
832: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
833: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
834: x_error_msg := FND_MESSAGE.GET;
835: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
836: rollback;

Line 833: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));

829: if (l_est_scrap_acc = 1 and l_job_type = 1) and
830: (l_scrap_account is null or l_est_absorption_account is null) then
831: x_error_code := -1;
832: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
833: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
834: x_error_msg := FND_MESSAGE.GET;
835: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
836: rollback;
837: return;

Line 834: x_error_msg := FND_MESSAGE.GET;

830: (l_scrap_account is null or l_est_absorption_account is null) then
831: x_error_code := -1;
832: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
833: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
834: x_error_msg := FND_MESSAGE.GET;
835: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
836: rollback;
837: return;
838: end if;

Line 871: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');

867: fnd_file.put_line(fnd_file.log, 'WSMPOPRN.add_operation calling WSMPUTIL.check_po_move: '||x_error_msg);
868: return ;
869: END IF;
870: IF (l_po_move_exists) THEN
871: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
872: x_error_code := -1;
873: x_error_msg := FND_MESSAGE.GET;
874: return ;
875: END IF;

Line 873: x_error_msg := FND_MESSAGE.GET;

869: END IF;
870: IF (l_po_move_exists) THEN
871: FND_MESSAGE.SET_NAME('WSM','WSM_OP_PO_MOVE');
872: x_error_code := -1;
873: x_error_msg := FND_MESSAGE.GET;
874: return ;
875: END IF;
876: */
877: BEGIN

Line 949: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');

945:
946: if (l_est_scrap_acc = 1 and l_job_type = 1) and
947: (l_scrap_account is null or l_est_absorption_account is null) then
948: x_error_code := -1;
949: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
950: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
951: x_error_msg := FND_MESSAGE.GET;
952: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
953: rollback;

Line 950: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));

946: if (l_est_scrap_acc = 1 and l_job_type = 1) and
947: (l_scrap_account is null or l_est_absorption_account is null) then
948: x_error_code := -1;
949: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
950: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
951: x_error_msg := FND_MESSAGE.GET;
952: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
953: rollback;
954: return;

Line 951: x_error_msg := FND_MESSAGE.GET;

947: (l_scrap_account is null or l_est_absorption_account is null) then
948: x_error_code := -1;
949: fnd_message.set_name('WSM','WSM_NO_SCRAP_ACC');
950: fnd_message.set_token('DEPT_ID',to_char(l_dept_id));
951: x_error_msg := FND_MESSAGE.GET;
952: fnd_file.put_line(fnd_file.log, 'WSMOPRNB.create_op_details('||l_stat_num||')'|| x_error_msg);
953: rollback;
954: return;
955: end if;

Line 2055: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME');

2051: fnd_file.put_line(fnd_file.log, x_error_msg);
2052: return(-1);
2053:
2054: when another_job_exists then
2055: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME');
2056: FND_MESSAGE.SET_TOKEN('JOB_NAME', l_new_name); -- bugfix 2820900: corrected the token name
2057: x_error_msg := fnd_message.get;
2058: x_error_code := -1;
2059: fnd_file.put_line(fnd_file.log, x_error_msg);

Line 2056: FND_MESSAGE.SET_TOKEN('JOB_NAME', l_new_name); -- bugfix 2820900: corrected the token name

2052: return(-1);
2053:
2054: when another_job_exists then
2055: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME');
2056: FND_MESSAGE.SET_TOKEN('JOB_NAME', l_new_name); -- bugfix 2820900: corrected the token name
2057: x_error_msg := fnd_message.get;
2058: x_error_code := -1;
2059: fnd_file.put_line(fnd_file.log, x_error_msg);
2060: return(-1);

Line 2057: x_error_msg := fnd_message.get;

2053:
2054: when another_job_exists then
2055: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME');
2056: FND_MESSAGE.SET_TOKEN('JOB_NAME', l_new_name); -- bugfix 2820900: corrected the token name
2057: x_error_msg := fnd_message.get;
2058: x_error_code := -1;
2059: fnd_file.put_line(fnd_file.log, x_error_msg);
2060: return(-1);
2061:

Line 2065: FND_MESSAGE.SET_NAME('WSM', 'WSM_NO_SECTOR_SUBINV');

2061:
2062:
2063: -- abb bug 2345650: added the exception block and no-data-found handler.
2064: when no_sector_subinv then
2065: FND_MESSAGE.SET_NAME('WSM', 'WSM_NO_SECTOR_SUBINV');
2066: FND_MESSAGE.SET_TOKEN('SUB', l_comp_subinv);
2067: x_error_msg := fnd_message.get;
2068: x_error_code := -1;
2069: fnd_file.put_line(fnd_file.log, x_error_msg);

Line 2066: FND_MESSAGE.SET_TOKEN('SUB', l_comp_subinv);

2062:
2063: -- abb bug 2345650: added the exception block and no-data-found handler.
2064: when no_sector_subinv then
2065: FND_MESSAGE.SET_NAME('WSM', 'WSM_NO_SECTOR_SUBINV');
2066: FND_MESSAGE.SET_TOKEN('SUB', l_comp_subinv);
2067: x_error_msg := fnd_message.get;
2068: x_error_code := -1;
2069: fnd_file.put_line(fnd_file.log, x_error_msg);
2070: return(-1);

Line 2067: x_error_msg := fnd_message.get;

2063: -- abb bug 2345650: added the exception block and no-data-found handler.
2064: when no_sector_subinv then
2065: FND_MESSAGE.SET_NAME('WSM', 'WSM_NO_SECTOR_SUBINV');
2066: FND_MESSAGE.SET_TOKEN('SUB', l_comp_subinv);
2067: x_error_msg := fnd_message.get;
2068: x_error_code := -1;
2069: fnd_file.put_line(fnd_file.log, x_error_msg);
2070: return(-1);
2071:

Line 2157: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME'); -- bugfix 2820900: added this

2153: -- czh:BUG1995161
2154: fnd_file.put_line(fnd_file.log, x_error_msg);
2155:
2156: when another_job_exists then
2157: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME'); -- bugfix 2820900: added this
2158: FND_MESSAGE.SET_TOKEN('JOB_NAME', p_reentered_job_name); -- bugfix 2820900: corrected the token name
2159: x_error_msg := fnd_message.get;
2160: x_error_code := -1;
2161:

Line 2158: FND_MESSAGE.SET_TOKEN('JOB_NAME', p_reentered_job_name); -- bugfix 2820900: corrected the token name

2154: fnd_file.put_line(fnd_file.log, x_error_msg);
2155:
2156: when another_job_exists then
2157: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME'); -- bugfix 2820900: added this
2158: FND_MESSAGE.SET_TOKEN('JOB_NAME', p_reentered_job_name); -- bugfix 2820900: corrected the token name
2159: x_error_msg := fnd_message.get;
2160: x_error_code := -1;
2161:
2162: --bugfix 2820900: commented

Line 2159: x_error_msg := fnd_message.get;

2155:
2156: when another_job_exists then
2157: FND_MESSAGE.SET_NAME('WSM', 'WSM_DUP_JOB_NAME'); -- bugfix 2820900: added this
2158: FND_MESSAGE.SET_TOKEN('JOB_NAME', p_reentered_job_name); -- bugfix 2820900: corrected the token name
2159: x_error_msg := fnd_message.get;
2160: x_error_code := -1;
2161:
2162: --bugfix 2820900: commented
2163: --x_error_msg := 'WSMOPRNB.update_job_name1('||l_stat_num||'): Another job exists with the name ' || p_reentered_job_name;