baanfan
10th June 2002, 15:50
how are function servers exactly used.How do we use the afs-dll created by ttstpcreatdll to maintian sales orders by using VB.And how do we handle the error mess. in the process of creating the sales order lines....?
Like insufficient inventory.bcuz while creating manually a menu appears after the message where we choose the appropriate session.
thank u.
mark_h
10th June 2002, 16:41
We use function servers for mass updates in most cases. For example we to mass bin to bin transfers of inventory from one site to another. So we create a file containing item, warehouse, etc. and then feed it to a function server to transfer all the parts.
The ttstpcreatdll session creates a library which you can call. Sometimes I use libraries and sometimes I do not. Anyway if you plan on using VB, then search through the tools forums for OLE and function servers. There are numerous discussions, examples and documentation.
There are several ways to handle error messages. Sometimes it is easier to check the data before feeding it to a function server, other times the FS will return useful errors that you can take action on. Since we do not use the session you mention I can not really be specific, but I do know others using this forum have created function servers for this session.
Good Luck!
Mark