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?

Thanks

VishalThoughts Beginner Asked on July 21, 2021 in Other.
Add Comment
1 Answers

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 on July 22, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.