jojovalenton
5th November 2014, 10:43
hi,
anybody who has existing afs scripts on how to open stock point invty session from the line position field button inside material to issue for production orders. thanks.
regards,
jojo
bhushanchanda
5th November 2014, 10:51
Hi,
Why do you want to open the session? You can do a select to get the Lot and then update it.
mark_h
6th November 2014, 00:15
Just caught this - since I am not familiar with those sessions, you can always search this forum for the session name. You might get some hits and examples to look at.
jojovalenton
6th November 2014, 07:31
thanks mark and bhushan i will try your suggestions but i encountered another error in related sessions as shown in attachment, i don't know how it came from when it is just searching the session.
thanks,
jojo
bhushanchanda
6th November 2014, 10:53
Hi,
As suggested, try the related threads:-
Thread 1 (http://www.baanboard.com/baanboard/showthread.php?t=24204)
Thread 2 (http://www.baanboard.com/baanboard/showthread.php?t=49321)
On what session are you trying to do AFS? At some places, DAL could be a good solution as well.
Also, found a thread posted by you. Thread (http://www.baanboard.com/baanboard/showthread.php?t=66296)
mark_h
6th November 2014, 15:04
The thing I found interesting is that in your screen shot you are running a command to put something to ticst0101m000, but the error is can't continue tinpc0201m701. Almost like a sub-session is currently in control versus the main session.
jojovalenton
6th November 2014, 15:44
thanks bhushan. i used the dll of the session and includes all input fields and works.
regards,
jojo