Adding date validation, Specifying date format, Date – BEA SWIFT Adapter User Manual

Page 68

Advertising
background image


In MT514 sub-field ‘Rate’ in field 92A has a validation that when Sign is present,
Rate must not be zero. For this field, T14 validation can be added as shown below.


See Also:

Specifying properties common for all validations

Adding validations for a sub-field

Removing validations from a sub field

Adding Date Validation


Date validations are applicable for Date/Time fields, whose value should be
expressed, in a particular format (e.g. YYYYMMDD).

1. Add a new validation.

2. Select ‘Type’ as ‘DATE’ in the ‘Type’ column.

3. Specify the error code, qualifiers, field options, null field and comment properties

as specified earlier.

Specifying Date Format


Specify the date format for the validation in the ‘Format’ combo box. Please note
that this is a mandatory property.

In MT519 sub-field ‘Date’ in field 98a should be a valid date expressed as
‘YYYYMMDD’. For this field ‘DATE’ validation can be added and format specified as
shown below.


See Also:

Specifying properties common for all validations

Adding validations for a sub-field

Removing validations from a sub field

Advertising