on 04-03-2018 4:07 PM
hello all,
I am trying to write a object dependency for a characteristics using dependency type Procedure to set default value on the characteristics.
Object Dependency Syntax:
$SET.DEFAULT ($SELF, ZB_DMS_EVALUATOR, 1)
ZB_DMS_EVALUATOR, this is a characteristics name.
But when I do syntax check, I get the message.
E28024 Syntax error in simple action/procedure
This characteristics is assigned to custom class with custom class type and this characteristics is inherited from another class with the same type.
I have tried writing the object dependency at class level as well as at the characteristics level both places i have same error.
Can someone help.
Best Regards,
Kumar.
Hi Kumar,
The dependency code should better be:
$SET_DEFAULT ($SELF, ZB_DMS_EVALUATOR, 1)
The difference being in the $SET_DEFAULT command. that is written with an underscore between the two words, instead of a dot.
Hope this could help.
Thank you and best regards,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
That's good, it's a step ahead... Please now check the characteristic format, if it is CHAR, then the default value 1 should be surrounded by quotation marks, i.e.: '1'
Please try and let me know.
Thanks and best regards,
Flavio
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.