User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:adminmanual:businessmappings:validations [2020/06/30 23:17]
joebordes [Validation Business Mapping]
en:adminmanual:businessmappings:validations [2020/10/30 10:41] (current)
joebordes [Validation Business Mapping]
Line 86: Line 86:
     *restrictions:​ date in ISO format     *restrictions:​ date in ISO format
   *dateAfter - Field is a valid date and is after the given date   *dateAfter - Field is a valid date and is after the given date
 +    *restrictions:​ date in ISO format
 +  *dateEqualOrAfter - Field is a valid date and is equal or after the given date
     *restrictions:​ date in ISO format     *restrictions:​ date in ISO format
   *contains - Field is a string and contains the given string   *contains - Field is a string and contains the given string
Line 100: Line 102:
   *IBAN_BankAccount - validate IBAN Bank Account number   *IBAN_BankAccount - validate IBAN Bank Account number
     *restrictions:​ none     *restrictions:​ none
-  *EU_VAT - validate EU VAT number+  *EU_VAT - validate EU VAT number: the EU VAT validation checks if the VAT no. is in use, which implicitly ​ checks the format
     *restrictions:​ none     *restrictions:​ none
   *notDuplicate - checks that no other record with the same value exists on the given field name   *notDuplicate - checks that no other record with the same value exists on the given field name
-    *restrictions: ​none+    *restrictions: ​list of [[https://​discussions.corebos.org/​showthread.php?​tid=1934&​pid=8265#​pid8265|other fields you want to combine]] with the main field to search all at once
   *expression - accept a workflow expression map and evaluate it in the context of the new screen values   *expression - accept a workflow expression map and evaluate it in the context of the new screen values
     *restrictions:​ map name or id     *restrictions:​ map name or id
Line 237: Line 239:
 </​code>​ </​code>​
  
 +
 +===== Accessing via web service =====
 +
 +Validation maps have their own web service end-point: **ValidateInformation**
 +
 +Also, we have **CreateWithValidation**,​ **UpdateWithValidation**,​ and **ReviseWithValidation**
  
 ===== Some other examples ===== ===== Some other examples =====