Can anyone tell me exploding Inventory detail on Group summary voucher

Discussion in 'Free Source Codes' started by SANTOSH SHRESTHA, Feb 1, 2020.

    

  1. Please help me

    [#Line: DSP VchExplosion]
    Local : Field : DSP VchExplAccount : Space Left : If $$IsFirstObj Then 2 Else 10
    Explode:santa;:$$IsExploded
    [Part:santa]
    Line:santa1
    Repeat:santa1:itemscoll


    [Line:santa1]
    Field:name field
    Local:Field:Name field:Set as:$StockItemName
    ;Invisible: $$IsFirstObj

    [Collection:mystkcoll]
    Type : Vouchers : Ledger
    Fetch:voucher number, date,stockitemName
    Belongs To:Yes
    Filter:paBB
    [Collection:itemscoll]
    Source Collection:mystkcoll
    Walk:LedgerEntries,Inventory Allocations
    By:Ledger:$LedgerName
    By:StockItemName:$StockItemName
    Compute:stkqty:$billedQty


    [System:formula]
    myfilter:$$IsLedOfGrp:$LedgerName:$$GroupSales
    PaBB : $LedgerName = #DSPVchExplAccount
     


Share This Page