Validation – RuleUniqueValue (Set Rules/Conditions)
Please refer KB How to Access Customization Centre
Scenario: How to set a rule to control on Payment Voucher’s Cheque Number as unique number.
Step 1 - GOTO Validation > Rules > Add… > RuleUniqueValue
Step 2 -
Add:
Id: Rule name (PaymentChequeNumber)
TargetPropertyName: Which data field to set the rules (ReferenceNo)
TargetType: Which transaction apply rules (QnEBS.BO.GL.Payment)
ResultType: Select ‘Error’ type.
TargetContextIDs: Save
Step 3 - Save the setting and re-login system the check the changes.
After setting the rule, if user insert the Payment Voucher with the Cheque Number was already key-in to system, system will show the message below.
After close the error message box system will show the hints on the field that have issue.