[Home] [Help]
184: IGS_GE_MSG_STACK.ADD;
185: App_Exception.Raise_Exception;
186: END IF;
187: -- Validate Correspondence Type is system generated.
188: IF IGS_CO_VAL_SLET.corp_val_cort_sysgen(
189: new_references.correspondence_type,
190: v_message_name) = FALSE THEN
191: Fnd_Message.Set_Name('IGS',v_message_name);
192: IGS_GE_MSG_STACK.ADD;
196: -- Validate System Letter Object closed.
197: IF p_inserting OR
198: (p_updating AND
199: new_references.s_letter_object <> old_references.s_letter_object) THEN
200: IF IGS_CO_VAL_SLET.corp_val_slo_closed(
201: new_references.s_letter_object,
202: v_message_name) = FALSE THEN
203: Fnd_Message.Set_Name('IGS',v_message_name);
204: IGS_GE_MSG_STACK.ADD;