reading register master detail.