Error while transfer a stock from one warehouse to other warehouse using BOI

SUGGESTED

Hi All,

I am working on a task where I need to transfer stock from one warehouse to other warehouse using BOI interface script but I am getting the error "ŠA valid warehouse must be entered at the Transfer To Warehouse field". Is anybody has any idea regarding this error? 

Please give me some hint or solution if you know.

Thanks in advance.

SF