• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

How to check if there's any error raised before proceeding?

Andrew2009

Well Known Member
In my app, I have two buttons A and B. A calls B. Within B, it might raise some errors if necessary.

Within A, I don't want to proceed if B set any control error. How do I do that?

JDE 9.2
 

johndanter

Legendary Poster
It depends on how you are setting your errors, yourselr of in a BSFN you've called but there is an internal flag called SV Error_Status.
It's usually CO ERROR CO SUCCESS or CO WARNING.

Try that?
 
Top