Sorting of Stock Items in voucher

Discussion in 'Tally Developer' started by Joharfchhil, Feb 16, 2013.

    
  1. Joharfchhil

    Joharfchhil Member


    Dear Sir,

    Can anyone tell me how to sort the Stock Items in Sales Voucher, so that it can generate invoice in sorted way ????

    Thanks
     


  2. admin

    admin Administrator Staff Member


    [Collection : My Item List]
    Source Collection : .
    Walk : Inventory ENtries
    By : Stock Item Name : $StockItemName
    Aggr Compute : BilledQTy: Sum : $BilledQty
    Aggr Compute : Amount : Sum : $Amount

    Repeat the above colletion instead of Inventory Entries..
     


  3. Joharfchhil

    Joharfchhil Member


    Dear Admin,

    I have created collection but it is not getting sort according to Stock Item Name, Please help me out.

    ;; This iam repeating for inventory entries

    Repeat : AInvLines: My Item List

    ;; Collection;;;

    [Collection : My Item List]
    Source Collection : ..
    Walk : Inventory Entries
    By : StockItemName:$StockItemName
    Aggr Compute : BilledQty : Sum :$BilledQty
    Aggr Compute : Amount : Sum : $Amount
    Aggr Compute : ActualQty : Sum : $ActualQty
    Aggr Compute : Rate : Sum : $Rate
    Aggr Compute : Discount : Sum :$Discount

    Thanks
     


  4. admin

    admin Administrator Staff Member


    Write sort attribute in the collection,

    [Collection : My Item List]
    Source Collection : ..
    Walk : Inventory Entries
    By : StockItemName:$StockItemName
    Aggr Compute : BilledQty : Sum :$BilledQty
    Aggr Compute : Amount : Sum : $Amount
    Aggr Compute : ActualQty : Sum : $ActualQty
    Aggr Compute : Rate : Sum : $Rate
    Aggr Compute : Discount : Sum :$Discount
    Sort : @@Default: $StockItemName
     


  5. Shyam Panhale

    Shyam Panhale New Member


    This work well in invoice but not in POS invoice , Can you please help ?
     


Share This Page