Created
February 24, 2019 20:36
-
-
Save d47447/b11e8d15d5fb2195409f041b1ffcffed to your computer and use it in GitHub Desktop.
Table event handler OnValidatedField
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DataEventHandler(tableStr(CustTable), DataEventType::ValidatedField)] | |
| public static void CustTable_onValidatedField(Common sender, DataEventArgs e) | |
| { | |
| ValidateFieldEventArgs event = e as ValidateFieldEventArgs ; | |
| CustTable custTable = sender as CustTable; | |
| boolean result = event.parmValidateResult(); | |
| result = result && RegNumberValidator_BG::validate(custTable.AccountNum, custTable.RegistrationNumber_BG, CustVendACType::Cust); | |
| event.parmValidateResult(result); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment