Getting All Fields Values of Ledger form after Submit

Discussion in 'Tally Integration' started by Bharath, Apr 11, 2013.

    
  1. Bharath

    Bharath New Member


    Hi everyone, i am using below code to get all the fields values of ledger form after submit...it is sending values to the tally.php page(i mentioned in MyURL) but showing error message "invalid xml format" in tally.can any one help with the code how to get all field values of ledger form on submit.....

    Code:
    [#Form: Ledger]
        on    : Form Accept : $$InCreateMode    : CALL : POST XML Func:($MasterID)
       
    [Function: POST XML Func]
       
        Parameter    : MasterId :Number
       
        10 : HTTP Post : @@MyURL: ASCII: rptMyReport
       
    [System: Formula]
     
        MyURL    :  "http://localhost/tally/tally.php"
        MID : "ID:" + $$String:##MasterID
     
    [Report: rptMyReport]
        Form    : frmMyForm
        Use        : Ledger
        Object    : Ledger: @@MID
     
    [Form: frmMyForm]
        Use        : Ledger
        Full Object : Yes
     


  2. admin

    admin Administrator Staff Member


    No need to send Master ID.. Send Ledger Name it self.

    In all the masters, Name it self is unique key..
    Only in voucher master key is needed to fetch data set.
     


  3. ganesh chavan

    ganesh chavan New Member


    Dear Admin,
    Thanks for the above reply, however we need to pass thorough masterid as only name does not work at the time of alteration of the same ledger created at the first time.

    Kindly assist for alteration mode as well.

    Thanks!!
     


  4. B Patil

    B Patil New Member


    For Alteration, ACTION=Alter , Object Id is same as Ledger Name because , Ledger Names+Aliases are unique key on Tally
     


Share This Page