RE: Making department mandatory on all transactions using script
We had to change the setup and uncheck ‘Make Departments Mandatory’ from the setup due to a bug in MRP system which does not work when this check box is checked. Now that we got the MRP working, I wanted to write a custom code/script to make department mandatory on all the transactions at the time of saving the record.
I went through the transactions that have department field on them and there are 34 of them.
Is there an easier way out to achieve this, rather than writing a different workflow for each type of transaction?