rohan_rege
16th August 2002, 10:34
AFS : do we need BOI installed to use AFS

can maintain transactions be automated thru AFS ?

mark_h
16th August 2002, 14:58
I am not sure about the BOI's. But yes maintain transactions can be automated throught the AFS. See the private message I sent you.

Mark

arunprasath
16th August 2002, 16:11
Hi,
There is no need of any installation of BCK(BaaN connect Kit) which will help in developing a BOI.
You can go forward writing AFS without it.
Regards,
s.arun prasath

nick_rogers
16th August 2002, 18:09
what exactly is AFS ??

nick_rogers
16th August 2002, 18:19
never mind I found the AFS.doc....

mark_h
16th August 2002, 18:21
AFS is Application Function Server. You can download (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=6211) the document and read on this programming technique.

Mark

GAURAVGUPTA9
17th August 2002, 08:31
hi all
do i have to install something to use AFS. when i am creating a session it is giveing error that ttstpapihand library not found.
wot should i do plz help
Regds

ulrich.fuchs
17th August 2002, 10:54
The Application function server (or - to be precise: the Baan DLL ttstpapihand) is basically a remote control for Baan Sessions.

You have to write code (programming!) to access those functions. Within that code you can for example:
Open the session "Maintain Supplier Invoice"
Put the value "123423" into the field supplier number,
Put the value "1000,-" into the field value
"Press" the continue button
Put the field "990000" into the field "Account" of the opening subsession
Leeave the sesion again.

So you basically let a software program do what normally a user does with the session. The session never really "opens" on the user screen, but Baan behaves as it would have been and a user would have typed in all the values. So you get the complete application functionality by this. Terminology for this is: To run that session in "Api-Mode".

That is the basic technique. Now, above that basic level, there is a higher level access method:

With DLL ttstpcreatdll you can create a DLL for a session that maps that basic functions (where you use the field name as a method parameter) into a DLL where you have a seperate function for each field (so instead of saying ttstpapi.put.field ("tiitm001.item", "112345") you are now saying mydll.put.field.tiitm001.item ("1112345"). That's not really a great step.
However, from the terminology, I think that is what Baan actually calls the "Application Function Server": A sperate DLL for each session you want to control remotely.

Hope that clarifies that part a bit.

Uli