Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
14%
200 - 500 GB
32%
500 - 800 GB
4%
800 - 1200 GB
4%
1200 - 1500 GB
11%
1500 - 2000 GB
14%
> 2000 GB
21%
Total votes: 28

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2018, 15:18
AnuKass AnuKass is offline
Member
 
Join Date: May 2018
Posts: 39
AnuKass is on a distinguished road
Baan: 9.2 - DB: sql - OS: windows10
wrapper function
Baan: Other/Unknown
C/S: None/Unknown

hii all...
i create a wrapper ,....and then i slightly change particular function to this...
but it change entire functionality ...
eg..
In wrapper ..
choice.after.update.db-->it have many function like
func1()
func2()
func3()
i want to do madification in func2() itself...
is there any possible to do that.??
Reply With Quote
  #2  
Old 1st August 2018, 17:51
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,135
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Not sure what wrapper method you use, but typically you cannot change an actual function itself. I have never done this, but I think you could rewrite the event code itself to change what happens. To me to change a specific function like you list you would need the code. What I typically do in my qkey wrapper scripts is let the normal code run then go do the modifications I specifically want.

So for example with you posted i could do 3 type things - I almost always use 2 and 3.
1 - rewrite what happens for choice.after.update.db (duplicating everything the normal session does that I need). Never really done this.
2 - let the sessions choice.after.update.db execute then go do my updates or changes.
3 - Run my stuff first and then let all the normal choice.after.update.db code run.

Not sure if this helps or not.
__________________
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
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
Error while opening opening purchase order naga ch Tools Administration & Installation 6 17th June 2016 23:42
How to call AFS in sp24? PV Ramone AFS/DDC/OLE: Function servers 4 2nd September 2008 12:06
Compile error,help! gavin_wusj Tools Development 5 5th April 2005 10:09
xml question steveauckly Tools Development 4 27th July 2004 11:41


All times are GMT +2. The time now is 22:44.


©2001-2018 - Baanboard.com - Baanforums.com