Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 28th August 2008, 13:42
Finnigan Finnigan is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Finnigan is on a distinguished road
Baan: baan4c4 - DB: informix - OS: Windows
problems with stpapi.zoom.option

Greetings,

is there a problem with ERP/LN and the command
stpapi.zoom.option ?

This command ends everytime with a compiler error unresolved reference.
Other commands like stpapi.put.field works fine.

the directive #pragma used dll ottstpapihand is present.
Reply With Quote
  #2  
Old 28th August 2008, 13:55
george7a's Avatar
george7a george7a is offline
Guru
 
Join Date: May 2004
Location: Nazareth
Posts: 1,490
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
Hi,

Here are the functions that are available in LN's ottstpapihand (at least on my system)
Code:
function extern long stpapi.browse.set(
	 const string session(),
	 const string option(),
	 [ ref string err.mesg() ] )


function extern long stpapi.browse.view(
	 const string session(),
	 const string option(),
	 [ ref string err.mesg() ] )


function extern long stpapi.change.view(
	 const string session(),
	 [ ref string err.mesg() ] )


function extern stpapi.clear(
	 const string session() )


function extern stpapi.continue.process(
	 const string session(),
	 ref string err.mesg() )


function extern long stpapi.delete(
	 const string session(),
	 boolean do.save,
	 ref string err.mesg() )


function extern stpapi.end.session(
	 const string session(),
	 [ ref string err.mesg() ] )


function extern long stpapi.enum.answer(
	 const string session(),
	 const string question(),
	 bset answer )


function extern long stpapi.find(
	 const string session(),
	 [ ref string err.mesg() ] )


function extern stpapi.form.command(
	 const string session(),
	 long command.type,
	 const string command.prog(),
	 ref string err.mesg() )


function extern string stpapi.get.error(
	 )


function extern stpapi.get.field(
	 const string session(),
	 const string field.name(),
	 ref string value(),
	 [ long element ] )


function extern string stpapi.get.mess.code(
	 const string session(),
	 [ ref string err.mesg() ] )


function extern stpapi.handle.subproc(
	 const string session(),
	 const string sub.prog(),
	 const string action(),
	 [ const string callbackobject() ],
	 [ const string callbackfunction() ] )


function extern long stpapi.insert(
	 const string session(),
	 boolean do.save,
	 ref string err.mesg() )


function extern long stpapi.mark(
	 const string session(),
	 [ ref string err.mesg() ] )


function extern stpapi.print.report(
	 const string session(),
	 ref string err.mesg() )


function extern stpapi.put.field(
	 const string session(),
	 const string field.name(),
	 const string value(),
	 [ long element ] )


function extern long stpapi.recover(
	 const string session(),
	 ref string err.mesg() )


function extern long stpapi.save(
	 const string session(),
	 ref string err.mesg() )


function extern stpapi.set.report(
	 const string session(),
	 const string reportname(),
	 const string device(),
	 ref string err.mesg() )


function extern long stpapi.synchronize.dialog(
	 const string session(),
	 const string mode(),
	 ref string err.mesg() )


function extern long stpapi.update(
	 const string session(),
	 boolean do.save,
	 ref string err.mesg() )

You might want to check what are the functions that is inside your "ottstpapihand" DLL. You can do that using the bic_info command.

- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
  #3  
Old 28th August 2008, 15:43
Finnigan Finnigan is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Finnigan is on a distinguished road
Baan: baan4c4 - DB: informix - OS: Windows
Thank you very much,

i've used baanIV before only.
Reply With Quote
  #4  
Old 2nd November 2009, 20:40
sjfarinas sjfarinas is offline
Junior Member
 
Join Date: Sep 2009
Posts: 3
sjfarinas is on a distinguished road
Baan: LN - DB: SQL - OS: Windows
ok, Finnigan what di u do to solve the problem?
Reply With Quote
Sponsored Links
  #5  
Old 2nd November 2009, 20:58
Finnigan Finnigan is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Finnigan is on a distinguished road
Baan: baan4c4 - DB: informix - OS: Windows
It was quite easy,
i have used stpapi.form.command to start the required function.

The description of George7a to get a list of commands was very helpful.
Reply With Quote
  #6  
Old 3rd November 2009, 14:04
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,904
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
There is a sticky thread at the top of this forum that lists most if not all of the commands. Also I do not know about ln, but in 4c4 you can run ttstpcreatdll on a session. This will create a library that you can either use(i choose not to anymore) or reference. This library will show you what commands the Baan software thinks are available - note that it is not always 100% correct, but is a good reference point.
__________________
Mark

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
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
PROBLEMS ASSOCIATED WITH ITEM MASTER CREATION , WITH BOM & ROUTING COPYING OPTIONS bvrao54 Manufacturing & Supply Chain 13 2nd February 2006 18:18
Site problems patvdv About Baanboard.com 4 10th July 2005 18:15
rtdsk50.exe problems with Baan Integration Server 98.4 SP1 camdaddy Baan CRM & Front-Office 0 20th December 2004 16:20
BIS - Problems kindermann Open World, Portal & Decision Manager 2 24th February 2004 10:38
Herstellkostenberechnung in BaaN 4c Kai's Forum Users Deutsches Forum 4 5th July 1999 00:00


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


©2001-2017 - Baanboard.com - Baanforums.com