Can you turn off Run Out Warning

Is there any way to turn of the Run Out warning. We have quite a few marked to run out and we want to sell out, but it stops the Sales Order entry during paste insert with the warning for every one and they have to choose ok.

Warning

Hi, Create a BPM on Erp.BO.SalesOrder.ChangePartNumMaster and put this in a post processing directive, in a custom code widget:

if(cSubPartMessage.ToLower().Contains("is being phased out")){
  cSubPartMessage ="";
}

Basically you have to empty the warning message, that way it won’t be displayed. The if statement is to check if the message is related to the phasing out. Kind of sloppy, but it works.

2 Likes

Thank you. Have a great day!