alternate unit wise quantity total on print

Discussion in 'Free Source Codes' started by neha shruti, Apr 3, 2021.

    
  1. neha shruti

    neha shruti New Member


    BELOW EXAMPLE

    2 PKTS
    10 PCS
    3 CTN
    2 PCS
    4 PKTS

    TOTAL 3 CTN , 6 PKTS , 12 PCS

    ITS TOTAL OF SAME UNITS , IS IT POSSIBLE ??

    on print shows this
    Total : 3 CTN , 6 PKTS , 12 PCS
     


  2. balajimg

    balajimg Active Member


    Yes its possible
    you have to write a collection
    [Collection : present Sales Invoice]
    Source Collection : Default
    By : Units : ($BaseUnits:StockItem:$StockItemName)
    Aggr Compute: UnitQtyTotal : Sum: $BilledQty

    Hope this helps you
     
    neha shruti likes this.


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes.. a Collection of all Units as shown by @balajimg

    Then adjust the same in your required field. A similar code already exists in this forum. Find it.
     
    neha shruti likes this.


Share This Page