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
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.
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!!
For Alteration, ACTION=Alter , Object Id is same as Ledger Name because , Ledger Names+Aliases are unique key on Tally