
johndanter
Legendary Poster
Hi folks,
I have a question on the dcLink ND3N bsfns available in E1 and how to set errors that when dcLink is returned to, it doesn't pop messages up on the barcode scanner screen.
I am writing my own custom NER that will be called via dcLink and am looking at how the errors are set.
Now I know they set the behaviour COM (or whatever it is using dcLINKSetUser(BD3NSETU.dcLINKSetUser) and then use JDE system functions to set errors as follows:
Set NER Error(BF szErrorMessageKey_EKEY, <None>)
Set NER Error(BF szErrorMessageKey_EKEY, <None>) (set to 2 for error 1 for warning)
My question is does anyone here know how dcLink interprets this COM error when it's set to either 1 for a warning or 2 for an error?
The issue I have is our DSI developer wants to be told there is an 'error' but doesn't want me to set the return to 2 as he thinks this forces messages to pop up on the barcode scanner screen
They don't want pop up user messages but do want to know something went wrong.
This is a a DSI dcLink question really, but I am hoping someone here has experienced this themselves.
Thanks
John
I have a question on the dcLink ND3N bsfns available in E1 and how to set errors that when dcLink is returned to, it doesn't pop messages up on the barcode scanner screen.
I am writing my own custom NER that will be called via dcLink and am looking at how the errors are set.
Now I know they set the behaviour COM (or whatever it is using dcLINKSetUser(BD3NSETU.dcLINKSetUser) and then use JDE system functions to set errors as follows:
Set NER Error(BF szErrorMessageKey_EKEY, <None>)
Set NER Error(BF szErrorMessageKey_EKEY, <None>) (set to 2 for error 1 for warning)
My question is does anyone here know how dcLink interprets this COM error when it's set to either 1 for a warning or 2 for an error?
The issue I have is our DSI developer wants to be told there is an 'error' but doesn't want me to set the return to 2 as he thinks this forces messages to pop up on the barcode scanner screen
They don't want pop up user messages but do want to know something went wrong.
This is a a DSI dcLink question really, but I am hoping someone here has experienced this themselves.
Thanks
John