AFS insert salesorder
Via AFS I am able to insert a new salesorder via tdsls4101m000. Todo this I add the orderserie/ type of order and customernumber and then use stpapi.insert, which correctly adds a new salesorder. But after the insertion of the header of the salesorder I need to insert the lines of the order. And need to know the ordernumber just inserted.(or don't I?)
I tried to use use the stp.get.field of the field tsdld040.orno, but get back the same orderserie I started with, but never the newly created number.
Anybody having an example or idea what I should do?
Moved to the correct forum. I always recommend searching the AFS forum for the session you are working on - a lot of posts around tdsls4101m000. See the last post http://www.baanboard.com/baanboard/s...=tdsls4101m000 on this link. I think it should how one other user did something like this.
|All times are GMT +2. The time now is 07:34.|
©2001-2017 - Baanboard.com - Baanforums.com