amtolo
3rd October 2002, 18:52
In baan iv c4, for the session tdpur4120m000 I create a library with ttstpcreatdll.
In this DLL insert function does not exists, and I don't know if I have to insert the fields in the same order and using the corresponding zooms, to other sessions, simulate the original session.
The function <DLL>.handle.sub.process(......), How can I use?.
:confused:
Thanks.
mark_h
3rd October 2002, 19:34
I think if you search this forum you will find several posts on this session(Use keyword receipt). Here is one (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=696&highlight=receipts) . Maybe Srinivas will stop by and enlighten us to his solution. In my part of the post it was just a simple create a receipt. I have a feeling I will soon be developing a complete FS for this session and a couple of others.
Mark
lbencic
3rd October 2002, 19:45
The session tdpur4120m000 does not have the 'Insert' button active, so the dll did not create one.
I have not worked on that session, but the general rule in AFS is to perform the actions how you would in the regular session. So, yes, you must use the change view and zooming options to get the record in using this session.
The function handle.sub.process... is to register subsessions with the AFS, and tell it what mode to use when it encounters a zoom to that session. Read the afs manual about the modes (Search for 'afs.doc' on these boards to get a recent manual).
The handle.sub.process just registers the session, it does not call it. You must issue the handle.sub.process command while the parent process is active, and before the logic encounters a zoom to the subsession.
Hope something in there helps. Good luck.