Remark before delete or cancel any voucher tdl

Discussion in 'Free Source Codes' started by Rajsrisrimal, Oct 2, 2021.

    
  1. Rajsrisrimal

    Rajsrisrimal Member


    sir ,
    Is it possible that Remark or Narration is a must before delete or cancels any voucher?
    so in future, we can know why this voucher was deleted or cancelled by the user or why we cancelled/ deleted that time. so we can know that which party voucher was deleted?
    Is it possible Tdl for this.
     


  2. Himanshu-2002

    Himanshu-2002 Active Member


    Yes, We can do that...it is Same like a alter/delete module
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    One does not need a TDL for this..........
    Before Cancellation ..... add remarks at END of narration ....... e.g.

    CANC-RMK :- This has been cancelled due to duplication.


    and then cancel the voucher.
     


  4. Devendra_Rawat

    Devendra_Rawat Well-Known Member


    can we see the deleted vouchers and read the remarks???:mad::mad:
     



  5. you have to write a function for the same in which you have to use ON BEFORE DELETE and put the narration and save it...
    Deletetion will not help as it removes the record directly hence you will not achieve anything even if you put narration etc as there would be no list untill you save it in Aggregate UDFS... cancellation you can try
     
    Rajsrisrimal likes this.


  6. Rajsrisrimal

    Rajsrisrimal Member


    sir ,
    If we use recycle bin tdl for that, it will save voucher as option voucher and we can see there.
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Then why DELETE ???

    simply alter all vouchers to be deleted....put remarks in narration and make it OPTIONAL........

    again......to reiterate..... there is no need for a TDL.
     


Share This Page