Getting better Error Messages and debugging the F0911 EditLine

KevinCourtney

Active Member
Hello,

I have a several processes, UBEs and Table Triggers that create F0911 G/L entries using the F0911 BeginDoc, EditLine, and EndDoc (B0900049).

I examine the cErrorFlag parameter that returns a ‘2’ if there is an error and then report back to the user that the “Edit Line Failed”

This really isn’t enough information, I need to know why the EditLine failed then report back to the user ‘why’, like; “Invalid Account Number”, “Invalid date, G/L Period closed”, etc., etc.

Do any of you have any suggestions on how I can get more detail on why the EditLine failed? Whether it is in one of the EditLine parameters or messages in the workcenter…

If I can’t get this info in the event rules do any of you have suggestions on debugging the EditLines that fail? I’ve tried using the jdedebug.log with limited success and now am resorting to the C++ debugger…

Any suggestions or ideas are appreciated.

Thanks,
 
Check your workflow messages if they are setup correctly
----- Original Message -----
From: "KevinCourtney" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 19, 2004 12:01 PM
Subject: Getting better Error Messages and debugging the F0911 EditLine


F0911 G/L entries using the F0911 BeginDoc, EditLine, and EndDoc
(B0900049).I examine the cErrorFlag parameter that returns a '2' if there is
an error and then report back to the user that the "Edit Line Failed"This
really isn't enough information, I need to know why the EditLine failed then
report back to the user 'why', like; "Invalid Account Number", "Invalid
date, G/L Period closed", etc., etc.Do any of you have any suggestions on
how I can get more detail on why the EditLine failed? Whether it is in one
of the EditLine parameters or messages in the workcenter.If I can't get this
info in the event rules do any of you have suggestions on debugging the
EditLines that fail? I've tried using the jdedebug.log with limited success
and now am resorting to the C++ debugger.Any suggestions or ideas are
appreciated.Thanks,
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=OWDEV&Number=68209
these messages, login to http://www.jdelist.com/forums, click Control Panel,
then click Edit by "Subscribe / Unsubscribe from receiving board posts by
email, change message notifications, etc." and adjust your subscription
preferences. JDEList is not affiliated with JDEdwards®
 
Kevin,

I can help you with the UBEs. Look a JDE BSFNs B0100025 and B0100011. To see an example of how they are used look at the JDE UBEs that process inbound Z tables, many of them use these BSFNs....or better yet, as I know what data collection product you use, look at any of data collection transaction processing UBEs.
 
Back
Top