I want to extract the xml of a voucher which is been created deleted or modified and store it at a given location. Is it possible ??
Yes, you have to create a report in tdl which will give you this information in at one place and then export the report in xml to store the same at your desired location. Thanks! www.aaradhyaasolutions.in
From Rel 4.8 New System event has been Introduced use this to call a function to write XML using this system event , Before Delete or After Delete Syntax [System : Events] <Label> : Before Delete Object : <Logical Condition Expr> + : <Action Keyword> : <Action Parameters> <Label> : After Delete Object : <Logical Condition Expr> + : <Action Keyword> : <Action Parameters> Sample Code [System : Event] BeforeStockItemDeletion : Before Delete Object : $$IsStockItem+ : Call : BeforeDeleteObjectFunc AfterStockItemDeletion : After Delete Object : $$IsStockItem+ : Call : AfterDeleteObjectFunc [Function : BeforeDeleteObjectFunc] 00 : Log : "Before Delete Object Event starts here" 10 : Log : $Name + “under the Stock Group†+ $Parent + “is being + deleted by â€Â+ $$CmpUserName 20 : Log : $MasterID 30 : Log : "Before Delete Object Event ends here"