Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8851

Re: purchase order update

$
0
0

Hi Tang Yan,

 

When updating a document you need to make sure  :

Closing a line + adding a new line in one operation (oOrder.Update) will throw you an error.

This is not supported. You will have this problem also when using the SAP UI.

 

What you need to do is separate the process in two process :

1. Add the new line. then oOrder.Update();

call back the oOrder object then,

2. Close the original line. then oOrder.Update();

 

It has to be in the exact order above.

 

 

Regards

Edy


Viewing all articles
Browse latest Browse all 8851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>