Free Code: Email After Voucher Save

Discussion in 'Free Source Codes' started by admin, May 20, 2014.

    
  1. admin

    admin Administrator Staff Member


    Code:
    ;; Sri Ganeshji
    ;; Credits: http://tdlexperts.com
    ;;------------------------------------------------------------------------------
    ;; Adding a new line for VCS_EmailAfterSave option in Voucher Type
    ;;------------------------------------------------------------------------------
     
    [#Part: VCS_VTYP BehaviourMain]
     
        Add    : Line    : After    : VCS_VTYP PrintSave    : VCS_VTYP EmailSave
       
        [Line: VCS_VTYP EmailSave]
     
            Fields      : Long Prompt, VCS_VTYP EmailSave
            Local      : Field : Long Prompt : Info    : $$LocaleString:"Email after saving Voucher ?"
            Local      : Field : Long Prompt : Width    : @@LongWidth
     
    [Field: VCS_VTYP EmailSave]
     
        Use        : Logical Field
        Storage    : VCS_EmailAfterSave
        Set always    : Yes
     
    [System: UDF]
     
        VCS_EmailAfterSave    : Logical    : 1500
     
    ;;------------------------------------------------------------------------------
    ;; VCS_EmailAfterSave option in Voucher
    ;;------------------------------------------------------------------------------
     
    [#Form: Voucher]
     
        On    : FormAccept    : @@VCS_VTYPVCS_EmailAfterSave    : Mail Report
     
    [System: Formula]
     
        VCS_VTYPVCS_EmailAfterSave    : $VCS_EmailAfterSave:VoucherType:##SVVoucherType
     
    ;; End Of File
    Sales.JPG VType Config.JPG
     

    Attached Files:

    Mahesh Sethi likes this.


  2. Raju Das

    Raju Das Member




    Great.....
     


  3. mpal2311

    mpal2311 Active Member


    Great.
     


  4. Kamaljit Singh

    Kamaljit Singh New Member


    not working in 4.8...
     


  5. Prema75

    Prema75 New Member


    Thanks Admin
     


  6. laxman

    laxman Member


    ERROR.... email.JPG email.JPG
     


  7. Yogender

    Yogender Member


    Remove VCS_
    [#Part: VCS_VTYP BehaviourMain]

    Add : Line : After : VCS_VTYP PrintSave : VCS_VTYP EmailSave
     


  8. laxman

    laxman Member


    thanks for reply and i want to email after printing any solutions....
     


  9. sivam

    sivam Active Member


    Nice.....
     


  10. manish sabharwal

    manish sabharwal New Member


    how to send sales invoice amount to send on mobile through sms ???
     


  11. Yogender

    Yogender Member


    this is paid tdl
     


  12. grn

    grn New Member


    not working in 4.5
     


  13. Manish Chauhan

    Manish Chauhan New Member


    good works
     


  14. vaithy

    vaithy New Member


    Dear Sir, When i add this tdl i am getting this error msg upload_2014-12-12_20-56-15.png
     


  15. tally.manish

    tally.manish Member


    Dear Vaithi

    Try the Below Code

    ;; Sri Ganeshji
    ;; Credits: http://tdlexperts.com
    ;;------------------------------------------------------------------------------
    ;; Adding a new line for VCS_EmailAfterSave option in Voucher Type
    ;;------------------------------------------------------------------------------

    [#Part: VTYP BehaviourMain]

    Add : Line : After : VTYP PrintSave : VCS_VTYP EmailSave

    [Line: VCS_VTYP EmailSave]

    Fields : Long Prompt, VCS_VTYP EmailSave
    Local : Field : Long Prompt : Info : $$LocaleString:"Email after saving Voucher ?"
    Local : Field : Long Prompt : Width : @@LongWidth

    [Field: VCS_VTYP EmailSave]

    Use : Logical Field
    Storage : VCS_EmailAfterSave
    Set always : Yes

    [System: UDF]

    VCS_EmailAfterSave : Logical : 1500

    ;;------------------------------------------------------------------------------
    ;; VCS_EmailAfterSave option in Voucher
    ;;------------------------------------------------------------------------------

    [#Form: Voucher]

    On : FormAccept : @@VCS_VTYPVCS_EmailAfterSave : Mail Report

    [System: Formula]

    VCS_VTYPVCS_EmailAfterSave : $VCS_EmailAfterSave:VoucherType:##SVVoucherType

    ;; End Of File
     


  16. Vineet More

    Vineet More New Member


    Hi Manish,

    I tried the changed code but still i am not getting any field where i can see the email sending voucher being set to Yes and also not email is going even after saving a sales voucher.

    I am new to TDL. It will be very grateful if you can help me with it.



    Regards
    Vineet More

    an
     


  17. Vineet More

    Vineet More New Member


    It is working now. Thanks a lot.

    I need to customize further the email feature in such a way email will be send automatically without asking the user for confirmation after any voucher is being altered.

    Can you please guide me for the same?
     


  18. grn

    grn New Member


    It is working now. Thanks a lot.
     


  19. Vineet More

    Vineet More New Member


    How to run the same TDL in tally erp 9 release 1.6?
    THe problem i am facing right now in TDL is that it sending the email on Form accept but the voucher is not saved in the database of tally. How to ensure that the voucher is saved in tally erp 9 release 1.6 by using the above mentioned TDL or how to ensure that the same TDL runs in all the Tally releases?
     


  20. llwhiteflowerll

    llwhiteflowerll New Member


    its saying BAD From Address



    what to do
    please help
     
    ARITRA likes this.


  21. vanandd

    vanandd Member


    Hi Admin, This Email After Save Voucher is working good in Sales Vouchers. But, I am trying to incorporate thru Sales Orders but its not working. i.e., sales order voucher is not getting saved but Email sending and receiving properly. I am using Tally.ERP 9 4.93. Can you please check and reply....Regards vanandd
     


  22. ARITRA

    ARITRA New Member


     


  23. Amitkumar

    Amitkumar Member


    Can we save as a pdf instead of email with voucher number ?
     



  24. you can find on this forum its readily available just search it out
     


  25. Amitkumar

    Amitkumar Member


    thanks
     


Share This Page