How to create Validation – RuleUniqueValue (Set Rules/Conditions)

Created by Cheng Kah Poh, Modified on Mon, 7 Sep, 2020 at 5:09 PM by Cheng Kah Poh

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.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article