Go Back > Forum > Baan SIGs > AFS/DDC/OLE: Function servers

User login

Frontpage Sponsor


Google search

How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 41

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 24th July 2017, 13:03
subesse subesse is offline
Junior Member
Join Date: Dec 2006
Posts: 5
subesse is on a distinguished road
Baan: Baan Iv c4 - DB: bisam - OS: sun solaris
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?

Reply With Quote
Old 24th July 2017, 14:45
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,178
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
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 on this link. I think it should how one other user did something like this.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AFS - insert record in whinh5120m100 eric.dizon AFS/DDC/OLE: Function servers 13 31st October 2016 16:14
AFS Sales Order Insert eric.dizon AFS/DDC/OLE: Function servers 3 11th June 2014 23:46
AFS for Insert record in tirou101 sghatge AFS/DDC/OLE: Function servers 9 21st August 2013 05:41
Insert Data to tcibd001 using AFS layswan AFS/DDC/OLE: Function servers 17 6th February 2012 15:16
how to insert record in type3 form via AFS??? alibaba AFS/DDC/OLE: Function servers 5 17th September 2004 05:19

All times are GMT +2. The time now is 17:43.

©2001-2018 - -