How Validation Functions works at PDF 3.0 mapping configuration?
1. All Digits
This function will check whether there are all digits in the given string or not.
Example 1
Input: string="12345"
Applied Function AllDigits(string)
Output: True
Example 2
Input: string="123Test"
Applied Function AllDigits(string)
Output: False
2. All Characters
This function will check whether the given string contains all characters or not.
Example 1
Input: string="Test"
Applied Function AllCharacters(string)
Output: True
Example 2
Input: string="123Test"
Applied Function AllCharacters(string)
Output: False
3. Start With Digit
This function will check whether the given string starts with a digit or not.
Example 1
Input: string="123Test"
Applied Function StartWithDigit(string)
Output: True
Example 2
Input: string="Test"
Applied Function StartWithDigit(string)
Output: False
4. Start With
This function will check whether the given string starts with a particularly given letter or not.
Example 1
Input: string="TestString"
Input: startvalue="Test"
Applied Function StartWith(string,startvalue)
Output: True
Example 2
Input: string="TestString"
Input: startvalue="String"
Applied Function StartWith(string,startvalue)
Output: False
5. End With
This function will check whether the given string ends with a particularly given letter or not.
Example 1
Input: string="inputTest"
Input: endvalue="Test"
Applied Function EndWith(string,value)
Output: True
Example 2
Input: string="inputTest"
Input: endvalue="input"
Applied Function EndWith(string,endvalue)
Output: False
6. Regex
This function will check whether the given string captured using the given regex pattern or not.
Here, in the example, it checks whether the input string has a valid email id or not.
Example 1
Input: string="Test@demo.com"
Input: pattern=@"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Applied Function Regex(string, pattern)
Output: True
Example 2
Input: string="Test.in"
Input: pattern=@"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Applied Function Regex(string, pattern)
Output: False
7. IsPostcode
This function will check whether the given string has a valid postcode or not.
Example 1
Input: string="5858"
Applied Function IsPostcode(string)
Output: True
Example 2
Input: string="Test"
Applied Function IsPostcode(string)
Output: False
8. IsValidUOM
This function will check whether the given string has a valid unit of measure or not.
Example 1
Input: string="PCE"
Applied Function IsValidUOM(string)
Output: True
Example 2
Input: string="Test"
Applied Function IsValidUOM(string)
Output: False
9. HasSupplier8DigitNo
This function will check whether the given string has 8 digit supplier number or not.
Example 1
Input: string="98956895"
Applied Function HasSupplier8DigitNo(string)
Output: True
Example 2
Input: string="856958"
Applied Function HasSupplier8DigitNo(string)
Output: False
10. IsValidUnitPrice
This function will check whether the given string has a valid unit price or not.
Example 1
Input: string="10.56"
Applied Function IsValidUnitPrice(string)
Output: True
Example 2
Input: string="10@56"
Applied Function IsValidUnitPrice(string)
Output: False
11. IsValidQuantity
This function will check whether the given string has a valid quantity or not.
Example 1
Input: string="10"
Applied Function IsValidQuantity(string)
Output: True
Example 2
Input: string="10EA"
Applied Function IsValidQuantity(string)
Output: False
12. IsAmountIsDecimal
This function will check whether the given amount has decimal or not.
Example 1
Input: string="10.56"
Applied Function IsAmountIsDecimal(string)
Output: True
Example 2
Input: string="10.56T"
Applied Function IsAmountIsDecimal(string)
Output: False
13. CheckTotalWithLineTotal
This function will check whether the main total has matched with a line total or not.
Example 1
Input: Maintotal="1056"
Input: Linetotal="1056"
Applied Function CheckTotalWithLineTotal(Maintotal,Linetotal)
Output: True
Example 2
Input: Maintotal="1056"
Input: Linetotal="1050"
Applied Function CheckTotalWithLineTotal(Maintotal,Linetotal)
Output: False
14. CheckIfMinDate
This function will check whether the given date has valid or not.
Example 1
Input: string="01-02-2021"
Applied Function CheckIfMinDate(string)
Output: True
Example 2
Input: string="01-01-0001"
Applied Function CheckIfMinDate(string)
Output: False
15. Has13DigitGLNNo
This function will check whether the given string has a 13 digit GLNNo or not.
Example 1
Input: string="9858520002581"
Applied Function Has13DigitGLNNo(string)
Output: True
Example 2
Input: string="12525412"
Applied Function Has13DigitGLNNo(string)
Output: False
16. HasAnyDigit
This function will check whether the given string has any digit or not.
Example 1
Input: string="Test123"
Applied Function HasAnyDigit(string)
Output: True
Example 2
Input: string="Test"
Applied Function HasAnyDigit(string)
Output: False
17. HasAnyCharacters
This function will check whether the given string has any character or not.
Example 1
Input: string="Test123"
Applied Function HasAnyCharacters(string)
Output: True
Example 2
Input: string="1234"
Applied Function HasAnyCharacters(string)
Output: False
18. IsNullOrEmpty
This function will check whether the given string has null or empty.
Example 1
Input: string=""
Applied Function IsNullOrEmpty(string)
Output: True
Example 2
Input: string="Test123"
Applied Function IsNullOrEmpty(string)
Output: False
19. IsOrderReference
This function will check whether the given string has a valid order reference no or not.
Example 1
Input: string="4503327924"
Applied Function IsOrderReference(string)
Output: True
Example 2
Input: string="Test45033"
Applied Function IsOrderReference(string)
Output: False
Category: User Guide
Last date of update: 21.10.2026