BSFN only works in Debug

Joseph_Sadler

Joseph_Sadler

Well Known Member
[mad]
Greetings all.

We have created an NER that we call from P4210.
The NER is executed and works great, (writing a Min. Chr. record to F4211), so long as we are in Debug mode.
As soon as we turn Debug off, the NER does not add the F4211 record.

Denvor, of course, cannot/will not help us because they "do not support custom changes".

If anybody can shed any light on this anomoly, it would be greatly appreciated.

Our sincere thanks to you all.
Joe and Selvaraj.
 
Hello Joe and Selvaraj,
My humble opinion is that the reason is an asynchronic function.
When you run in the Debug, it has enough time to save the data. I might have had a similar issue; I removed the Asynch check mark in the function. So far it's working. The function if I remember correctly is F4211 End Document in Post button event Clicked of OK button.
Hope it'll help.

Regards, Alex-admin
XE production
ERP 8.9 test
 
Hi Joseph,

Greetings you, too.

1.) What did you debug. I suppose, not the NER but the APPL. Am I right?
2.) Did you placed your BSFN call somewhere the end of ER of the OK- Post Button Clicked Event? Am I right?

If I am right 2 times then:

1.) Check all previous BSFN call prior you call in this event.
2.) Remove all Run Asynchronously check-mark in these calls
3.) Check, is there at least in 1 prior BSFN call where the Include Transaction box is marked.
4.) There is at leat 1 "Include Transaction" call then mark your NER call to as "Include Transaction".

Please, let us (and me) to know your results!

Good luck,

Zoltán
 
Thank you Alex, and Zoltan !!!

Once again we are pleased to "Tip our Hats" to the Masters.
We removed the check in the "Run Async." box from the EndDoc BSFN in P4210 for the &OK button.
AND IT WORKS !!!

And yes Zoltan, your assumptions ,(as usual), were correct.
Thank you both so much, and may piece be yours.
Joe and Selvaraj.
 
If you are placing the NER between begindoc and enddoc functions - it will
the affect will be wiped out by the enddoc, when enddoc actually does its
writing.

Best to make sure your functions follows any enddocs...

Daniel Bohner






Looking for work out west
Daniel Bohner | JDE P/A III | Freelance-JDE/Web/Photo
www.ExistingLight.Net | www.ExtremeSights.com | [email protected]
JDE XE | SP20 | AS/400 | V5R1
 
Back
Top