Mike Fechner
375 posts
Registered:
14 Sep 2016
Answered
20 Aug 2019
in reply to
Patrik Wikström
Link to this post
OpenEdge does not support read-only fields in temp-tables. So you have to implement this as part of validation.
DatasetModel's however support fields with PROTECTED (or PRIVATE) get, so that offers more obvious rules to developers.
I'm not sure, if the Business Entity Designer setting for ReadOnly validation does what you want as you did not share your requirements with us. But it generates code for the Validate:ReadOny or ValidationHelper:ReadOnly in the ValidateData Method.
Alternative if you've got annotations working, use this here:
@BusinessEntityTable (name="eOrder", performValidation="false", readonlyColumns="ordernum") .