The continuing battle between ME and HTML

Frosty the Coder

Legendary Poster
In my maimed P4210, the client wanted rows locked/unlocked
based on a whole list of different cicumstances.

IE the User/Order Type/Line Type/Next status may be locked
for USERA but unlocked for USERB. USERC may or may not
have the same columns unlocked.

I added a bunch of code at ROW IS ENTERED, to look for these
circumstances and lock/unlock accodingly.
Works FINE on full client.

After a bit, it was noted that this wasn't working in HTML,
and we discovered that on HTML RIE isn't postable.

I added code to ROW EXIT AND CHANGED ASYNCH, at the bottom
of the ER, to get max grid row number and unlock the entire
last grid line (which is the added blank entry line).

They then noted that you could change some columns that
they wanted protected, so I changed the code to only
enable certain columns, about 15 in number.

When processing, HTML only unlocks 11 of the columns specified.

I have P4210 absolutely laced w/an F55DEBUG (every event writes at least once)
to be able to trace HTML.

What I see when processing is that it writes to my debug
immediately before, and immediately after the code to
enable these four columns, yet the columns remain locked.

When you enter a value in an UNLOCKED column, RECA
and return to the line ONE of the four enables.
F55DEBUG still shows the code as dropping right through
these lines.

We looked for/removed all user overrides (that we could see)
on P4210. I have deleted/readded these lines of code several times. We've done several update pkgs/egens/bounces.

I am BAFFLED as to why these four lines of code fail to work.

Any/all relevant suggestions are welcome.

TIA very VERY much.

Gene
 
Put it into debugger and put a stop point at the beginning of your code. Now manually step through EVERY line of code from that point on. Pay especial attention to the last line of code that gets executed. After that last line of code is where you should place your code. There are so many checking and counter checking BSFNs in P4210 that it makes my head spin to contemplate modifying it.
 
How do I put HTML into debugger?

My F55DEBUG shows that the only code executing
after these "enables" is more F55DEBUG code.

I don't see HTML going into other events that would affect this.

Gene
 
Sorry, Gene, I can't help out there. The only thing I know about HTML and JDE is what I read on the List. So, you're saying that the regular debugger for JDE doesn't work with HTML? That s****... uh... I mean stinks.
 
Res: The continuing battle between ME and HTML

OK - another guy w/thick glasses looked at the code.

He found that in ADD LAST ENTRY ROW TO GRID,
I had code trying to ENABLE GC for these particular columns.

When I !'d out THOSE lines, the code in RECA works fine.
I don't understand WHY this caused HTML to function as it did.
I only know that I was able to mark this issue as "resolved".
 
Back
Top