billbasic
Member
I have a custom application that is calling the master business functions to perform a work order completion. In certain scenarios (I won’t go into details), the “End Doc” (B3100770) function returns a “Form Level” error to the application that needs to be cleared. This error is set by another business function several levels deep within “End Doc” and is set by calling the “jdeSetError” API. In the standard WO completion application (P31114) this same error occurs; however, is never displayed because “End Doc” is called in the “OK” button “Post Button Clicked” event. You’ll have to trust me (you’ve probably heard that before) but this error is not actually an issue and the WO completion is processed successfully.
In the custom application, the user must remain in the form and the error should not be displayed. For those of you that would ask, there is not a parameter on the “End Doc” function to suppress errors. I wrote a small business function (called directly after “End Doc”) to call the “jdeErrorClearEx” API; however, it does not seem to clear the error (may be to late in the process???). Any assistance would be appreciated.
In the custom application, the user must remain in the form and the error should not be displayed. For those of you that would ask, there is not a parameter on the “End Doc” function to suppress errors. I wrote a small business function (called directly after “End Doc”) to call the “jdeErrorClearEx” API; however, it does not seem to clear the error (may be to late in the process???). Any assistance would be appreciated.