How to add custom validation to Receipts Number
Summary
Add some validation rules in the Receipts creationContent
Hi all,
I need to add some validation rules in the Receipts creation in the "Receipt Number" field (which is stored in AR_CASH_RECEIPTS_ALL.RECEIPT_NUMBER table).
The main objective is to add the necessary contraints in order to avoid data entry errors, in my case I need the receipt number respond to ABC-1234-56789012 mask (three alphanumeric chars, dash, 4 number digits, dash, 8 number digits).
Is there any way to add such validation at data entry time (eg.: in onfocusout event, or onsave event)? Maybe using regex or some equivalent mechanism.
0