3 discount in sales voucher

Discussion in 'Free Source Codes' started by CHANDRESH GAUR, Jul 22, 2019.

         


  1. Chandresh J Geria

    Chandresh J Geria New Member


    good ,
    can you share code please ..
     


  2. svn

    svn Member



  3. S P Tandale

    S P Tandale New Member



  4. Abhina Singh

    Abhina Singh New Member


    sir ji plz send me this file
     


  5. Rajsrisrimal

    Rajsrisrimal Member



  6. sumamehtra

    sumamehtra Member



  7. tejeet

    tejeet Member



  8. Abhina Singh

    Abhina Singh New Member



  9. mpal2311

    mpal2311 Active Member



  10. A Sam

    A Sam Member



  11. Amit Prajapati

    Amit Prajapati New Member



  12. Jenny

    Jenny Active Member


    Code:
    [#Line : EI ColumnOne]
    Option : Global EI ColumnOne
    
    [!Line: Global EI ColumnOne]
    Add : Right Fields : After : VCH DiscTitle : SchemeAmtTL,SchemeAmtTL1,SchemeAmtTL2
    
    [Field : SchemeAmtTL]
    Info : "Dis-1"
    Align : Centre
    Width : 5
    Style : Small
    Border : Thin Left Right
    
    [Field : SchemeAmtTL1]
    Info : "Dis-2"
    Align : Centre
    Width : 5
    Style : Small
    Border : Thin Left Right
    
    [Field : SchemeAmtTL2]
    Info : "Dis-3"
    Align : Centre
    Width : 5
    Style : Small
    Border : Thin Left Right
    
    
    [#Line : EI ColumnTwo]
    Option : Global EI ColumnTwo
    
    [!Line: Global EI ColumnTwo]
    Add : Right Fields : After : VCH DiscTitle : SchemeAmtTL ,SchemeAmtTL1,SchemeAmtTL2
    Local : Field : SchemeAmtTL : Info : " "
    
    [#Line : EI InvInfo]
    Option : Global EI InvInfo
    
    [#Line : CI InvInfo]
    Option : Global EI InvInfo
    
    [!Line: Global EI InvInfo]
    Add : Right Fields : After : VCH Discount : SchemeAmt,SchemeAmt1,SchemeAmt2
    
    [Field : SchemeAmt]
    Use : Number Field
    Width : 5
    Set Always : Yes
    Storage : SchemeAmt
    Format : "Zero, Percentage"
    Align : Right
    
    [Field : SchemeAmt1]
    Use : Number Field
    Width : 5
    Set Always : Yes
    Storage : SchemeAmt1
    Format : "Zero, Percentage"
    Align : Right
    
    [Field : SchemeAmt2]
    Use : Number Field
    Width : 5
    Set Always : Yes
    Storage : SchemeAmt2
    Format : "Zero, Percentage"
    Align : Right
    
    
    [System:UDF]
    SchemeAmt : Number : 2345
    SchemeAmt1 : Number : 2346
    SchemeAmt2 : Number : 2347
    
    [#Field: VCH NrmlValue]
    Delete : Set as
    Add : Set as :($Rate * $BilledQty) * (100 - $SchemeAmt) / 100 *  (100 - $SchemeAmt1) / 100 *(100 - $SchemeAmt2) / 100
     
    Rohit Khedar and CHANDRESH GAUR like this.


  13. anish

    anish Member


    Thanks Mam !
     
    Jenny likes this.


  14. Rohit Khedar

    Rohit Khedar Member


    Thanks and nice jenny but when we use default Disc% then not work 3 Discount
     


  15. udaya

    udaya Member


    Great work.... Thanks lot......
     
    Jenny likes this.


  16. Jenny

    Jenny Active Member


    i post it for learning not an full code...just modify its for your requirement
     


  17. Abhina Singh

    Abhina Singh New Member



    Very nice this tdl file
    but print preview not show extra discount column how to print this extra discount column
    please tell me
     


Share This Page