3rd Party Application Integration With TallyERP 9
3rd Party Application Integration With TallyERP 9
3rd Party Application Integration With TallyERP 9
ERP 9
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
This document is for informational purposes only. TALLY MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form, by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Tally Solutions Pvt. Ltd. Tally may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written licence agreement from Tally, the furnishing of this document does not give you any licence to these patents, trademarks, copyrights, or other intellectual property. 2010 Tally Solutions Pvt Ltd. All rights reserved. Tally, Tally 9, Tally9, Tally.ERP, Tally.ERP 9, Shoper, Shoper 9, Shoper POS, Shoper HO, Shoper 9 POS, Shoper 9 HO, TallyDeveloper, Tally Developer, Tally.Developer 9, Tally.NET, Tally Development Environment, Tally Definition Language, TDL, Tally Extender, Tally Integrator, Tally Integrated Network, Tally Service Partner, TallyAcademy & Power of Simplicity are either registered trademarks or trademarks of Tally Solutions Pvt. Ltd. in India and/or other countries. All other trademarks are properties of their respective owners.
Ver 1.0 May, 2010
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Table of Contents
Is this document for you? .................................................................................................. 4 What does this document cover?...................................................................................... 4 What this document does not cover?................................................................................ 4 Structure of what follows ................................................................................................... 5 Masters and Transactions............................................................................................. 5 Typical use cases.......................................................................................................... 5 Basic Handshake with Tally.ERP 9............................................................................... 6 Masters ............................................................................................................................. 6 Creating an Accounting Master..................................................................................... 6 Creating an Item Master................................................................................................ 7 Update Masters............................................................................................................. 8 Delete Masters .............................................................................................................. 8 Ignore Edits to Master Names....................................................................................... 8 Transactions (vouchers).................................................................................................... 8 Create ........................................................................................................................... 8 Update........................................................................................................................... 9 Delete............................................................................................................................ 9 Avoid Duplicate Vouchers ............................................................................................. 9 Protecting Vouchers from Edit/Delete ........................................................................... 9 Finding Deleted Vouchers............................................................................................. 9 Allow Editing of Vouchers ............................................................................................. 9
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
You may choose not to manage the above issues yet these will arise in the field, and you will be called to manage these support calls. Look closely youll see that these are not unique to Tally.ERP 9. These are issues that an interface between any two applications will need to consider.
Masters
Creating an Accounting Master
Tally.ERP 9 has some 28 default accounting groups. When creating accounting masters you can choose to Create these under these default groups (and the customer can re-group them later in Tally.ERP 9). Even in this case: o You will need to consider that someone has renamed these reserved groups o You will have to find the right group in case the reserved group is renamed (use the RESERVEDNAME to get the new group name) Or, get the list of all groups from Tally.ERP 9, display these as a dropdown and have your user chose the appropriate one, in the TPA. Here: o Based on requirements, restrict the type of group he can select o You could also suggest the best suited group (ex: a customer under Sundry Creditors) You will need to have some way to identify the master you have created in Tally.ERP 9. For this: Add a signature of your application to the master (via a UDF User Defined Field, created via TDL) This UDF can be used to restrict alteration/deletion of such masters via TDL
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Add a master identifier that will be used in the TPA (via a UDF). This should be maintained in the application to find missing/modified/regrouped masters
You will need to verify the existence of the Master in Tally.ERP 9 before you post (to prevent overwrites and other conditions): In case Master exists, you may need to perform these steps: o Check if the master is under the same reserved group/sub group you intended o If it is under the same group/sub group then: You may just need to alter the master to record the UDFs and other changes/additions Or throw an exception to the TPA o If it is under a wrong group, say Expenses instead of Assets: Throw an exception to the TPA Or create a new ledger with a modified name Else create this in Tally.ERP 9 In case master has tax related information, make sure you get these right: Find the type of tax applicable Get the list of classifications from Tally.ERP 9 and ask the user to select Detect the right classification and present to the user Send the appropriate statutory related tags Handle base currency issues In Tally.ERP 9 the base currency label can be changed. You will need to handle this scenario In case you need to create a new currency in Tally.ERP 9: o Make sure that the currency code you want to create does not contain a numeric It is advisable to create one master at a time to manage exceptions better On exception analyze the issue o If no user intervention is required then make corrections silently o If the user intervention necessary then prompt to the user Maintain these in the TPA against each master o Code/name of master in TPA o Master ID in Tally.ERP 9 o Ledger name in Tally.ERP 9 o Ledger Group in Tally.ERP 9 o Ledger Identifier for your application in Tally.ERP 9 (UDF)
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Update Masters
If the TPA just sends an update, Tally.ERP 9 will create a new master (and drop an existing one of the same name). Therefore the following steps must be followed when updating a master: Retrieve the master to be updated Change the values needed Send the master definition to Tally.ERP 9 Depending on requirement set parameters to over write the existing master or to append balances to the existing master
Delete Masters
For deleting a master the following actions have to be performed: Retrieve the master from Tally.ERP 9 Change the Action attribute to DELETE Sent the information to Tally.ERP 9
Transactions (vouchers)
Create
Make sure that the necessary masters exist in Tally.ERP 9 (else create them) as Tally.ERP 9 will create vouchers with exiting masters only In case non-base currencies are used, make sure these currency's are available in Tally.ERP 9 Voucher types should also be available (or created if not found) in case TPA is posting a specific voucher type Cost centers need to be available/created, if used Voucher totals must result always to zero
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010
Always send a Dr entry as first line item in voucher All dates must follow the YYYYMMDD format If posting inventory information o Check for stock item presence in Tally o Check for units o Check for godowns
Hint: Create the expected voucher entry in Tally.ERP 9 and export as XML. This is the format of the XML the TPA must generate. This will also be useful for troubleshooting
Update
Extract the voucher in XML that you want to modify Modify the appropriate values Send the resulting XML to Tally.ERP 9
Delete
Extract the voucher in XML that you want to modify Change the Action attribute to delete Send the resulting XML to Tally.ERP 9
Interface with Tally.ERP 9: High Level Strategies Tally Solutions Pvt. Ltd. 2010