lli-baan
5th October 2005, 12:22
Hi @ all!

I have a problem with the afs for session timrp12l7m000.
When i come to the point "timrpf12l7m000.continue(error.string)" the error.string gets the value "Input cancelled on field isdt.t"!

I used the AFS very often and until now, there wasn't a problem! Has somebody an idea???

See the code:

timrpf12l7m000.put.orno.f(tmp.long.0)
timrpf12l7m000.put.orno.t(tmp.long.999999)
timrpf12l7m000.put.von_Geplantes_Entnahmedatum.isdt.f(tmp.long.0)
timrpf12l7m000.put.von_Geplantes_Entnahmedatum.isdt.t(tmp.date)
timrpf12l7m000.put.von_Lieferant(llsuc116.suno)
timrpf12l7m000.put.bis.suno.t(llsuc116.suno)
timrpf12l7m000.put.von_Artikelnr.(llsuc116.item)
timrpf12l7m000.put.bis.item.t(llsuc116.item)
timrpf12l7m000.set.report("rtimrp12l701000", PRINTER, error.string)
timrpf12l7m000.continue(error.string)
timrpf12l7m000.end(error.string)

mark_h
5th October 2005, 15:25
Have any patches been applied? In most cases a patch to the tools environment and this will cause function servers to just stop using.

lli-baan
5th October 2005, 15:43
No patches have been installed!
The session runs never until now!!!

mark_h
5th October 2005, 15:52
No patches to the system or changes to the session at all? Was there any change in the function server session? Is tmp.date still in the correct format? Does it happen every time you run it now? Do you have source where you can check timrp12l701000 by putting it in debug mode? You might also want to delete any session defaults you might have on the timrp session.

Sorry about all the questions but usually something has changed some where when a function server just quits working.

lli-baan
5th October 2005, 16:13
• I created the function server dll today, so there is no patch!
• The Session is not changed since at least September last year
• the tmp.date has the right format because I use it in the same session for the function server on the session timrp12l4m000
• it does happen every time
• do you mean the session timrp12l7m000 (no possibility) or the report timrp12l701000 (no report script)
• I deleted all the defaults of the session and i stil have the problem

Thank u for your help so far (I'll will be in vacation until the 16th of Octobre, so if u get no response don't wonder)!

I attached the script, maybe this is better for your understanding!

mark_h
6th October 2005, 15:33
A search turned up these threads (http://www.baanboard.com/baanboard/search.php?searchid=133442). Not sure if the link will work, but I just searched on input cancelled. Also I did not realize that it was just wrote today - I thought it worked and then it just stopped working. Are all fields on the form being filled for that session? Check the library and make sure that date field is being sent correctly.

lli-baan
19th October 2005, 08:43
The link doesn't work, but I tried the same "search" and the threads I found won't help!
The Problem is, I first fill the session timrp12l4m000 (no problems) and after this the session timrp12l7m000 (both with the API in the same script).
So I can't see an mistake!!!

mark_h
19th October 2005, 15:47
Hope you had a good vacation.

At this point I would log a case with the support center. I do not see anything wrong with your code. Baan may already have a fix available.

lli-baan
19th October 2005, 15:50
ok, I will try this!
Thank u for your help!!!