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@partysn [System : Formula] IsSameParty : $PartyLedgerName = #EIConsignee partysn : $$Number@partysnn + $$Number:1 partysnn : $$CountNumofLed:$$Lineartylast
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 : $$NumItemsartylast