previous invoice no on new sales voucher screen i am using manually invoice no so, every time i hv to go to sales ledger to check last invoice no. if i can see previous invoice no on sales voucher screen then it would be easy. Thanks in Advance Ranan Ghanshyam
Yes ... you can see it. Make a collection of Sales Invoices, Sort it on reverse DATE....... and use CollectionField to show the last Invoice Number on the screen.
You can use this logic [#Line: VCH Type] Add : Field : Man VCH Number [Field: Man VCH Number] Use : Name Field Set as : $$PrevNumber:##SVVoucherType skip : yes SEt Always : Yes invisible : not (($$increatemode and @@issales) or ($$increatemode and @@isdelnote))