Can Tally integrate with a Web Application?

Discussion in 'Knowledge Base' started by admin, May 17, 2013.

    
  1. admin

    admin Administrator Staff Member


    Query

    Can Tally integrate with a Web Application?

    Solution

    Yes, Tally.ERP9 can integrate with a Web Application by using XML Collection.

    Following are the steps to achieve the same:

    1. Invoke a User Defined Function Func1 to Integrate Tally.ERP9 with Web Application.

    Example:

    [Function: Func1]


    2. Within the Function, walk over a Collection (XML Collection) XMLColl1 which, in turn sends XML request to the Web Application through a Report.

    Example:

    [Function: Func1]

    00 : WALK COLLECTION : XMLCOLL1

    [Collection: XMLColl1]
    Remote URL : "https://101.202.303.404/download.do"
    Remote Request : ReportConstRequestXML1 : ASCII
    XML Object Path : TALLYMESSAGE:1:ENVELOPE:BODY:1


    ;; Path specified through XMLObjectPath is the Object path specification to the Response XML

    3. Design a Report ReportConstRequestXML1 to construct the suitable XML request as agreed upon and understood by the Web Application.

    Example:

    [Report: ReportConstRequestXML1]

    ;; The above report must construct the agreed XML Request Format as understood by the Web Application

    4. Once, the response is back, process the response within the Function Func1.

    Example:

    [Function: Func1]
    00 : WALK COLLECTION : XMLCOLL1
    10 : NEW OBJECT : Ledger
    20 : SET VALUE : Name : $XMLName
    30 : SET VALUE : Parent : $XMLParent
    40 : END WALK


    You may also want to develop a foolproof handshake mechanism to integrate masters and transactions where the same set of masters or transactions are not resent. This can be done by way of maintaining flag at either ends and setting the flag value as per the status.

    Also, multiple requests can be sent as an acknowledgement of the previous transactions received, etc. similarly.
     
    Anish Paul, Ras Raj and Ansal like this.


  2. narayana

    narayana New Member


    hi i am not able to understand this i am very new to tally, exactly i want like this, i want to send xml request to tally from my web application and tally will give response to back as xml so after getting response i will handle data can you please send me some example code my programming language is PHP can you please send the xml for getting voucher details

    Thanks in advanced

    Thanks and Regards
    Narayana reddy Gurrala
     


Share This Page