rohan_rege
18th September 2002, 17:22
Hi ,
I am using stpapi.find in the session tfacp1131s000 , after
putting the following values.
stpapi.put.field("tfacp1131s000" , "tdpur045.orno" ,str$(orno))
stpapi.put.field("tfacp1131s000" , "tdpur045.pono" ,str$(pono))
stpapi.put.field("tfacp1131s000" , "tdpur045.srnb" ,str$(srnb))
ret = stpapi.find("tfacp1131s000")
i have verified that the value i am putting in the Key fields do exist.
But the stpapi.find returns a zero , with the error message string empty .
I also tried using stpapi.browse.set with the first.set option, but it also returns zero with the error message set to empty.
Note : I have written the script for a company 100 which is a Finance Company....
the tdpur045 table data doesnt reside here ...but in the logistic company 110.....is this why the problem exist...???
Any Suggestions ??????
Rgds,
Rohan Rege
I am using stpapi.find in the session tfacp1131s000 , after
putting the following values.
stpapi.put.field("tfacp1131s000" , "tdpur045.orno" ,str$(orno))
stpapi.put.field("tfacp1131s000" , "tdpur045.pono" ,str$(pono))
stpapi.put.field("tfacp1131s000" , "tdpur045.srnb" ,str$(srnb))
ret = stpapi.find("tfacp1131s000")
i have verified that the value i am putting in the Key fields do exist.
But the stpapi.find returns a zero , with the error message string empty .
I also tried using stpapi.browse.set with the first.set option, but it also returns zero with the error message set to empty.
Note : I have written the script for a company 100 which is a Finance Company....
the tdpur045 table data doesnt reside here ...but in the logistic company 110.....is this why the problem exist...???
Any Suggestions ??????
Rgds,
Rohan Rege