Page last modified 13:46, 29 May 2018 by villes


    Table of contents

    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



    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.


    The other snippet below however would not pass this check.