Dear Admin sir, I am new in TDL. I want to modify Receipt voucher. I add 6 no of UDF. All field are store & working fine. But I want <Booking Date> field is unique, means cannot duplicate. I use <UNIQUE : YES> but not working. I attach my code. Please help me sir.
to control booking date, means you want not to allow same booking date entry, then; try as Code: ;;add control in your field Control : DateBookedMsg : $$NumItems:DateBookedColl > 0 ;;and create a collection [Collection: DateBookedColl] Type : Voucher Filter : IsReceipt, SameDate Fetch : TSPLBanqBookDt, Date ;; and create system formula DateBookedMsg : "Not Allowed" SameDate : $TSPLBanqBookDt=#TSPLBanqBookDt Regards