Different quantities for manufacturing journal and stock journal

Discussion in 'Tally Developer' started by Anshul Garg, Aug 20, 2022.

    
  1. Anshul Garg

    Anshul Garg Member


    I am using collection

    [Collection:StockItemDetails]
    Source Collection:ALL Vouchers


    Walk : All Inventory Entries
    By : StockItemName : $StockItemName
    Fetch:StockItemName,VchEntryMode
    Sort : @@SortAlphaIncr : $StockItemName

    Aggr Compute : StkJrnlQtyIn : Sum : If @@StkJrnlVoucherType And $$IsInwards:$BilledQty Then $BilledQty Else 0
    Aggr Compute : MfgJrnlQtyIn : Sum : If @@MfgJrnlVoucherType And $$IsInwards:$BilledQty Then $BilledQty Else 0

    [System:Formula]
    StkJrnlVoucherType:"Use for Stock Journal"=$VchEntryMode ;$$IsStockJrnl:$VoucherTypeName AND
    MfgJrnlVoucherType:if $$IsEqual:"Use for Manufacturing Journal":$VchEntryMode then yes else no ;$$IsStockJrnl:$VoucherTypeName AND "Use for Manufacturing Journal"=$VchEntryMode


    please help me how to diffrentiate between manufacturing journal and stock journal
     


Share This Page