togori
5th February 2008, 18:13
Hi everybody, I hope you are fine, I have been working with the afs in LN and the last weed I have an error about tools in the execution of the automate process that I did.

Could you please help me to know what it means this error.

Thanks for your attention and help.

Ricardo Torres

mark_h
5th February 2008, 18:17
I do not recall ever seeing an error like that one - have you reported it to Baan?

togori
5th February 2008, 18:46
Hi Mark, yes I reported to Baan but they did not give a specific answer about, this error is show when I call a child session from the parent, but my afs code is correct for the declaration using the stpapi.synchronize.dialog.

mark_h
5th February 2008, 19:47
Well from what I have heard on LN people typically use the DAL(???) libraries. I really do not know anything about LN, but maybe if you post your code someone will see something.

ecoman68
7th February 2008, 10:45
Hi Togori,

like Mark said, it would be helpful, if you post a part of your code.

btw: of course you didn't forgot the "stpapi.handle.subproc(...)", or?

...
stpapi.put.field("dtfsa1501m000", "dtfsa101.seno", str$(i.seno))
ret = stpapi.find("dtfsa1501m000", error.msg)
if ret = 1 then
stpapi.handle.subproc("dtfsa1501m000", "dtfsa1201m000", "add")
stpapi.zoom.option("dtfsa1501m000", 2, "dtfsa1201m000", error.msg)
stpapi.continue.process("dtfsa1201m000", error.msg)
endif
...

Cu,
Ecoman68