Hi
You should not have such validation ideally, it is a matter of discipline
However, solution is as below
1. Uncheck customers n vendors in SA doc type
2. Write a document level validation for KR that if Account Type is not equal to K, system should throw error
If Need be, use user exit with in validation. In my opinion, without exit also it should work
Ajay M