Duplicate Stock Item Stoper

Discussion in 'Requests' started by auruem, Sep 23, 2020.

    
Tags:
  1. auruem

    auruem Member


    Dear Experts

    Please Correct the Code
    or suggest the Line



    [ #Field : Vch Stockitem ]
    ;; Unique : Yes
    Local : Field : Unique : Inactive : If Not @@IsEnableDupStokitem Then Yes Else No

    [#Part : CMP TallyShopFeatures Left]
    LINE : Auruem Line 1

    [Line : Auruem Line 1 ]
    Field : Auruem Tally Shop Field 1 , Auruem Tally Shop Field 2
    LOCAL : FIELD : Auruem Tally Shop Field 1 : USE : Medium Prompt
    LOCAL : FIELD : Auruem Tally Shop Field 1 : Set As : "Stop Duplicate Stock Item"
    LOCAL : FIELD : Auruem Tally Shop Field 2 : USE : Logical Field
    LOCAL : FIELD : Auruem Tally Shop Field 2 : Set As : "No"
    LOCAL : FIELD : Auruem Tally Shop Field 2 : Storage : IsEnableDupStokitem

    [FIELD : Auruem Tally Shop Field 1]
    USE : Medium Prompt

    [FIELD : Auruem Tally Shop Field 2]
    USE : Logical Field

    [System: Udf]
    IsEnableDupStokitem : Logical : 1

    [System: Formula]
    IsDuplicateStockItem : $IsEnableDupStokitem:Company:##SvCurrentCompany
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You cannot combine Unique and Inactive......
     


  3. auruem

    auruem Member


    Hi Amit Ji

    is there any solution

    to stop duplicate item by choice ( inactive via tally shop meny)
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Unique : Yes
     


  5. info.ap

    info.ap New Member


    [ #Field : Vch Stockitem ]
    Unique : Yes

    Above code completely restricts to proceed further if same item selected twice...If we want only notification / alert for duplicate item selection then what is solution. Please suggest.
     
    naren1234 and auruem like this.


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    use NOTIFY
     
    auruem likes this.


  7. auruem

    auruem Member


    Dear

    I Like to Control Duplicate Stock Item Via Menu Control

    In Case of a Client Needs to Enter a Stock Item Twice

    What is The Solution......
     


  8. auruem

    auruem Member


    What is The Syntax
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Try and Find it in Tally Developer ....... as per your report , you can use the conditions.
     


  10. info.ap

    info.ap New Member


    Dear Amit Sir & Experts...I tried find NOTIFY but couldn't. Please help to solve
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In Tally Developer .... press Ctrl+D and input ... "Notify" .... you will get many options.
     
    auruem likes this.


Share This Page