Discussion in 'Tally.ERP 9' started by Hasan@123, Nov 27, 2018.
How to lock a TDL for a particular Tally serial number? is it possible? if yes, please help.
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.
And if you are not compiling and just making a TDL/TXT file, anyone can remove that line of code.....
yes they can remove it.. but this formula not working in TXT file?
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.
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?
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.
i don't know how to make a function sir...
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............
Also Can I test this code in educational mode? In educational mode it should end goto CTRL+Q
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.
Sir in educational mode it worked by quitting tally.
a typo...meant to say it will work.........
since in edu mode no serial is there...and hence it will quit...........
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.
One Help from my side if someone wants to check it on educational mode replace license number with IsEducationalMode
I found the solution myself so if anyone trying similar thing just change it to cmpstart2: Load Company : true : call : loadtdl2
Now the problem is regarding reloading TDL file once its unloaded
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
in the same manner use this
Empty:$$SerialNumber <> 123456789
So we need atleast a licensed Tally Developer to compile, so that people cannot just remove the code - is this right?
Yes..........u need a licensed Tally developer.
Separate names with a comma.