priya ranjan ti
19th January 2016, 14:17
Hi All,
I have generated a wrapper for tdpur4100m000 which contains so many functions like,
function extern long __get_4gl_version()
function extern activities.ordertype()
function extern boolean add.set.is.allowed() etc.
Now is it mandatory to put get_func() and exec_func() in all such function or only in that function which i have to modify according to my requirement.
here attached both the script generated and modified.
Thanks in Advance.
mark_h
19th January 2016, 15:08
I am not sure I get the question, but when you add a wrapper program you need all of the functions of the session - not just the one you need to change. If you are changing just the check.input on a field, then yes if it has a before input. You still need what ever calls it.
bhushanchanda
2nd February 2016, 09:45
Hi,
As Mark mentioned, keep the generated wrapper same and do not remove any calls to functions. You just need to play with the rest of the things where you have something to customize.
pralash
22nd March 2018, 07:25
Hi Priya Ranjan,
I also have a doubt in wrapper script.... Can you please explain me how to create a new wrapper script for a particular session....
Regards,
Pralash
AnuKass
29th June 2018, 09:07
hii..@priya ranjan ti
can you pls explain in your modified.wrapper.script
if (tccom.dllrush.find.parent.object("otdpur4100", path.of.parent.object, out.error) < 0) then
| true = get.parent.object("td", "pur", "4100", path.of.parent.object)
message("Unable to find parent object dll!")
stop()
endif
what you did inside the otccomdllrush ???
KaasKarthik
13th May 2021, 16:27
i am using wrapper for one session, while starting session, it returns the message "unable to find parent object dll", and i found that the tccomdll.wrap.find.prent.object returns -1 value ,i don't know why ?
please help me to resolve this issue..............
i attached my part of code.
**************************************************************************
before. Program:
| This must be executed first; it loads the parent object
| dll so it's routines can be called.
| The "find.parent.obj" is an extern function that is in
| the gbadvdllrush library.
path.of.parent.object ="C:/ERPLN/application/tc107C_0_cust/otccom/ocom9501"
if (tccom.dllwrap.find.parent.object("otccom9501m000", path.of.parent.object, out.error) < 0) then
message("Unable to find parent object dll!")
stop()
endif
**************************************************************************
thanks in advance...............
please post quick reply.
mark_h
13th May 2021, 21:44
Wouldn't the parent object in the tccom.dlllwrap be otccom9501?