How to make a new accounting dimension mandatory at transaction level

I have added a new accounting dimension (let’s say department) and I want to make it mandatory to capture it compulsorily at a Purchase Order/Invoice level. How it can be achieved?

Further, I want to make it mandatory at all the transaction docTypes wherever accounting dimension is used.

Thanks

Go to Custom Field, search for department field and edit to make it mandatory (Is Mandatory Field).

@sanjay. Thank you so much. It is done.