mjpedreira1
25th January 2008, 09:28
I need to automate the session tpppc2811m000, Maintain costs. Does anyone have any example?

Thanks

mark_h
25th January 2008, 14:03
I have looked at this a little bit today - I am not really sure how you start tpppc2811m000 and then activate something like tpppc2111m000. Do you have source code? You might be able to just activate tpppc2111m000 put fields and do an insert. I am not sure if that will work - typically fields are passed from main to sub-sessions, but if all you want to do is insert data you might get away with starting the sub-session. Something else to think about - if you have enough of the fields you might just write directly to the tpppc table. That is how we chose to do it.

mjpedreira1
25th January 2008, 20:05
Yes, I could insert the register directly in tpppc231, but then I lose the description errors.

Thanks

mark_h
25th January 2008, 22:33
I don't understand - what are the description errors? Anyway to check for those before adding records?

Let us know what happens with the function server! If you have source code that will make it easier on figuring out work arounds.