78: open c;
79: fetch c into recinfo;
80: if (c%notfound) then
81: close c;
82: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
83: app_exception.raise_exception;
84: end if;
85: close c;
86: if ( (recinfo.RULE_TEMPLATE_ID = X_RULE_TEMPLATE_ID)
93:
94: ) then
95: null;
96: else
97: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
98: app_exception.raise_exception;
99: end if;
100: return;
101: end LOCK_ROW;