BaseCode for table item_related