Hi All,
In the context of data entity validation behavior,
a back-end table-level validateField method validates AllowEdit and AllowEditOnCreate of the table fields .
Then, does a data entitiy-level validateField method validates AllowEdit and AllowEditOnCreate of an Entity field?
For the testing purpose, I have set an entity field's AllowEditOnCreate to No, and then passed the field and its value to this entity (from X++) with the expectation that the validation error occurs.
However, there was no validation error at all and record was still created.
I also added a code like DataEntity.ValidateField(FieldIdtoCheck) in the mapEntityToDataSource method but the validation is passed (= return true) even if the above setting is configured and the field and its value were passed to the Entity.
Thank you.