how get taxable and exempted amount

Discussion in 'Free Source Codes' started by sanju1975, Aug 9, 2020.

    
  1. sanju1975

    sanju1975 New Member


    how get taxable and exempted amount from below collection


    [Collection: VWPSCollSrc]
    Type : Vouchers : ledger
    Child of : $$VchTypesales
    Belongs to : Yes
    Fetch : Date,VoucherTypeName,PartyLedgerName,MasterId,Amount, incometax number, voucher number


    [Collection:VWPSColl]
    Source Collection : VWPScollSrc
    Walk : ledger Entries
    By : VWPSVch : $masterid;;vouchernumber
    aggr Compute : VWPSGross :Sum:$Amount
    Fetch: amount,ledgername,MasterId, voucher number, date, vatassessablevalue
    Fetch : Allledgerentries.*,*.*
    Keep Source:().

    [System : Formula]
    TotalSalesWithoutTax:$VWPSGross
    TotalSalesWithTax :$Amount
    ExemptedSales :
    TaxableSales :
    TaxAmount :$Amount-$VwpsGross
     
    Frz likes this.


  2. sandip kumar

    sandip kumar New Member


    [System : Formula]
    TotalSalesWithoutTax:$VWPSGross
    TotalSalesWithTax :$Amount
    ExemptedSales :mad:@TotalSalesWithoutTaxs-@@TaxableSales
    TaxableSales :mad:@TaxAmount/0.05 ;here tax rate 5%
    TaxAmount :$Amount-$VwpsGross
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Look up.......... in Developer
    ##vTaxableAssessableValue and ##vExemptAssessableValue
     


  4. sanju1975

    sanju1975 New Member


    I have changed "Walk : ledger Entries" to "Walk : Inventory Entries" and getting both value, now i am not getting "party ledger name" and "pan number"
    any solution please
     


Share This Page