jdeman
Active Member
\"EndDoc\" locks records ??
Friends,
Need some input. Following is the scenario:-
This is related with Purchase Order Entry. Let me explain technically.
The "EndDoc" MBF is called in the "OK" Button's "PostButtonClicked" event of Header Detail Form. I put a breakpoint (Debug) just
after the EndDoc call I could see the records created by the "EndDoc" in the table (PO Detail-F4311) using UTB/SQL .
If I try to perform any type of Table-IO (say Fetch) on these newly created records just after the MBF call ,it errors out.
However the Table-IO is succesfull in the event "End Dialog" of the Form.
Are the records locked by "EndDoc" or the "Event" itself or something else ???
1. It happens in all the ENV (Prod/CRP) on (FAT Client)
2. It does not happen on my DEMO Jr.
3. My friend reported similar problem at another client site but one of my other friend did not have this problem.
Did you guys experienced this problem earlier.
Any suggestions.
TIA
jdeman
OW-XE (SP-16.1) WINNT
Co-exist AS/400
(Background - We need to store some data in the user reserved fields of the PO Detail F4311. Since the "EditLine" MBF does not
update the user reserved fields in F4311 I have to put a mod to update the detail records using Table I/O. Therefore using Table-IO "Update statement" just after "EndDoc" MBF call)
Friends,
Need some input. Following is the scenario:-
This is related with Purchase Order Entry. Let me explain technically.
The "EndDoc" MBF is called in the "OK" Button's "PostButtonClicked" event of Header Detail Form. I put a breakpoint (Debug) just
after the EndDoc call I could see the records created by the "EndDoc" in the table (PO Detail-F4311) using UTB/SQL .
If I try to perform any type of Table-IO (say Fetch) on these newly created records just after the MBF call ,it errors out.
However the Table-IO is succesfull in the event "End Dialog" of the Form.
Are the records locked by "EndDoc" or the "Event" itself or something else ???
1. It happens in all the ENV (Prod/CRP) on (FAT Client)
2. It does not happen on my DEMO Jr.
3. My friend reported similar problem at another client site but one of my other friend did not have this problem.
Did you guys experienced this problem earlier.
Any suggestions.
TIA
jdeman
OW-XE (SP-16.1) WINNT
Co-exist AS/400
(Background - We need to store some data in the user reserved fields of the PO Detail F4311. Since the "EditLine" MBF does not
update the user reserved fields in F4311 I have to put a mod to update the detail records using Table I/O. Therefore using Table-IO "Update statement" just after "EndDoc" MBF call)