Hello Everyone, I am new in Tally TDL development. So wanted your help to create a TDL which would import XML file in Tally. Please find below my code [#menu: gateway of tally] Title : "Import XML" item : Import XML : Menu : Voucher Type [Menu : Voucher Type] Item : Journal Voucher : Browse :"D:\Tally Import XML\Journal Voucher.XML" Item : Payment Voucher : Browse :"D:\Tally Import XML\Payment Voucher.XML" With the above code, the XML file opens on web browser and does not get imported the data in Tally. What would be the syntax instead of "Browse" to import the XML file? Many thanks in advance. Best Regards,
Hear Browse is not an Open Dialogue Box. It is used for Open a Link From Tally. If u Need Open Dialogue Box in Tally, Write an DLL and use it..
Thank you so much for your reply @knsivan89.. Could you please help me on writing the dll which would import the xml file since i am new to TDL coding. Many thanks in advance. Best Regards,
You need to call following function in menu. & not browse. [Menu : Voucher Type] Item : Journal Voucher : Call : Import Voucher:"D:\Tally Import XML\Journal Voucher.XML" [Function:Import Voucher] Parameter : FileNameWithPath : String 20 : SET : ImportVoucher : @@IMXML 50 : SET : ImportFile : ##FileNameWithPath 60 : IMPORT : Vouchers : True 70 : MSGBOX : "Status" :"JV Imported Succesfull"