How can I stop a method from running

I want to stop the method Erp.SalesOrder.ChangeNeedByDate. Is there a way i can do that?
I am Cloud MultiTenant.

Thanks!

Are you trying to prevent changes to the NeedBy on the OrderHed?

Or from changes to the header value from propagating to lines/releases?

I have done a BPM on Base with blank custom code to override a few items.

I would like to figure out how to do both.

This may be an alternative depending on what you are really trying to accomplish. Check your Security Menu for an item called Service Security Maintenance. You can apply granular security down to the method for BOs like Sales Order.

1 Like

Oh, this is good to know. Now I cannot remember, does “Disallow Access” override the “Alllow Access”??

So adding the security displays a popup for the users saying that access in denied what changing the date.

Pretty sure Disallow does override Allow - like if they are in a security group that allows, but you add their name to the disallow - they will be denied - pretty sure, but I’d have to check again (we dont’ really use Disallow anywhere).