spartacus
6th February 2003, 11:33
I have a synchronized dialog ( a mocc display session, and a single occ maintain). If I insert a record with the new button (add.set), and come back from maintain session, the mocc shows only the entered record.
I think that is standard behaviour. But anway. My customer would like to see all records, the newly inserted one on the top.
Is there an easy was to reach that?
Thanks
Spartacus
Paul P
6th February 2003, 11:49
Dear Spartacus,
Please try the mighty F5 button (Refresh) :)
Rgds,
Paul
spartacus
6th February 2003, 12:18
Dear Paul,
thanks for this advice. But the customer would prefer, if he had not to press F5
Spartacus
OmeLuuk
6th February 2003, 13:10
spartacus: Is there an easy was to reach that?Make your Support Center deliver you a new version of the standard program that solves this - maybe they need to make a defect first. This is stp behaviour.
spartacus
6th February 2003, 13:36
Hi OmeLuuk,
thanks, this is the answer I'm waiting for :D
Thanks
Spartacus
OmeLuuk
6th February 2003, 16:58
specially the easy part...
NPRao
6th February 2003, 22:11
I think there is an undocumented tools function called refresh.parent(-1)
You can also try the other choice options like -
06 def.find Find a specific record on key 1234 ---4 1234
07 find.data Start the set from the current data in the program script. Use: after import of data in a zoom process. (refresh)
and use it as execute(find.data) or look up for this function - refresh.curr.occ() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_refresh_curr_occ)
Also refer to - synchronizing different occurrences on parent session from child (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=6419&highlight=executefind.data)
maxime
6th February 2003, 23:17
This is achieved on the Purchase Order Header and the Sales Order Header Scripts (There may be lot of other scripts but these are the ones that I use frequently :D )
Hope this helps !!
Maxime.
spartacus
7th February 2003, 12:14
Hi NPRao,
thanks for the undocumented functions. Because the problem from above seems to be "standard" or a "feature" I will not try to change this behaviour.
But thanks for now, for this function.
Spartacus
OmeLuuk
9th February 2003, 01:04
The refresh copies the internal (bshell) data to the client screen (like internal terminal window and external terminal).