I want to a control invoice for particular company

Discussion in 'Tally Developer' started by NMS, Sep 29, 2012.

    
  1. NMS

    NMS Member


    Dear Experts,
    I Had Customized a Invoice .but it should Work only for a Particular company i want to control this invoice .what is the code .
    plz Help Me.
    Thanks in Advance.
     



  2. try this

    ;;limiting based on company name

    ;Lic :($$Currentcompany Contains "Demo Co")

    ;;CompanyName Warning

    ;LicWarn :##SVCurrentcompany Contains "Demo Co"
    [System: Events]

    ;;------------------------------------------------------
    ;; Cmp Start Event
    ;--------------------------------------------------------

    CmpStartEvent: Load Company: @@LicWarn:CALL: CMPStartFunc
    CmpEndEvent: Close Company: @@LicWarn: CALL: CMPEndFunc

    ;;-------------------
    ;Example to control
    ;;-------------------

    [#Menu : Gateway of Tally]

    Option : GOT DL : @@Lic

    [!Menu : GOT DL]

    Delete : Item
    Delete : Indent
    Delete : Option: Import Direct: NOT $$IsTallyClient AND NOT $$IsTallyServer
    Delete : Option: Import InDirect: $$IsTallyClient OR $$IsTallyServer
    Delete : Option: FinalAcctsMenu: @@UseFinalAcctsMenu
    Delete : Option: MultiAccountButton: (($$LicenseInfo:IsLicensedMode) OR (($$LicenseInfo:RemoteSerialNumber) > 0))


    ;;End of file
     


  3. NMS

    NMS Member


    Dear Umesh,
    This code is Not Working
     



  4. pls un commet this tow line its work 100%

    ;Lic :($$Currentcompany Contains "Demo Co")
    ;LicWarn :##SVCurrentcompany Contains "Demo Co"
     


  5. NMS

    NMS Member


    Dear sir,
    I had Un Commet This two Lines .But Still it is not working.
    my invoice is working for all companies .it should work only particular one company.
     


  6. G Vijay

    G Vijay Member


    Hi,
    You can give additional line in F11 -Accounting Features, give an option - like : Unable to My Invoice ? = Yes, then your Sales Invoice has to active, or if Not, Invoice will not work.
     


  7. G Vijay

    G Vijay Member


    activate my Invoice ? = yes, then your sales invoice has to able. otherwise it is unable for other companies (ignore my previous comment, sorry)
     


  8. ahmed rishali

    ahmed rishali Member




  9. Check Attached Code and Check Tally Release < 3.2
    Go to F11-->Accountiong Features --> Enable customization :"yes"
    Tally Rel > 3.3
    Go to F11-->Add on Features --> Enable customization :"yes"

    use condition apply for your option
     

    Attached Files:



Share This Page