ICWEB new free text field CRMD_ORDERADM_I.
I got a problem. I have used the EEWB to create a new field in table CRMD_ORDERADM_I. I would like the field to be editable in order to enter free text until 120 characters. (Note that the field is located within the contract)
Does anybody know how could I make the new field editable for entering free text?
Any help will be really appreciated
Thanks a lot
Nagur Kanna replied
In the EEWB, add this new attribute with the type a string or character. Then use the configuarion tool of the view in the Contract component, so that the field is available in the UI.
Once this field is available in the UI, generate the getter setter methods of the field. In the GET_I method of the attribute, check what is returned in the code
current->is_property_readonly('Attribute Name' ). If this returns false, that means this attribute is editable from the API layer.
If the returned value is true, then you have to redefine this method, and make the field editable.
You would have to implement the logic of persisting the value entered to the DB, depeding on ur business logic.