I need to code some validation rules to execute on the server by overriding DataSource.validate(Map data, boolean reportMissingRequiredFields). On an update operation, will the "data" map contain all of the field values in the record, oldValues merged with any updated values? If not, how can I get access to the old values. The user may be changing the value of one field but my validation rule needs to access the value of another field that the user may or may not have also updated.
Also, how can I access the current DSRequest being processed from within the overridden DataSource.validate() method?
Also, how can I access the current DSRequest being processed from within the overridden DataSource.validate() method?
Comment