XML to export tally Company Telephone number and Mobile number both

Discussion in 'Free Source Codes' started by Rutal Jadav, Nov 15, 2022.

    
  1. Rutal Jadav

    Rutal Jadav Member


    Does tally gives Company Telephone number and Mobile number both??
    Because I am using below mention XML to export company data from tally but only get Telephone number not Mobile number.

    <ENVELOPE>
    <HEADER>
    <VERSION>1</VERSION>
    <TALLYREQUEST>Export</TALLYREQUEST>
    <TYPE>COLLECTION</TYPE>
    <ID>compcoll</ID>
    </HEADER>
    <BODY>
    <DESC>
    <STATICVARIABLES>
    <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT>
    <LICNUMM>$$LicenseInfo:SerialNumber</LICNUMM>
    </STATICVARIABLES>
    <TDL>
    <TDLMESSAGE>
    <COLLECTION NAME="compcoll" ISINITIALIZE="Yes">
    <TYPE>Company</TYPE>
    <BELONGSTO>Yes</BELONGSTO>
    <FETCH>Name,Guid,Mailingname,Address,PhoneNumber,MobileNumbers,Companynumber,GSTRegNumber,Gstregistrationnumber,gstnum,StartingFrom,STATENAME,email</FETCH>
    <PARMVAR>LICNUMM:$$LicenseInfo:SerialNumber</PARMVAR>
    <COMPUTE>gstnum:$GSTRegNumber:taxunit:\"" + "Default Tax Unit" + "\"</COMPUTE>
    <COMPUTE>licnumbervar:$$LicenseInfo:SerialNumber</COMPUTE>
    </COLLECTION>
    </TDLMESSAGE>
    </TDL>
    </DESC>
    </BODY>
    </ENVELOPE>
     


  2. Sai Vineeth

    Sai Vineeth Active Member


    In companies Table

    Telephone Number - PHONENUMBER
    Mobile number - MOBILENO
    also include them in fetch in similar way
    upload_2022-11-15_15-0-40.png
     


Share This Page