Hi,
Actually my first SPTN is correct. Please follow the steps.
1. Add Entry to New Voucher with UDF value 123
2. Update journal voucher window
3. Post above voucher
4. Again add entry to New Voucher with UDF value 123
5. Update
6. Post second voucher, this time system will throw an error message.
Thanks & Regards,
Nagarajan
.