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

User login

Frontpage Sponsor


As a Customer What would do to keep your ERP Implementation intact
Proactively define Business Process-- Take the Project Ownership
Handover everything to System Integrator from drawing BP till implementation of ERP
Hire more inhouse skilled & capable IT Resource to work directly with SI
Rely on SI Architects/Consultants
Total votes: 6

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 23rd May 2019, 22:24
patotools patotools is offline
Junior Member
Join Date: Nov 2010
Posts: 4
patotools is on a distinguished road
Baan: Baan IV c4 - DB: Oracle 10G - OS: Linux
AFS open session with different index

We have Baan IV c4 SP 32.

We are using AFS to do deliveries session tdsls4120m000.

For some item we deliver using the pick list (Index2) so we changed the indexes in the session so the default index is 2 - Pick List. But for Cost Items we need to use Index1 - Sales Order and position.

I found the command

ret.code ="tdsls4120m000", "1", mensaje.error)

But ret.code returns value 0.

Has anybody use this command. Or how have you solved the problem.


Reply With Quote
Old 27th May 2019, 02:50
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,460
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Never new that command existed. But just testing on tppdm0101m000 I do not get an error and the return code is 0. In your example you are changing to the default order by of 1. Do you mean to try something else? I change the item master to 3 and then I put purchased and the item - it seems to work but not sure.

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
Old 28th June 2019, 21:59
younes74 younes74 is offline
Join Date: Aug 2018
Posts: 2
younes74 is on a distinguished road
Baan: 10.4 - DB: sql - OS: Unix
use this 2 command to get what you need

session.zoomindex = 2 = start.synchronized.child( "your session name" ,"index field" , "value","index field" , "value","index field" , "value","index field" , "value")

Note :
session.zoomindex is a global variable you do not need to declare it. is type long hold the session ID

Next time you want to call the session again you just need to call

Oh before for end your program kill all the session child. This a clean programing

function stop.synchronized.children()
if then
dummy.return = stop.synchronized.child(
I hope this would help
Reply With Quote

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
Zoom Menu Return Multi Value layswan Tools Development 3 24th July 2012 09:42
AFS waiting timed out (frozen) jp.aalders AFS/DDC/OLE: Function servers 4 20th December 2011 20:48
zoom to correct business partner jojovalenton Tools Development 5 14th October 2009 10:26
How can handlle AFS when caller session open 2 reports pruthirajpahi AFS/DDC/OLE: Function servers 3 8th October 2007 14:59
Excute a form command of AFS session en@frrom AFS/DDC/OLE: Function servers 4 30th May 2005 14:54

All times are GMT +2. The time now is 03:23.

©2001-2018 - -