70: begin
71: open c;
72: fetch c into tlinfo;
73: if (c%notfound) then
74: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
75: app_exception.raise_exception;
76: close c;
77: return;
78: end if;
87: AND (p_end_date_active is null)))
88: ) then
89: null;
90: else
91: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
92: app_exception.raise_exception;
93: end if;
94: return;
95: end lock_row;