User login
|
|
Frontpage Sponsor
|
|
Google search
|
|
Poll
|
For ERP LN feature pack upgrade, what method of install are you using? Installation Wizard into existing VRC 38% Installation Wizard into new VRC 38% Manual into existing VRC 5% Manual into new VRC 19% Total votes: 42 |
Baanboard at LinkedIn
|

|
|
|
 |

15th January 2017, 10:24
|
Senior Member
|
|
Join Date: Mar 2002
Location: Switzerland
Posts: 194
|
|
Baan: xBaanxxx -
DB: Oracle, DB2, SQL-Server -
OS: Unix, MS, Linux
|
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.
|

16th January 2017, 15:11
|
 |
Guru
|
|
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,020
|
|
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.
|

16th January 2017, 23:07
|
Senior Member
|
|
Join Date: Mar 2002
Location: Switzerland
Posts: 194
|
|
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).
|

17th January 2017, 13:52
|
 |
Guru
|
|
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,020
|
|
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.
|

19th January 2017, 13:59
|
Senior Member
|
|
Join Date: Mar 2002
Location: Switzerland
Posts: 194
|
|
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
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|