Menu - Gateway

Discussion in 'Tally Developer' started by Bimal Mehta, Apr 14, 2020.

    
  1. Bimal Mehta

    Bimal Mehta New Member


    once the user select Disable option , Menu at Gateway are not getting disable. Please correct my coding below

    [#Part : BASIC COMPANY]
    Add : Line : AT END : SOC_TRIGGER
    [Line : SOC_TRIGGER]
    Field : MEDIUM PROMPT, SOC_TRIGGER
    Local : FIELD : MEDIUM PROMPT : INFO : $$LocaleString:"Society Account"

    [Field : SOC_TRIGGER]
    Use : NAME FIELD
    Storage : ANSWER
    Table : SOCANSWER
    Show Table : Always

    [Table : SOCANSWER]
    TITLE : "SOCIETY ACCOUNT"
    List : "ENABLE" , "DISABLE"


    [System: UDF]
    ANSWER : String: 101

    [#Menu : GATEWAY OF TALLY]

    Add : Key Item : Before : @@LOCQUIT : Socitey Account : S : Menu: SOCACCOUNT
    Control: society account : $ANSWER = "DISABLE"
     


  2. mutharasan

    mutharasan Member


    [#Part : BASIC COMPANY]
    Add : Line : AT END : SOC_TRIGGER

    [Line : SOC_TRIGGER]
    Field : MEDIUM PROMPT, SOC_TRIGGER
    Local : FIELD : MEDIUM PROMPT : INFO : $$LocaleString:"Society Account"

    [Field : SOC_TRIGGER]
    Use : NAME FIELD
    Storage : ANSWER
    Table : SOCANSWER
    Show Table : Always

    [Table : SOCANSWER]
    TITLE : "SOCIETY ACCOUNT"
    List : "ENABLE" , "DISABLE"


    [System: UDF]
    ANSWER : String: 101

    [#Menu : GATEWAY OF TALLY]

    Add : Key Item : Before : @@LOCQUIT : Socitey Account : S : Menu: SOCACCOUNT:mad:@mysecurity


    [System: Formulae]

    mysecurity:$ANSWER:company:##svcurrentcompany != "DISABLE"
     


  3. Bimal Mehta

    Bimal Mehta New Member



    Thank you
     



  4. good concept
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes...you can .....

    De-activate the Menu Item .. then put a Button on right side button panel....... from the button it should ask for password and if given it will activate the menu option......
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Start what ??? The code.....!!!

    You have to make the code and if there are any problems, Expert members can help you.
     
    Last edited: Sep 13, 2022


Share This Page