Pre-Processing directive to stop processing without error

I would like to put a Pre-Processing directive on the Erp.CustShip.BuildShipToList that will stop the method processing based on a conditional. The only way I can find to stop the processing is to throw/raise an exception. This would work if it could be done without displaying an error.

I want the processing to stop and the user to not have any clue that it stppped.

Thanks,
Scott

Unsolicited feedback:
That seems like an effective way to cause end users to call you when this silent exception message --they think something should work, and it doesn’t, and there isn’t any indication that they are doing something they shouldn’t.

3 Likes