Ankita Patel
31st July 2013, 08:21
I have generated wrapper on purchase contract line (tdpur3101m000) & attached it to the main session.
now I am not able to access some functionality like delivery contract.
when I removed the wrapper I can access it.
is that anything wrong with wrapper. how to resolve it.
I have attached wrapper script for reference.
mark_h
31st July 2013, 15:27
Rather than closing the thread - could you let us know how you resolved it? One of these days we might move to LN.
Ankita Patel
1st August 2013, 08:35
yes mark,
If you look into script that i posted before in this script when i have generated wrapper it gave me error for return values & I had changed it by returning the values.
Here retval is added by me
function extern boolean tdpur3104m000.is.allowed()
{
boolean retval
parent.object.function.id = get_function(parent.object.dll.id, "boolean tdpur3104m000.is.allowed")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function.id,retval)
return(retval)
}
but insteadof defining & returning values that is retval, I simply comment the code which will gave me error & Its working for me.
but I have still doubt that if in dal any condition is there for enable & disable the functionality I think this will not work.. we should find another way to do instead of comment the code.
In my case I always need the functionality so its working for me...
If anyone having idea to handle it then plz share it
Thanks,
__________
Ankita
mark_h
1st August 2013, 16:24
Thanks Ankita. I am hoping we start LN later this year or early next year. This will probably be helpful.
Ankita Patel
9th August 2013, 07:25
http://www.baanboard.com/baanboard/showthread.php?t=64429&page=2