Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2010, 12:00
SimonPStevens SimonPStevens is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
SimonPStevens is on a distinguished road
Baan: Baan 5 - DB: Microsoft SQL Server - OS: Microsoft Windows
Baan API information
Baan: Other/Unknown
C/S: None/Unknown

Hi,

I've inherited some Baan code and I'm having trouble finding learning resources on it.

The code is using COM calls to instantiate an object and calling ParseExecFunction. This I understand fine (I'm a c++/c# developer normally)

The strings being passed to ParseExecFunction look like this:

dllName = ottstpapihand
functionCall = stpapi.put.field("sessionname","fieldname","data")
functionCall = stpapi.insert("sessionname",1,"errmessage1")

Now I can tweak the existing code, modify the sessions, fields and data, but I'm looking for more information about what other functions are available with the "stpapi" thing. And what does the "ottstpapihand" dll string that is being used mean?

No one where I am seems to know much about Baan. The IT department refer to it as "Baan 5", but I can't seem to get out of them exactly what version that means. We currently get contractors in whenever we need to change anything, any getting any information out of them is hard.

I've got an app on my PC called "Infor BECS" which I can use to create the connection and get the automation class name I can call from my code.

I've tried reading the manual at http://www.baanboard.com/programmers_manual_baanerp, but it doesn't seem to have any listing of these "put.fields" methods that this code is using.

What I'm looking for really is a reference guide. I've tried searching but I keep drawing a blank. I don't want to waste anyone's time by asking you explaining stuff to me in detail or anything, I'm just after some resources I can read to help me learn things myself. If anyone can help even by just telling me what this API is called, or can suggest what edition of Baan this is so I can search for the right keywords I would be very grateful.

Can anyone help? Thanks.

[Edit: I've just found this - http://www.baanboard.com/baanboard/s...ead.php?t=7251 which might help me, but if anyone has any more information I'd be happy to hear it]

Last edited by SimonPStevens : 16th April 2010 at 12:14.
Reply With Quote
  #2  
Old 16th April 2010, 12:52
manish_patel's Avatar
manish_patel manish_patel is offline
Senior Member
 
Join Date: Apr 2007
Location: Surat-->Bangalore, INDIA
Posts: 191
manish_patel is on a distinguished road
Baan: Baan IVc4, Baan 5.0 b - DB: Oracle 11g R2 - OS: HP-UX 11.31
Please check this url

http://www.baanboard.com/baanboard/s...ead.php?t=7251
__________________
Thanks & Regards,
Manish
Reply With Quote
  #3  
Old 16th April 2010, 13:53
Marnix Klooster Marnix Klooster is offline
Junior Member
 
Join Date: Mar 2010
Posts: 16
Marnix Klooster is on a distinguished road
Baan: all - DB: all - OS: all
The stpapi.* functions are part of the Application Function Server. The thread you mention contains some version of the AFS documentation. That might work for you.

However, you should really contact Infor Support for the latest version of the AFS documentation for your specific software version.
Reply With Quote
  #4  
Old 18th April 2010, 10:22
Peter Campbell Peter Campbell is offline
Junior Member
 
Join Date: Jun 2004
Location: Berlin
Posts: 27
Peter Campbell is on a distinguished road
Baan: Baan IV, V, LN, OpenWorld - DB: Informix, Oracle - OS: Unix, Windows 2003
Afs

Hello,

AFS is not supported any more so there will be no new documents.

Peter
__________________
Peter J Campbell
Reply With Quote
  #5  
Old 19th April 2010, 11:40
Marnix Klooster Marnix Klooster is offline
Junior Member
 
Join Date: Mar 2010
Posts: 16
Marnix Klooster is on a distinguished road
Baan: all - DB: all - OS: all
@Peter Campbell: From where did you get that information? According to my well-informed sources, AFS is not encouraged (if you can call DALs that is preferred), but it is still officially supported. So documentation can still be obtained from Infor.
Reply With Quote
  #6  
Old 20th April 2010, 10:34
SimonPStevens SimonPStevens is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
SimonPStevens is on a distinguished road
Baan: Baan 5 - DB: Microsoft SQL Server - OS: Microsoft Windows
Thanks for all the info guys. I really appreciate it. I've managed to understand what's going on now and do what I needed to do.

If AFS is no longer encouraged, can someone point me at some documentation for what I should be doing instead. I can't change all the existing stuff, but I can always consider changing for new work.
Reply With Quote
  #7  
Old 27th April 2010, 16:51
Peter Campbell Peter Campbell is offline
Junior Member
 
Join Date: Jun 2004
Location: Berlin
Posts: 27
Peter Campbell is on a distinguished road
Baan: Baan IV, V, LN, OpenWorld - DB: Informix, Oracle - OS: Unix, Windows 2003
Afs

The information is from Infor porting set release notes.

AFS was part of Open World 2.2 & 2.3 after 2.5 it is not used for Open World any more and was depreciated.

It looks, from some of the cases, that they are still doing some support.

In infor LN calls to DLLs and DALs should be used instead of AFS.

This is a much better programing method as you can then get the error messages back from the dal hook errors etc which you do not get with AFS.

The latest document I found is "Developer's Guide for Application Function Server" U8627A US from 2006

Hope this helps

Peter
__________________
Peter J Campbell

Last edited by Peter Campbell : 27th April 2010 at 17:17.
Reply With Quote
  #8  
Old 28th April 2010, 10:15
SimonPStevens SimonPStevens is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
SimonPStevens is on a distinguished road
Baan: Baan 5 - DB: Microsoft SQL Server - OS: Microsoft Windows
Thanks Peter,

You said "In infor LN calls to DLLs and DALs should be used instead of AFS." Can you suggest any links to some basic documentation on getting started with this, and perhaps some API reference documents.

I literally have nothing to go on at the moment. What are the DLL names for example? Are they COM DLLs that I call? What about the DAL? How do I call that from my code?

(We are currently using Baan 5, but the IT department are talking about moving to LN by the end of this year)
Reply With Quote
  #9  
Old 4th May 2010, 06:54
Peter Campbell Peter Campbell is offline
Junior Member
 
Join Date: Jun 2004
Location: Berlin
Posts: 27
Peter Campbell is on a distinguished road
Baan: Baan IV, V, LN, OpenWorld - DB: Informix, Oracle - OS: Unix, Windows 2003
DLL & DALs

Hello,

DLLs are baan libraries in program scripts / libraries.

You need to look in the program source to see which ones are being used.

DALs are libraries attached to tables and are called when the table is updated.

You can find some information in the program guide or the tools help in baan.

Regards

Peter
__________________
Peter J Campbell
Reply With Quote
Reply


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
Baan Administrator Christina Gampa Jobs and Resumes 0 10th January 2008 11:26
Baan LN Consultants tonyking Jobs and Resumes 4 7th November 2006 21:15
Not authorized to run as user baan positive Tools Administration & Installation 7 29th June 2004 09:56
Corporate Baan Information laurensmith2 General Discussion & Chat 2 26th May 2003 16:10


All times are GMT +2. The time now is 01:32.


©2001-2023 - Baanboard.com - Baanforums.com