how to count party total sales bill and display in vch ref

Discussion in 'Tally Developer' started by kishan agrawal, Jun 28, 2014.

    

  1. plz help ;;;party total bills count and disply at vch ref
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    [Collection : partylast]
    Type : Vouchers : VoucherType
    Child Of : "Sales"
    Fetch : PartyLedgerName,VoucherNumber,amount,date,Reference
    Filter : IsSameParty
    Sort : @@Increasing : $date


    [#Field: VCH Ref]
    Set as:$$Number:mad:@partysn

    [System : Formula]

    IsSameParty : $PartyLedgerName = #EIConsignee




    partysn : $$Number:mad:@partysnn + $$Number:1
    partysnn : $$CountNumofLed:$$Line:partylast
     


  2. Sangam

    Sangam New Member


    Use below Code

    [Collection : partylast]
    Type : Vouchers : VoucherType
    Child Of : "Sales"
    Fetch : PartyLedgerName,VoucherNumber,amount,date,Reference
    Filter : IsSameParty
    Sort : @@Increasing : $date


    [#Field: VCH Ref]

    Set as : @@TotBill

    Set Always : Yes

    skip : Yes

    [System : Formula]

    IsSameParty : $PartyLedgerName = #EIConsignee

    TotBill : $$NumItems:partylast
     
    kishan agrawal likes this.



  3. THANX U SIR
     


Share This Page