Tables and References on detail view implemented