Dear All TDL Experts, I have written one function to update the closing balance value 100/- of a ledger for given collection. First I wrote one collection and mention that collection in the function. But it does not give any action. please help me and guide me. [Collection : arasiledcoll] Type : Ledger child Of : Sundrydebtors Fetch:Name [Function : mycollfunction] Variable :MyNamevariable:String Variable:myclosing:Amount 100 : Walk Collection : arasiledcoll 150 : Set :MyNamevariable:$Name 200 : Set :myclosing:100 250 : NEW OBJECT:Ledger:##MyNamevariable 300 : SET VALUE:closingBalance:$$tgtobject:##myclosing 350 : Accept Alter 400 : End Walk [#Menu : Gatewayoftally] Add:Button:MyledButton [Button:MyledButton] Key : Alt + x Action :Call:mycollfunction Title : "Test"
Mr. Mutharasan. Can you please elaborate your query in detail. So that we can understand your concept and result that you want to achieve. Is it that you want to update a 100/- in all ledgers of a specified group ?? And also you need to specify period too. And what about the transactions that are reflecting the closing balance value.
Dear Taufeeq Shaikh, Thank you very much for your nice explanation. It is all my mistake that using closingbalance instead of OpeningBalance. My query is to update 100 for specified groups of ledger. Now i have changed the method name Opening Balance and this function working well. Thank you very much for nice and awakening reply. Keep it up.