jack786
14th November 2004, 06:02
Can any body explain me ,How the salesorder header and details sessions are working exactly??

what I observed is when I open the details session from the salesorders session the parent session is becoming invisible but in the memory that is still there.Same thing is happening in the case when we close the details
session (still lying in the memory).but it shows header session.

How to achive the above functionality.

rgds,
jack

NPRao
14th November 2004, 19:58
Refer to - substitute.session() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_substitute_sessions_substitute_session)

smanohar
17th November 2004, 00:22
Unfortunately in B4.0c, that is not how it works. May be in B5.2a and above.



sales order header:

choice.cont.process:
- Activate sub session using activate() function
- Use switch.to.process() function to switch to the order line

sales order line:
choice.end.process:
- Use switch.to.process(parent) function to switch to header.


In this you can alternatively switch between activated processes. But, before existing from header, the activated child process has to be killed.