P4210 - Substitutes/Complementeries not getting into cache

Frosty the Coder

Legendary Poster
In P4210, both fudged and vanilla, we're finding that when you select
multiple complementery items and press OK,
these items are not making it into cache in time for P42232 (Ord Acceptance).

Only the last grid row inserted processes the P4210 RECA to get into cache.
The others process RECA _after_ returning from P42232.

I haven't searched the KG for this, and w/the #of mods that P4210 now has an ESU would be ugly.

Is there a way for me to force RECA to process for each of the inserted rows prior to OK?
 
Easiest way around this problem is to:
1). When multiple complementary items taken, set on a flag
2). In OK,
if complementary item flag on,
set off complementary flag
set on flag force ok error
press ok
clear error msg from ok
set off force ok error flag
end if
if force ok error flag on
set on error message "System in process" (may have to create a new error message - and MUST be an error message).
end if



And that should hopefully solve it (unless you are running this on html.
How this works, is the the tool only processes rows that have chgd and not yet run through row is exited async, after the OK event (before the post ok event).
So by forcing a call to OK with an error message, the tool will process the pending lines.

For html, the only way I got this to work, was to copy row to buffer, store grd variables, delete row, insert row from buffer, and then manually set the grd field back.


Hope that helps,
 
Back
Top