Negative Stock Control in Godowns

Discussion in 'Tally Developer' started by Jhon32Kolly, Jan 31, 2015.

    
  1. Jhon32Kolly

    Jhon32Kolly New Member


    Respect Admin and other members
    Please help me get the code for not allowing POS sales when stock is negative in the Godown
    Thank you.
     


  2. Mahesh Sethi

    Mahesh Sethi Member


    Dear Sir,

    Use Default TDL Provided By Tally At Official site of Tally .
     


  3. Jhon32Kolly

    Jhon32Kolly New Member


    Thank you
    Can I please have the link to that particular one because I see a lot of add-on on official tally site
     


  4. Mahesh Sethi

    Mahesh Sethi Member



  5. Jhon32Kolly

    Jhon32Kolly New Member


    Thank you very much.
    It's working but I want it to work in POS voucher too. So I add this code to it but its still not working.
    Can you help me with the code?

    ;; [#Field: VCH POSBilledQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner
    ---------------------------------------------------------------------------------------------------------------------------------------------
    My code below is not working. Please help me out. Thank you.

    [#Field: VCHBATCH JrnlBQty]
    Control : Test Control : @@Testing AND @@IsOutWard And NOT $$IsCmpOwner

    [#Field: VCH NrmlActualQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner

    [#Field: VCH NrmlBilledQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner

    [#Field: VCH JrnlBilledQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner

    [#Field: VCHBATCH NrmlBQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner

    [#Field: VCH POSBilledQty]
    Control : Test Control : @@Testing AND @@IsOutWard AND NOT $$IsCmpOwner

    [System : Formula]
    Testing : $$IsNegative:mad:@FinalStockTotal
    Test Control:"Hi "+##SVUserName+" !!! "+$$NewLine+"Negative Stock"+$$NewLine+"entry not allowed for"+$$NewLine+" Stock Item : " + $StockItemName
     



  6. [#Field: VCH POSValue]
    ;;;Control : NegativeStock : @@IsOutwardType AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@StockTotal
    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@GdnStockTotalPOS
     



  7. [#Field: VCH POSValue]
    ;;;Control : NegativeStock : @@IsOutwardType AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@StockTotal
    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode OR $$InAlterMode AND $$IsNegative:mad:@GdnStockTotalPOS
     


Share This Page