I am using vb.net to connect Tally Erp9. Using xml requesting exporting information from tally. But before exporting I would like to know, in which mode the connected tally instance is running. I would like to know if the tally is running in licensed or educational mode. Is there any xml/tdl request can be used to get the information? Is it possible to get information about connected tally running in which mode?
To Get License Mode: Code: <ENVELOPE> <HEADER> <VERSION>1</VERSION> <TALLYREQUEST>EXPORT</TALLYREQUEST> <TYPE>Function</TYPE> <ID>$$LicenseInfo</ID> </HEADER> <BODY> <DESC> <STATICVARIABLES> <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT> </STATICVARIABLES> <FUNCPARAMLIST> <param>IsLicensedMode</param> </FUNCPARAMLIST> <TDL> <TDLMESSAGE/> </TDL> </DESC> </BODY> </ENVELOPE>
To test whether Rally is running or not: Shell execute "hhtp//127.0.0.1:9000". replace 127.0.0.1 with your network ip if need be. Also change port to whatever you have set in place of 9000. Tally if running will respond with "<RESPONSE>TallyPrime Server is Running</RESPONSE>"