baanv_consultan
4th September 2002, 20:32
Hello ,
please see the situation and let me know of any suggestions.
If i introduce a new argument in the Function Server , the new argument is not being recognised during the test function server (tuddc2530s000) Run. It shows up on the form and all that but when i put the script in the debug the value that i give on the form is not showing up while debugging.
i debugged the tuddc2530s000 also and the Bucket is sending the vlaue for the new argument....so this one beats me.
Ex :-
i have a putaway in bound advice with 5 arguments and then i add the sixth one.
To test the same , i run the test function server and the argument value is zero , all the other values are shpwing up right.

vavs123
4th September 2002, 21:09
Are you running Baan IV or V? At one point, Baan IV introduced a patch which added a field to custom written function servers. It caused all of the fields to be off by one. The odd part is it was introduced by a patch to the finance module. I am not sure if that is what is happening here or not. Who wrote the function server? What middleware are you using?

baanv_consultan
4th September 2002, 21:42
It is Baan V (B) and the middleware is connectware. Anyways...even if i make a new function server , all the field values are not being recognised. The masking looks ok to me.

lbencic
4th September 2002, 22:40
Vavs is correct on the patch (Hi Vavs :)) If that's the case, all of your variables would be off in sequence by 1. Make sure you have the latest update to Test Function Server.

The middleware would not affect Test Function Server unless they customize tuddc scripts....did they customize the ddc scripts?

Is the value not passed even before the 'init.ddc.vars()', 'format.variables()' and 'check.variables()' functions are called? First check if it is there before those functions and maybe one of them is resetting the value. If it's not there right on the entry, check the naming and domain as displayed in Maintain DDC Function (tuddc0130m000) are correct to your thinking.

The bmsmask would allow the function to run or not run, but after that's set up it does not need to be updated for input field changes.

Worst case try copying the function and requerying to make sure you didn't get stuck somewhere in the conversion. If still the others come through and yours does not, check the naming again. If none of the input fields comes through...maybe a problem with your query script?

Send script pm to me or post if still problems - just the ddc entry part without your inbounding logic should suffice. If I can query and run and get accepted values here - then it's the ddc. If not, maybe I can see what is wrong real quick.

baanv_consultan
6th September 2002, 01:40
Thanks for the response...

The ddc scrips are vanila Baan...no customizations on those.

The value is NOT passed before init.ddc.vars()...the other values are on entry but this one is not present on entry

Funny thing is that the same code wroks fine in a different dev environment.

lbencic
6th September 2002, 17:48
If they work ok in 1 environment, and not the other...it should be a VRC dependent problem. Maybe the domains are not properly defined in both?
Did you try copying to a different script number/session number and compile/requery. Do all the fields show up, or is it still missing only your added field?