Dear Experts: My requirements: 1) I want my voucher no. to restart from 1 every day. 2) If there are 5 entries on 15th APril (future date) and if I try to make entry on 15th April, it should show voucher no. 6. 3) If I make 10 entries today i.e. upto voucher 10 and I switch to future date, number should be 1 if no any entry is done on that date. My achievement: 1) If there are 10 entries on 10th Feb (past date) and if I try to make entry on 1oth Feb, it shows voucher no. 11. It works fine with past date. Issues: 1) If there are 4 entries today and if i select next date (tomorrow or any future date), it shows voucher no. 5 but I want it voucher no. 1. If there are any entries already in future date (eg: 5 entries) and if I try to make entry on that particular date, it should show voucher no. 6 Hope i presented my confusion clearly. Any help will be appreciated. Thanks.
Dear Sattam sir, I want prefix to be updated daily as well as per the date. So i tried to code accordingly.
Set as : ##SVVoucherType+"_" + $$ZeroFill$$YearOfDate:$$CurrentDate):2+"/"+ $$ZeroFill$$MonthOfDate:$$CurrentDate):2+"/"+$$ZeroFill$$DayOfDate:$$CurrentDate):2 + " - " + $$string:#VCHNumber This code is fetching effective date... how can i fetch voucher date instead of effective date????