jpadilla
7th August 2002, 21:34
Does anybody know if I can run the session ticpr2210m000 or ticpr2220m000 for some items that I have in an ascii file??
Can I sent the list of items that I need to update the price cost?
Regards
JP
mark_h
7th August 2002, 22:04
Well I do not think you can run those sessions with a file. BUT what you could do is create your own session(function server) that would read in the file and run those sessions for you. There are lots of posts in this forum (along with documentation) about Functions Servers. You can search for stpapi or api and find some good ones.
Good Luck!
Mark
~Vamsi
7th August 2002, 22:44
In BaanERP it is done through a DAL. So you should be able to do a dal.start.business.method for each item in the file in a custom program of your own. Perhaps it is similar in Baan IV (a dll?). See the dlls linked to the program script and do a bic_info on them.
jpadilla
9th August 2002, 01:14
How do you use enumerated fields in the function stpapi.put.field??
I'm trying to make it work for the session ticpr2210m000 any help is welcome.
Can I know if the session is running??
Regards
JP
mark_h
9th August 2002, 01:30
Here is a sample:
stpapi.put.field("tdilc4101m000","k.o.order",str$(tdilc.koob.act.sfc))
Just used this to test the other day.
Good Luck!
Mark
PS - One post for the question was really enough. I deleted the other. :) :)
jpadilla
9th August 2002, 01:53
Mark,
This session ask me for a printing device, how do I set Display as the default value??
Thanks
JP