Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Error updating warehouse in tisfc001 through AFS

$
0
0
Hi all,

I am trying to change warehouse in production order through AFS. I am passing production order number and project using stpapi.put and checking the return value of stapi.find. I am able to find the record, but when I am trying to update the warehouse by passing new warehouse in stpapi.put, I am getting an error message when I call stpapi.update. The error message is "Item not found".

When I run the session directly and try to update the warehouse in same production order, I am able to do it. I have attached screen that performs warehouse update in tisfc001.

I have attached script for reference.

Shall be grateful if anybody can point out the error.

Vishal

Attached Files
File Type: cln tisfc001_update.cln (4.8 KB)

Viewing all articles
Browse latest Browse all 4216

Trending Articles