Controlling Negative Stock Entry

Discussion in 'Tally Developer' started by Nirav Merchant, Mar 6, 2013.

    
  1. Nirav Merchant

    Nirav Merchant Active Member


    ;; this program makes sure that if stock is negative than u cannot go any further
    ;; in making the invoice
    ;; You Can Replace Notify with Control to Lock Entry if stock is negative

    [#Field: VCH NrmlBilledQty]
    Notify : contneg : ##VCFGNegativeStock AND $$InCreateMode AND +
    $$IsNegative:mad:@StockTotal


    [System: Formula] ;; used as message

    contneg : "Negative" + $$NewLine + "Stock !!!"
     


  2. nagaraju

    nagaraju New Member


    no sir voucher is saving plz suggest
     


  3. Nirav Merchant

    Nirav Merchant Active Member


    Change notify with control will work
     


Share This Page