Hello all,
I am trying to run session tcqms1204m000 (Process Inspection Orders) but, doesn't work, no error, no nothing.
The session has three forms. Running the session manually; I noticed that when hit continue on form 1,
the session jumps to form two to request for fields values(I enter them) and then hit continue (on form 2) and works.
I tried to mimic the same process with api's and does nothing this session.
"
Any ideas?
Thanks,
I am trying to run session tcqms1204m000 (Process Inspection Orders) but, doesn't work, no error, no nothing.
The session has three forms. Running the session manually; I noticed that when hit continue on form 1,
the session jumps to form two to request for fields values(I enter them) and then hit continue (on form 2) and works.
I tried to mimic the same process with api's and does nothing this session.
"
HTML Code:
stpapi.put.field("tcqms1204m000","mpro.f",str$(etol(tcqms.mpro.by.origin)))
stpapi.continue.process("tcqms1204m000",error.mess) |-->> first continue
stpapi.put.field("tcqms1204m000","orgn.f",str$(etol(tcqms.orgn.purchase)))
stpapi.put.field("tcqms1204m000","orgn.t",str$(etol(tcqms.orgn.purchase)))
stpapi.put.field("tcqms1204m000","orno.f",str$(i.orno))
stpapi.put.field("tcqms1204m000","orno.t",str$(i.orno))
stpapi.put.field("tcqms1204m000","pono.f",str$(i.pono))
stpapi.put.field("tcqms1204m000","pono.t",str$(i.pono))
stpapi.put.field("tcqms1204m000","opno.f",str$(i.opno))
stpapi.put.field("tcqms1204m000","opno.t",str$(i.opno))
stpapi.put.field("tcqms1204m000","srnb.f",str$(i.srnb))
stpapi.put.field("tcqms1204m000","srnb.t",str$(i.srnb))
stpapi.continue.process("tcqms1204m000",error.mess)| ->> second continue"
if not isspace(error.mess) then
message(error.mess,0)
stpapi.end.session("tcqms1204m000")
return(false)
endif
stpapi.end.session("tcqms1204m000")
Thanks,