155: ELSE
156: l_description := p_cnt_type_description;
157: END IF;
158: --Do create the record now.
159: AMV_I_CONTENT_TYPES_PKG.INSERT_ROW
160: (
161: X_ROWID => l_rowid,
162: X_CONTENT_TYPE_ID => l_content_type_id,
163: X_OBJECT_VERSION_NUMBER => 1,
353: -- Now do the deleting:
354: Delete from amv_c_content_types
355: where content_type_id = l_content_type_id;
356: --
357: AMV_I_CONTENT_TYPES_PKG.DELETE_ROW
358: (
359: X_CONTENT_TYPE_ID => l_content_type_id
360: );
361: --Standard check of commit
551: FND_MESSAGE.Set_name('AMV','Updating Content Type.');
552: FND_MSG_PUB.Add;
553: END IF;
554: -- Now do the updating:
555: AMV_I_CONTENT_TYPES_PKG.UPDATE_ROW
556: (
557: X_CONTENT_TYPE_ID =>l_content_type_id,
558: X_OBJECT_VERSION_NUMBER => l_object_version + 1,
559: X_CONTENT_TYPE_NAME => p_content_type_new_name,