Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
32%
Installation Wizard into new VRC
40%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 50

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2018, 14:18
AnuKass AnuKass is offline
Member
 
Join Date: May 2018
Posts: 37
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
Sponsored Links
  #2  
Old 1st August 2018, 16:51
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,114
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
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 22:42
How to call AFS in sp24? PV Ramone AFS/DDC/OLE: Function servers 4 2nd September 2008 11:06
Compile error,help! gavin_wusj Tools Development 5 5th April 2005 09:09
xml question steveauckly Tools Development 4 27th July 2004 10:41


All times are GMT +2. The time now is 05:42.


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