Lock TDL for Tally serial number

Discussion in 'Tally.ERP 9' started by Hasan@123, Nov 27, 2018.

  1. Hasan@123

    Hasan@123 Member

    How to lock a TDL for a particular Tally serial number? is it possible? if yes, please help.

  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    Use license tally developer...........you can specify the license number while compiling.

    Otherwise you will have to make a function............and therein you specify the formula....
    If: $$LicenseInfo:SerialNumber equal 123456789 then Load TDL, else Unload TDL.

  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    And if you are not compiling and just making a TDL/TXT file, anyone can remove that line of code.....

  4. Hasan@123

    Hasan@123 Member

    yes they can remove it.. but this formula not working in TXT file?

  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    if not working then you might not have defined the code properly...........

    There is no condition/criteria that it does not work in TXT file... there is no distinction in TXT/TCP file... other than compiling.

  6. Hasan@123

    Hasan@123 Member

    no sir.. i defined it properly .. i just copied the formula in a TXT file and replaced "123456789" with a serial number. isn't it right?

  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    u made a function ??? or did u just copy/paste .........

    what I have give you is the syntax, not the code........You need to work on the code and make a function.

  8. Hasan@123

    Hasan@123 Member

    i don't know how to make a function sir...

  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    that is why this is a learning site...not a site for free codes.........

    you can start making one...and experts will help you when needed............

  10. Sumit8158

    Sumit8158 New Member

    Also Can I test this code in educational mode? In educational mode it should end goto CTRL+Q

  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    the question is impertinent..............when the code says "Active" for so-and-so serial number, then obviously in Education mode it will not work, as there is no matching serial number.

  12. Sumit8158

    Sumit8158 New Member

    Sir in educational mode it worked by quitting tally.

  13. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    a typo...meant to say it will work.........

    since in edu mode no serial is there...and hence it will quit...........

  14. Sumit8158

    Sumit8158 New Member

    Also how to recheck loadtdl2 each time a company is loaded...Suppose i have two companies and switch from one to another.
    Whats happening is Suppose there are CompanyA & CompanyB.CompanyA Gstin matches with the code. So if i first load companyA then it will keep loading tdl. then i switch to companyb it will unload the tdl.if again i open companyA it will not load TDL

    CRUX: Once TDL is unloaded it will not load until company is started. Till TDL is loaded its checking each and every time company is switched.

  15. Sumit8158

    Sumit8158 New Member

    One Help from my side if someone wants to check it on educational mode replace license number with IsEducationalMode

  16. Sumit8158

    Sumit8158 New Member

    I found the solution myself so if anyone trying similar thing just change it to cmpstart2: Load Company : true : call : loadtdl2

  17. Sumit8158

    Sumit8158 New Member

    Now the problem is regarding reloading TDL file once its unloaded

  18. mpal2311

    mpal2311 Active Member

    You can lock date by using
    [#Form : Salescolor]
    Delete : Print
    Add : Print : GST Invoice
    [Report : GST Invoice]
    Form : GST Invoice
    Use : Voucher
    [Form : GST Invoice]
    Height : 297 mms
    Width : 210 mms
    Space Top : 5 mms
    Space Bottom : 5 mms
    Space Left : 12 mms
    Space Right: 5 mms

  19. mpal2311

    mpal2311 Active Member

    in the same manner use this

    Empty:$$SerialNumber <> 123456789

  20. Neha2017

    Neha2017 New Member

    So we need atleast a licensed Tally Developer to compile, so that people cannot just remove the code - is this right?

  21. Amit Kamdar

    Amit Kamdar Administrator Staff Member

    Yes..........u need a licensed Tally developer.

  22. Afjal Shaikh

    Afjal Shaikh New Member

    Can I use Text file Customization in one serial no In tally.erp9

  23. Afjal Shaikh

    Afjal Shaikh New Member

    Hello Sir

    Can I use text customization file for one serial Number in Tally

  24. Johar

    Johar Member

    Yes you can

  25. Afjal Shaikh

    Afjal Shaikh New Member

    So please tell me How to add serial number in text file customization

Share This Page