How to set default value for a ViewObject attribute
398505Jul 22 2003 — edited Feb 18 2004I have an Entity name RISKCONTROLRULES which have a field name TYPE.
I created 2 VO (SINGLECONTROLRULES and ACCUMULATECONTROLRULES), these two VO are created from RISKCONTROLRULES entity.
What I wanna do is that everytime I create a new record by SINGLECONTROLRULES vo, TYPE value will be set by default to 'S' and vice versa, for the ACCUMULATECONTROLRULES vo, TYPE value will be 'A'.
I had already checked the Discriminator option and typed the default values for the two vo and the entity but it didn't work.
Did I miss something else ???
Thanks in advance.