quelle
1st March 2010, 12:08
Hi
I have add form command for session ticst3500m000 to add on a specific menu for session tisfc012m000
But if i open order no SFC000008, then i choose specific - ticst3500m000.
The session ticst3500m000 is not directly show order no SFC000008.
Is there any additional set up for this?
Many thanks i n advance
mark_h
1st March 2010, 16:20
Yes - you would need to change ticst3500m000 to find the order selected in tisfc0120m000(assuming you missed a 0). I am not familiar with these LN sessions or how they work. On 4c4 typically I would put a button on the session to launch the ticst3500m000 session. In the code I would set table fields(or zoom fields) - then launch ticst3500m000. In ticst3500m000 I would either import variables or just execute the find event. So there is more work on the scripts to get them to work - at least in 4c4.
NPRao
1st March 2010, 19:52
If you are on LN tools, try - start.synchronized.child() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_start_synchronized_child)
quelle
2nd March 2010, 03:54
thanks for the updates.
Mark H, im really sorry im not a programmer, and i have to ask the tools person about your suggestion.
To NPRao
i have try synchronized child but it brings error message, i have to learn it again i guess :(.
in ticst3500m000 its use ticst300-orno
while in tisfc0120s000 it use tisfc001-pdno.
How to make ti sfc 0120 s000 can read this orno as pdno?
If i use other session such as ticst0101m100, then it has no problem since both session has a same field pdno.
manish_patel
2nd March 2010, 17:05
Main process=tisfc0120m000, subprocess=ticst3500m000
Change the start option of ticst3500m000 session to 07 (i.e. find.data). If this does not work then try below option:
1. ticst300.orno referes to tisfc001.pdno
In the script of the subsession only the following needs to be programmed:
if background then
execute(find.data)
|(or, sometimes, for type 3 screens: execute(first.set))
endif
There is no need to adjust the main session script in this respect.
2.There is no relationship between table tisfc001 and table ticst300.
In the script of the subsession only the following needs to be programmed:
if background then
execute(find.data)
|(or, sometimes, for type 3 screens: execute(first.set))
endif
You will often also have to re-program the main process in such a way that the primary key fields of the main table for the subprocess are filled.
before.choice:
ticst300.orno = tisfc001.pdno
Hope this will help you.
quelle
3rd March 2010, 03:51
Hi Manish thanks alot