NER BSFN and return code setting

dhagen

Member
I've created a business function using Event Rules and have been able report errors using the system function "Set NER Error". I would also like to set the return code to a non-zero value to simplify error checking. Is there a way to do this in a NER BSFN?
 
I dont think you can, in NER, set the return value of the function (the SV Error Status field in your calling ER). However, by just adding another parm to your data structure you can accomplish essentially the same thing. Your new parm would be a character field that you set at the same time you send your "Set NER Error" message.

Make sure you have the arrows on your NER call to point back to your ER variable and then check its value.

Good luck.
 
Thanks, that's a good suggestion. I was hoping to use the return code rather than having different methods of checking the success of custom and standard business functions.
 
Back
Top