![]() |
#1 |
Участник
|
palleagermark: Validate dialog input in the Business Operation Framework
Источник: http://palleagermark.blogspot.com/20...-business.html
============== A number of good community articles have been written on the new Business Operation Framework (BOF) in Microsoft Dynamics AX 2012, for example these series:
However the documentation from Microsoft in this area currently is not yet comprehensive, so here is my first article on a small area of the framework. If you need to validate the input of the dialog for a data contract, you need to add code to the data contract. Your data contract must implement the SysOperationValidatable interface: [DataContractAttribute] public class BOFDataContractA implements SysOperationValidatable { int parmIntProperty; str parmStrProperty; }And you need to add the validate method of the interface: public boolean validate() { if (this.parmIntProperty()
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|