Fix access rights

- Add missing company rule for journal
- Allow statement group to validate statement

review1801002
Fix search_rec_name's

- balance can not be used for searching rec_name because of incompatible type.
- missing search_rec_name for line as get_rec_name is overridden.

review1791002
Fix duplicate id introduced in changeset 71be9e1e960b