P-J
Member
This was posted previously with no viable answers, so let me try to post again in a different manner.
We are running JDE 8.9. We’ve built a custom batch ship confirm process that performs the basic functions of P4205 within a UBE that handles all the shipments picked up from our various WMS applications. Everything is great EXCEPT that when one of the called business functions (e.g. F42UI05 Edit Line) throws an error and set and NER ERROR internally, only a 0,1,2 is passed back to indicate that an error has occurred. The BSFN does not return any details of the error. This is a problem in that we only have visibility that an error occurred and not the specific cause. HOWEVER, if you replicate the same error condition in P4205 (ship a unit for a quantity greater than what’s on hand for instance), the BSFN throws the error and at the bottom of the screen the error indicator appears and if you double-click it, the window appears along the bottom that displays ALL of the errors and warnings that were set by the BSFN. This is not a property of the P4205 specifically, and the errors are not passed back through the BSFN template, but instead appear to be cached by the SET NER function within the BSFN, making them available to the calling application.
The only reply to the last post was that this cannot be done within a UBE, and that we should modify the BSFN and Template to return the data item for the detailed message. First, this is pretty intrusive and creates mods that we don’t really want to “own” long term. Secondly, it seems that there really should be a way to do this. We also use the webMethods E1 adapter for certain pieces of integration, and part of the E1 adapter allows you to call BSFNs externally. One of the properties of this E1 adapter is that in addition to returning the parameters within the BSFN Template, it also returns (as additional information) the list of warnings and errors thrown by that BSFN call. If this adapter can interrogate and return those messages, it seems that it should be able to be done within the four walls of JDE as well.
If anyone has done this, or knows of it being done within a UBE, or has suggestions, PLEASE let us know.
Thanks.
We are running JDE 8.9. We’ve built a custom batch ship confirm process that performs the basic functions of P4205 within a UBE that handles all the shipments picked up from our various WMS applications. Everything is great EXCEPT that when one of the called business functions (e.g. F42UI05 Edit Line) throws an error and set and NER ERROR internally, only a 0,1,2 is passed back to indicate that an error has occurred. The BSFN does not return any details of the error. This is a problem in that we only have visibility that an error occurred and not the specific cause. HOWEVER, if you replicate the same error condition in P4205 (ship a unit for a quantity greater than what’s on hand for instance), the BSFN throws the error and at the bottom of the screen the error indicator appears and if you double-click it, the window appears along the bottom that displays ALL of the errors and warnings that were set by the BSFN. This is not a property of the P4205 specifically, and the errors are not passed back through the BSFN template, but instead appear to be cached by the SET NER function within the BSFN, making them available to the calling application.
The only reply to the last post was that this cannot be done within a UBE, and that we should modify the BSFN and Template to return the data item for the detailed message. First, this is pretty intrusive and creates mods that we don’t really want to “own” long term. Secondly, it seems that there really should be a way to do this. We also use the webMethods E1 adapter for certain pieces of integration, and part of the E1 adapter allows you to call BSFNs externally. One of the properties of this E1 adapter is that in addition to returning the parameters within the BSFN Template, it also returns (as additional information) the list of warnings and errors thrown by that BSFN call. If this adapter can interrogate and return those messages, it seems that it should be able to be done within the four walls of JDE as well.
If anyone has done this, or knows of it being done within a UBE, or has suggestions, PLEASE let us know.
Thanks.