E.Toniolo
20th February 2002, 19:10
Hi,
I have the necessity of unlocking a warehouse lot through the Tdltc0122m000 session using the Function server.
However I am not able through AFS to select a particular lot.
Some advice?
Thanks in advance.
Emanuele
popeye
20th February 2002, 19:28
First do a put() for the 5 fields (Project, Item, Container, Lot, Reason). Then do a find(). If the record is found, find() will return a value of 1. Then do ur processing.
for e.g. (check the FS DLL for the exact Function names)
project.put()
item.put()
container.put()
lot.put()
reason.put()
ret = fs.find()
if ret = 1 then
do ur processing
else
record not found
endif
Hope this helps.
E.Toniolo
21st February 2002, 11:36
Thanks, now it works, the problem was due to my wrong documentation of AFS.
The Return code for the Find command shows:
1 Not found record
2 Record found
2 A record different to one requested was found (???)
My documentation on AFS is the edition 0.2 2000/01/21, does a more recent version exist?
Bye
Emanuele
popeye
21st February 2002, 20:54
Check the attached file.