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?

Thanks

Beginner Asked 6 days ago in Other.
Add Comment
1 Answer(s)

Hi,

It’s certainly possible to do this without separate consideration for each type. First though, is this at header or line level, or both?

Thanks,

Chris

Intermediate Answered 5 days ago.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor