How to execute TDL code through SOAP request

Discussion in 'Tally Developer' started by Noor Hussain Ladkhan, Sep 18, 2012.

    

  1. Hi,
    Please let me know how to execute TDL code through SOAP request. I am using the below xml, please let me know if it is correct. I am trying to create a UDF.

    Code:
    <ENVELOPE>
        <HEADER>
                <VERSION>1</VERSION>
                <TALLYREQUEST>Execute</TALLYREQUEST>
                <TYPE>TDLAction</TYPE>         
        </HEADER>
    <BODY>
        <DESC> 
    <TDL>
    <TDLMESSAGE [System: UDF] MyUDF: String: 1000 [#Part: LEd Other Details] Add: Line: MyLine [Line: My Line] Field: Short Prompt,My Field
    Local: Field: Short Prompt: Set as: “City: ” [Field: My Field] Use: Short Name Field Storage: MyUDF >
     
      </TDLMESSAGE>
      </TDL>
      </DESC>
    </BODY>
    </ENVELOPE>
    
    Thanks and Regards,
    Noor Hussain
     



  2. See the Sample Code. in that then given the solution for the same with the soap excuter exe
     



  3. Hi Tushar, Thanks for your post. Please can you upload the code here or please let me know where I can find the sample code.

    Thanks and Regards,
    Noor Hussain
     


Share This Page