VishalMistry
18th October 2017, 17:48
Hello,
I am facing one strange issue in AFS update of sales order line when I try to update warehouse code in sales order line.
The problem is when I goto session tdsls4102s000 and try to update the desired line, I get the message Purchase Order Already created for pos 20". But, when I try to update the line through AFS, the stpapi.update call does not capture proper message in in error.msg variable and the variable remains blank.
I am attaching screen shot of the error and script. I shall be grateful if anyone can point out the mistake and suggest improvement in the code.
Vishal
I am facing one strange issue in AFS update of sales order line when I try to update warehouse code in sales order line.
The problem is when I goto session tdsls4102s000 and try to update the desired line, I get the message Purchase Order Already created for pos 20". But, when I try to update the line through AFS, the stpapi.update call does not capture proper message in in error.msg variable and the variable remains blank.
I am attaching screen shot of the error and script. I shall be grateful if anyone can point out the mistake and suggest improvement in the code.
Vishal