Stop Validation on Cancellation Documents Answered

I have created a validation on GRPO add mode that notifies the user that an incoming item requires quality inspection. However the validation also activates when creating a cancellation document. 

Is there any way to prevent this? 

Comments

2 comments

  • Comment author
    Morten Lilbæk Pedersen
    • Edited
    • Official comment

    Hi Jonathan,

    You should be able to check the DB Datasource to figure out if you are about to add a Cancellation document.

    This validation only triggers when it is not a cancellation document.

  • Comment author
    jonathan crawford

    That is brilliant, thank you so much. Works like a charm. 

    Thanks again.

    0

Please sign in to leave a comment.