简体   繁体   中英

How to validate field in datasource in Dynamics AX

I would like to make a validation connected with datasource with select query. How should I write a validate() method in field in datasource?

To validate field of form datasource you need override validate() method of field datasource.

For example in your datasource In field you would like validate press right click / override method / validate. Here put your code, then save the changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM