I need to write a validation for my different cash journal .
we have five cash journal .
validation required if user select first cash journal then need to put same cost center which is related to plant
Here cash journal is created for different plant .
For ex- cash journal cj01
then user need to put 110030 cost center if he not passing this cc system should prompt error message.