Negative Stock TDL for POS, Invoice, and Stock Journal Voucher in Multi Godown

Discussion in 'Tally & TDL Learning HUB' started by Ronnie Kat, Nov 4, 2022.

    
  1. Ronnie Kat

    Ronnie Kat New Member


    ;;I created below TDL and works fine but my challenge it load to all companies yet would like to use it on one company! Need help/advise

    [#Field: VCHBilledQty]
    Control : NegativeStock : @@IsSales Or @@IsDelNote OR @@IsStockJrnlVch AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@GdnStockTotalPOS

    [#Field: VCH POSBilledQty]
    Control : NegativeStock : @@IsSales Or @@IsDelNote OR @@IsStockJrnlVch AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@GdnStockTotalPOS

    [#Field:VCHBATCH NrmlBQty]
    Control : NegativeStock : @@IsSales Or @@IsDelNote Or @@IsStockJrnlVch AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@FinalStockTotal

    [#Field: VCHBATCH BilledQty]
    Control : NegativeStock : @@IsSales Or @@IsDelNote Or @@IsStockJrnlVch AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@FinalStockTotal

    [#Field: VCHSTKJrnl BilledQty]
    Control : NegativeStock : @@IsSales Or @@IsDelNote Or @@IsStockJrnlVch AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@FinalStockTotal
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Negative stock control is already in default tally......... What is the above code's purpose??
     


  3. Ronnie Kat

    Ronnie Kat New Member


    The one in Tally notifies but can't block, the above code blocks negative sales
     


Share This Page