DBA Data[Home] [Help]

APPS.IGS_PS_UNIT_REF_CD_PKG dependencies on APP_EXCEPTION

Line 40: App_Exception.Raise_Exception;

36: IF (cur_old_ref_values%NOTFOUND) AND (p_action NOT IN ('INSERT','VALIDATE_INSERT')) THEN
37: Close cur_old_ref_values;
38: Fnd_Message.Set_Name ('FND', 'FORM_RECORD_DELETED');
39: IGS_GE_MSG_STACK.ADD;
40: App_Exception.Raise_Exception;
41: Return;
42: END IF;
43: Close cur_old_ref_values;
44:

Line 89: App_Exception.Raise_Exception;

85: v_version_number,
86: v_message_name) = FALSE THEN
87: Fnd_Message.Set_Name('IGS',v_message_name);
88: IGS_GE_MSG_STACK.ADD;
89: App_Exception.Raise_Exception;
90: END IF;
91: -- Validate reference code type. Referenece code type is not updateable.
92: IF p_inserting THEN
93: -- As part of the bug# 1956374 changed to the below call from IGS_PS_VAL_URC.crsp_val_ref_cd_type

Line 99: App_Exception.Raise_Exception;

95: new_references.reference_cd_type,
96: v_message_name) = FALSE THEN
97: Fnd_Message.Set_Name('IGS',v_message_name);
98: IGS_GE_MSG_STACK.ADD;
99: App_Exception.Raise_Exception;
100: END IF;
101: END IF;
102: -- Create history record.
103: IF p_updating THEN

Line 125: App_Exception.Raise_Exception;

121: IF p_deleting THEN
122: IF igs_ps_val_atl.chk_mandatory_ref_cd(old_references.reference_cd_type) THEN
123: Fnd_Message.Set_Name ('IGS', 'IGS_PS_REF_CD_MANDATORY');
124: IGS_GE_MSG_STACK.ADD;
125: App_Exception.Raise_Exception;
126: END IF;
127: IGS_PS_GEN_005.CRSP_INS_URC_HIST(
128: old_references.unit_cd,
129: old_references.version_number,

Line 161: App_Exception.Raise_Exception;

157: IF Upper(Column_Name)='REFERENCE_CD' OR Column_Name IS NULL Then
158: IF New_References.Reference_Cd <> UPPER(New_References.Reference_Cd) Then
159: Fnd_Message.Set_Name ('IGS', 'IGS_GE_INVALID_VALUE');
160: IGS_GE_MSG_STACK.ADD;
161: App_Exception.Raise_Exception;
162: END IF;
163: END IF;
164:
165: IF Upper(Column_Name)='REFERENCE_CD_TYPE' OR Column_Name IS NULL Then

Line 169: App_Exception.Raise_Exception;

165: IF Upper(Column_Name)='REFERENCE_CD_TYPE' OR Column_Name IS NULL Then
166: IF New_References.Reference_Cd_Type <> UPPER(New_References.Reference_Cd_Type) Then
167: Fnd_Message.Set_Name ('IGS', 'IGS_GE_INVALID_VALUE');
168: IGS_GE_MSG_STACK.ADD;
169: App_Exception.Raise_Exception;
170: END IF;
171: END IF;
172:
173:

Line 178: App_Exception.Raise_Exception;

174: IF Upper(Column_Name)='UNIT_CD' OR Column_Name IS NULL Then
175: IF New_References.Unit_Cd <> UPPER(New_References.Unit_CD) Then
176: Fnd_Message.Set_Name ('IGS', 'IGS_GE_INVALID_VALUE');
177: IGS_GE_MSG_STACK.ADD;
178: App_Exception.Raise_Exception;
179: END IF;
180: END IF;
181:
182: END Check_Constraints;

Line 192: App_Exception.Raise_Exception;

188: New_References.version_number,
189: New_References.reference_cd_type) THEN
190: Fnd_Message.Set_Name ('IGS', 'IGS_GE_RECORD_ALREADY_EXISTS');
191: IGS_GE_MSG_STACK.ADD;
192: App_Exception.Raise_Exception;
193: END IF;
194: END Check_Uniqueness;
195:
196:

Line 258: App_Exception.Raise_Exception;

254: IF NOT IGS_GE_REF_CD_TYPE_PKG.Get_PK_For_Validation (
255: new_references.reference_cd_type) THEN
256: Fnd_Message.Set_Name ('FND', 'FORM_RECORD_DELETED');
257: IGS_GE_MSG_STACK.ADD;
258: App_Exception.Raise_Exception;
259: END IF;
260:
261:
262: END IF;

Line 275: App_Exception.Raise_Exception;

271: new_references.unit_cd,
272: new_references.version_number) THEN
273: Fnd_Message.Set_Name ('FND', 'FORM_RECORD_DELETED');
274: IGS_GE_MSG_STACK.ADD;
275: App_Exception.Raise_Exception;
276: END IF;
277:
278:
279: END IF;

Line 295: App_Exception.Raise_Exception;

291: new_references.reference_cd
292: ) THEN
293: Fnd_Message.Set_Name ('FND','FORM_RECORD_DELETED');
294: IGS_GE_MSG_STACK.ADD;
295: App_Exception.Raise_Exception;
296: END IF;
297: END IF;
298: CLOSE cur_reference_cd_chk;
299:

Line 353: App_Exception.Raise_Exception;

349: IF (cur_rowid%FOUND) THEN
350: Close cur_rowid;
351: Fnd_Message.Set_Name ('IGS', 'IGS_PS_URC_RCT_FK');
352: IGS_GE_MSG_STACK.ADD;
353: App_Exception.Raise_Exception;
354: Return;
355: END IF;
356: Close cur_rowid;
357:

Line 392: app_exception.raise_exception;

388: IF (cur_rowid%FOUND) THEN
389: CLOSE cur_rowid;
390: fnd_message.set_name ('IGS', 'IGS_PS_URC_RC_FK');
391: igs_ge_msg_stack.add;
392: app_exception.raise_exception;
393: RETURN;
394: END IF;
395: CLOSE cur_rowid;
396:

Line 421: App_Exception.Raise_Exception;

417: IF (cur_rowid%FOUND) THEN
418: Close cur_rowid;
419: Fnd_Message.Set_Name ('IGS', 'IGS_PS_URC_UV_FK');
420: IGS_GE_MSG_STACK.ADD;
421: App_Exception.Raise_Exception;
422: Return;
423: END IF;
424: Close cur_rowid;
425:

Line 468: App_Exception.Raise_Exception;

464: New_References.reference_cd_type,
465: New_References.reference_cd) THEN
466: Fnd_Message.Set_Name ('IGS', 'IGS_GE_RECORD_ALREADY_EXISTS');
467: IGS_GE_MSG_STACK.ADD;
468: App_Exception.Raise_Exception;
469: END IF;
470: Check_Constraints;
471: Check_Uniqueness;
472: Check_Parent_Existance;

Line 489: App_Exception.Raise_Exception;

485: New_References.reference_cd_type,
486: New_References.reference_cd) THEN
487: Fnd_Message.Set_Name ('IGS', 'IGS_GE_RECORD_ALREADY_EXISTS');
488: IGS_GE_MSG_STACK.ADD;
489: App_Exception.Raise_Exception;
490: END IF;
491: Check_Constraints;
492: Check_Uniqueness;
493: ELSIF (p_action = 'VALIDATE_UPDATE') THEN

Line 547: app_exception.raise_exception;

543: end if;
544: else
545: FND_MESSAGE.SET_NAME( 'FND', 'SYSTEM-INVALID ARGS');
546: IGS_GE_MSG_STACK.ADD;
547: app_exception.raise_exception;
548: end if;
549:
550: Before_DML(
551: p_action => 'INSERT',

Line 625: app_exception.raise_exception;

621: if (c1%notfound) then
622: close c1;
623: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
624: IGS_GE_MSG_STACK.ADD;
625: app_exception.raise_exception;
626: return;
627: end if;
628: close c1;
629:

Line 638: app_exception.raise_exception;

634: null;
635: else
636: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
637: IGS_GE_MSG_STACK.ADD;
638: app_exception.raise_exception;
639: end if;
640: return;
641: end LOCK_ROW;
642:

Line 672: app_exception.raise_exception;

668: end if;
669: else
670: FND_MESSAGE.SET_NAME('FND', 'SYSTEM-INVALID ARGS');
671: IGS_GE_MSG_STACK.ADD;
672: app_exception.raise_exception;
673: end if;
674:
675: Before_DML(
676: p_action => 'UPDATE',