My First TDL customization (Inclusive or Exclusive rate print in invoice)

Discussion in 'Free Source Codes' started by Dev Asish, Aug 29, 2017.

    
  1. Dev Asish

    Dev Asish New Member


    It gives A button at Print configuration "Inclusive / exclusive". Print the sales Voucher as per Requirement

    here is the code:





    [#Form: SV Print Config]
    Add : Bottom Button : At Beginning : Inclusive



    [Button : Inclusive]
    Key : Ctrl+I
    Action : Set : InclRateInvoive : Not ##InclRateInvoive
    Title : IF ##InclRateInvoive then "Inclusive" else "Exclusive"




    [#Line : EXPINV AccDetails] ;;Modified Default Line
    Empty : ##InclRateInvoive

    [#Field :EXPINV Rate]
    Set as : If ##InclRateInvoive then $InclusiveTaxValue else $Rate
    [#Field: EXPINV Amount]
    Set as : If ##InclRateInvoive then $BilledQty*$InclusiveTaxValue else $Amount



    [Variable : InclRateInvoive]
    Type : Logical

    [System : Variables]
    InclRateInvoive : No
     
    Last edited: Aug 30, 2017
    Hemanth likes this.


  2. rishabhexp

    rishabhexp New Member


    error in the code bro
     


  3. Dev Asish

    Dev Asish New Member


    Check in Rel after 6.0
     


  4. rishabhexp

    rishabhexp New Member


    CHECKING IN REL 6.1
    A ERROR SAYING DESC NOT FOUND
    SEE THE SCREEN SHORT
     

    Attached Files:



  5. Dev Asish

    Dev Asish New Member


    check the new edited code ...
     


  6. rishabhexp

    rishabhexp New Member


    CODE WORKING FINE

    GOOD JOB..
     


  7. sekharchana

    sekharchana Member


    Sir please tell me how to activate this
    any changes to be made in configure?
     


  8. Dev Asish

    Dev Asish New Member


    At "ALT + P" voucher configuration there is a button "Inclusive/Exclusive" ...
     


  9. Dev Asish

    Dev Asish New Member


    Thanks
     


  10. sekharchana

    sekharchana Member


    couldnot find that option sir
     

    Attached Files:

    Last edited: Aug 31, 2017


  11. jaingourav25

    jaingourav25 New Member


    WHEN WE SELECT INCLUSIVE. AMOUNT NOT SHOWN IN INVOICE
     


  12. Ashoka

    Ashoka New Member


    can we get new code am able find new code
     


  13. Dev Asish

    Dev Asish New Member


    Find the option at Print Configurations
     


  14. Dev Asish

    Dev Asish New Member


    Enable "Allow entry of rate inclusive of tax for stock items" from sales configurations
     


  15. sekharchana

    sekharchana Member


    sir even if we unable the same in sales configurations its not showing in printing
     


  16. VIkaran

    VIkaran New Member


    Hi Dev

    Suppose I wish to apply this TDL in a POS Invoice, what changes are to be made in the code.
    Pls suggest.
     


  17. lucky agrawal

    lucky agrawal New Member


    THNAKS SIR
    THIS CODE WORKING PROPERLY
     


  18. lucky agrawal

    lucky agrawal New Member


    THNAKS SIR
    THIS CODE WORKING PROPERLY
     


  19. lucky agrawal

    lucky agrawal New Member


    THNAKS SIR
    THIS CODE WORKING PROPERLY
     


  20. lucky agrawal

    lucky agrawal New Member


    THANKS SIR
    THIS CODE WORKING PROPERLY
     


  21. lucky agrawal

    lucky agrawal New Member


    THAN
    KS SIR
    THIS CODE WORKING PROPERLY




    THANKS SIR THIS CODE IS WRKING PROPERLY
     


  22. SAMKIT

    SAMKIT New Member


    badhiya ye kaam ka hai
     


  23. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    SHOW BOTH COLOUMNS.
    INCLUSIVE AND EXCLUSIVE
    FOR MORE ATTRACTIVE INVOICE.
     


  24. sanjeevk.akb

    sanjeevk.akb New Member


    SHOW BOTH COLOUMNS.
    INCLUSIVE AND EXCLUSIVE
    FOR MORE ATTRACTIVE INVOICE.
     


  25. sureshkumarks1

    sureshkumarks1 New Member


    I want an additional column in this code and show the Rate(Incl. of Tax).
     


Share This Page