I have a pre-processing method directive on sales order update to check if the order review checkboxes have been checked and then set the line on hold checkbox based on that. I think my logic is sound but I am getting unexpected results. I’ve tried with post processing and data directives. I’ve deleted everything and started from the beginning. I can’t figure out where the issue is
I think Jason’s probably nailed the issue. If I had custom code logic doing what you’re trying to do, I’d need the condition looking at RowMod.
Usually if you’ve got a widget type item like “specified constant”, you don’t need to add the quotes around it as Epicor’s BPM logic will wrap the quotes around what you put in. I think it’s not consistent in 100% of the cases. If you just enter U without the double-quotes around it, it will give you an error if you need it.
Also, you might want to consider creating your own field names for the checkboxes, so call them “Appv_InitialSales_c”, “Appv_Engineering_c”, and so on instead of CheckBox08, CheckBox09, etc. You and people who follow you will thank you for it. I realize you may have inherited this and those checkboxes are embedded all over your system, but might be worth the effort to move them.