som.papai
31st August 2007, 07:35
Hi, all
I have problems to write process payment AFS.
I give attachment plz sir check it.
I need a solution.
Regards
Sudipta Som :(
Dhananjay
31st August 2007, 09:10
Hi Som,
First of all check it out whether the data is present in the corresponding table, if yes then try to run that session from the run program and check, whether you are getting the error or not. Still you get the error then the problem is not with AFS.
pconde
31st August 2007, 10:40
Hi.
your code
stpapi.find("tfcmg1240m000", error)
stpapi.put.field( "tfcmg1240m000", "batch", str$(batch))
stpapi.continue.process("tfcmg1240m000", error)
replace by
stpapi.put.field( "tfcmg1240m000", "batch", str$(batch))
stpapi.find("tfcmg1240m000", error)
stpapi.continue.process("tfcmg1240m000", error)
the put must be done before the find!
Regards
som.papai
31st August 2007, 11:58
Hi all,
I have check in table,but the problems still there.
and i change the sequence but the problems still there.
Regards
Sudipta Som
mark_h
31st August 2007, 14:49
I am not sure you are going to be able to automate this session this way. From just looking at your code it looks you start with tfcmg1240m000 and then it automatically zooms to a session, which automatically zooms to session, etc. In some cases reports (or multiple reports) are involved. I am not sure you can control this series of sessions this way. You might be able to control 1240 and 1250, but tfcmg1255 looks like it starts automatically executing - which means you really do not have control of it. There have been several discussions about these type of sessions.
So do you own source code? If so I would start by putting all the sessions in debug mode and working issues from one program to the next. If you do not have source do you have one of the source extenders(Qkey, RMCis, etc.)?