tdl to change the voucher date from the view without entering into the entry.

Discussion in 'Free Source Codes' started by sauravjain, Oct 29, 2016.

    
  1. sauravjain

    sauravjain Member


    we are attaching a screen shot of a tally where several entries have been passed. we want to change the date of entries from the current view without entering into each voucher to save time if there are many entries which need date change. can this be possible and what kind of tdl do we need for this.
    thank you.
     

    Attached Files:



  2. Johar

    Johar Member


    Select the voucher in Day book Press Ctrl + R GIVE THE DATE it will change the date



    [#Form: Day Book]
    Add: Button: After : DSPShowGP : InputNewDate

    [Button: InputNewDate]
    Title: "Set Date"
    Key: Ctrl+R
    Action List : InputDate, ModifyDate

    [Button: InputDate]
    Key: Ctrl+R
    Action: Alter: Rpt InputDate

    [Button: ModifyDate]
    Key: Ctrl+R
    Action: Call : FuncEdit


    [Function: FuncEdit]

    ;; Variable to Save MasterID
    Variable : MSTID : String

    ;; Walking Over Current Vouchers of Day Book
    100 : WALK COLLECTION : SELDayVouchers

    ;; Set Master ID to a Variable
    120 : SET : MSTID : "ID:"+ $$String:$MasterID

    ;; Set Object In Edit Mode
    130 : NEW OBJECT : Voucher : ##MSTID

    ;; Set Target to the First Ledger (PartyLedger)
    140 : SET TARGET : LedgerEntries[1]

    ;;Modifies Value of the Methord
    160 : SET VALUE : Date : #NDate

    ;; Back to Ledger Entry Object
    170 : SET TARGET : ..

    ;; Back to Voucher Object
    180 : SET TARGET : ..

    ;; Saving Object
    190 : ACCEPT ALTER

    200 : END WALK



    [Collection: SELDayVouchers]

    Data Source : Report : Current
    Fetch : All Ledger Entries


    [Report: Rpt InputDate]
    Title : "Update Voucher Date"
    Form : Input Date
    Auto : Yes

    [Form: Input Date]
    Part : Input Date
    Width: 25% Screen
    Height: 8% Screen

    [Part: Input Date]
    Line: New Date

    [Line: New Date]

    Field : Long Prompt , NewDate
    Local : Field: Long Prompt : Set As: "New Date"

    [Field : NewDate]
    Use : Short Date Field
    Modifies : NDate
    Border : Thin Box
    Width : 15

    [System : Variable]
    Ndate : " "


    [Variable : NDate]
    Type : Date
    Persistent : Yes
     
    sauravjain and uttam100 like this.




  3. manikandancmk

    manikandancmk New Member


    Super.. if any code available in daybook in columnar view?
     


  4. uttam100

    uttam100 Member


    Good one
     


  5. mpal2311

    mpal2311 Active Member


    Great.
     


  6. uttam100

    uttam100 Member


    Can anyone write Tdl for sales register to change qty
     


  7. sauravjain

    sauravjain Member


    beautiful...thanx a ton friend...!!!! u have saved me hell lot of time...!!!!
     


  8. sauravjain

    sauravjain Member


    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  9. priya

    priya Member


    SUPER WORK. THANK YOU AND BYE
     
    sauravjain likes this.


  10. sauravjain

    sauravjain Member


    HOW DO WE IMPLEMENT THIS FEATURE OF VOUCHER DATE CORRECTION IN ANY WHERE IN TALLY ESPECIALLY WHILE WE ARE WORKING DURING THE SCENARIO FOR WHICH IMAGE PIC 1 IS ATTACHED



     

    Attached Files:

    Last edited: Sep 26, 2017


  11. Rajsrisrimal

    Rajsrisrimal Member





    Sir,
    In same manner can we select vouchers from party ledger to send mail to party in one click.
    For Example : A party Ledger , We select Invoices , 1,3,7,12, etc... and same Invoice we can mail in one click as invoices
     


  12. anish

    anish Member


    Thanks for the nice code !
     


  13. gskishorerjy

    gskishorerjy New Member



  14. sauravjain

    sauravjain Member


    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  15. sauravjain

    sauravjain Member


    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  16. sauravjain

    sauravjain Member


    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  17. sauravjain

    sauravjain Member


    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  18. sauravjain

    sauravjain Member






    sir, what codes to be added so that we can select multiple entries of same date and change it at once.
     


  19. Johar

    Johar Member


    Sauravjain,

    Select all the voucher in day book and then Ctrl+R to change the date give the new date it will change the date.
     


  20. sauravjain

    sauravjain Member


    we tried this but its not working, we have to go to one entry each and do this.
     
    Vashisth likes this.


  21. sauravjain

    sauravjain Member


    how can we implement the above action if we want to change the date for the voucher passed under a ledger . we want change the voucher date without opening the voucher when we are viewing the ledger?
     


  22. Johar

    Johar Member


    As said Select the voucher in Day book Press Ctrl + R GIVE THE DATE it will change the date
     


  23. sauravjain

    sauravjain Member


    sir, we want to perform the same function from especially from the ledger window instead of day book. by using the code we are unable to implement this on multiple voucher at a time , we need to do it one by one. plz advice
     


  24. Johar

    Johar Member


    [#Form : Default]
    Add : Top Button : At Beginning : InputNewDate

    [#Menu : Main Menu]
    Add : Top Button : At Beginning : InputNewDate

    [#Menu : Default]
    Add : Top Button : At Beginning : InputNewDate

    [#Form : Voucher]
    Add : Top Button : At Beginning : InputNewDate


    Delete this line :
    [#Form: Day Book]
    Add: Button: After : DSPShowGP : InputNewDate
     


Share This Page