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 15th January 2017, 10:24
rochus rochus is offline
Senior Member
 
Join Date: Mar 2002
Location: Switzerland
Posts: 189
rochus is on a distinguished road
Baan: xBaanxxx - DB: Oracle, DB2, SQL-Server - OS: Unix, MS, Linux
Use of Filter

Does anybody have an Idea, how to disable session startup filters
using AFS (ERP LN).

User can set a default Session filter (for maintain Session),
which is coming up starting the session.

In case of AFS call of this session i'd like to disable this filter,
otherwise the stapi.find will fail.

At the moment the only chance i see is to remove the user default view
before calling this session in api.mode.

any ideas welcome.
Reply With Quote
  #2  
Old 16th January 2017, 15:11
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,905
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
The one thing you can do is in the session code you can use api.mode - check it if true do one thing, if not do another. I have sessions where I could do this:
Code:
if api.mode then
  .....import a variable...
else
  .....get session defaults....
endif
Now - I assume there is a way for the user to clear these filters? I am not on LN so I do not know about these. But if the user can clear them, then I am thinking you could do the same thing when you first start the session. Sorry - I just do not know anything about these filters.
__________________
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
  #3  
Old 16th January 2017, 23:07
rochus rochus is offline
Senior Member
 
Join Date: Mar 2002
Location: Switzerland
Posts: 189
rochus is on a distinguished road
Baan: xBaanxxx - DB: Oracle, DB2, SQL-Server - OS: Unix, MS, Linux
resume

thx, i know about api.mode.
but i dont want to customize the std. program script,
i prefer to handle without any change (even is source code is optional).
Reply With Quote
  #4  
Old 17th January 2017, 13:52
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,905
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Well the one question is - if you start the session manually are there steps you can run to clear out these filters? If so you might be able to do the same with AFS commands.
__________________
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
  #5  
Old 19th January 2017, 13:59
rochus rochus is offline
Senior Member
 
Join Date: Mar 2002
Location: Switzerland
Posts: 189
rochus is on a distinguished road
Baan: xBaanxxx - DB: Oracle, DB2, SQL-Server - OS: Unix, MS, Linux
steps

yes, but i cannot find this command as an "std- command like add.set etc",
i will trace the session to find out
Reply With Quote
Sponsored Links
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
Filter on multiocc fields on Webtop pillai.ganesh Tools Development 0 14th February 2013 10:43
Filter not working VishalMistry Tools Administration & Installation 2 23rd April 2011 06:14
Disable Filter niralibaan Tools Administration & Installation 0 28th May 2010 08:19
Filter Icon on session rahul.kolhe22 Tools Development 8 22nd October 2009 19:54
Problems with ttstpqbf (filter) en@frrom Tools Development 1 19th April 2005 11:56


All times are GMT +2. The time now is 10:06.


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