;; 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@StockTotal [System: Formula] ;; used as message contneg : "Negative" + $$NewLine + "Stock !!!"