arunkw
1st April 2004, 07:34
I am using set.enum.values.for.field(ttdinv700, ALL_ENUMS_EXCEPT, tckost.stc.transfer)
but I gets error message all_enums_except not declared
also I tried to use set.enum.values.for.field in all possible way but it is not working. I was searhing for scripts where this standard function was used, but I could not find one.
Help me please...
Arun Kumar
Andreas
1st April 2004, 08:01
Hi Arun Kumar,
i'm on Baan V and there it works in that way:
set.enum.values.for.field("field", ALL_ENUMS_EXCEPT, tckost.stc.transfer)
field must be in quotes.
Hope this helps,
Andreas
arunkw
1st April 2004, 08:44
Hi Andreas,
I am working on Baan 4,
I tried standard function
set.enum.values.for.field("tdinv700.kost",ALL_ENUMS_EXCEPT,tckost.stc.transfer)
I get error message
Error: 'all_enums_except, not declared
Error: Unresolved refrence to function 'set.enumvalues.for.field'.
Is there any include or dll which I have to used ?
Regards
Arun
en@frrom
1st April 2004, 10:19
Hi,
I also work on Baan V, not IV, but the message you mention indicates normally that the argument (ALL_ENUMS_EXCEPT) is not valid, so it would mean that for Baan IV this argument is not yet working...
Regards,
En.
Andreas
1st April 2004, 10:44
Hi,
in Baan V there is no need for an include or library 'coz it's a function in the standard program.
Maybe it is a problem of your Version, try a bic_info on ttstpstandard.
Is the function included?
If yes then try without macro ALL_ENUMS_EXCEPT.
JaapJD
1st April 2004, 11:25
The function set.enum.values.for.field is not supported in BaanIV. You should use function set.enum.values in before.field or before.input.
arunkw
6th April 2004, 11:11
Hi All,
Thanks for your replies
my problem got solved by using set.enum.values
also check out this thread.
Baanboard.com > Baan Quick Support: Functional & Technical > Tools Development > help with set.enum.values.for.field()
Regards
Arun