.isValidReference('FI')
Table of contents
- 1. Description of the method
- 2.
- 3. Example
Description of the method
Description: | .isValidReference('FI') method checks if the given text is a valid Finnish reference. Method checks that the value is numeric and contains from 3 to 20 characters. |
Available for: | string |
Parameters: | - |
Return type: | boolean |
Example
Context: | TransactionType1 |
OCL: | self.Amount.REF.isValidReference('FI') |
Description: | The example rule checks if the given reference is valid. |
The XML snippet below would pass this check.
<Amount> |
The other snippet below however would not pass this check.
<Amount> |