Professional Documents
Culture Documents
Data Synchronization PDF
Data Synchronization PDF
Preface
Business which operate from multiple locations need to exchange data frequently
between locations and it is time bound and critical to run their business. Data
Synchronization is the ability for data in different locations to be kept up-to-date so
that each repository contains the same information. It ensures uniformity, up-todate reporting and quick decision making.
This step by step guide is designed to help you implement and troubleshoot Data
Synchronization in Tally. This guide also addresses the requirement of connecting
occasionally to the internet and update data at various locations in a simple and
cost effective manner.
Contents
1.
Getting Started................................................................................................................... 1
1.1 Introduction to Tally Data Synchronization................................................1
1.2 Benefits of Data Synchronization .................................................................2
1.3 System Requirements......................................................................................2
1.3.1 Server .........................................................................................................2
1.3.2 Client.........................................................................................................3
2.
3.
4.
5.
6.
FAQs ..................................................................................................................................... 37
1. Getting Started
1.1 Introduction to Tally Data Synchronization
A number of businesses in the Small and Medium-Sized Enterprises (SME)
segment operate in more than one location. There is a need for updating accounting and inventory information at all locations, to ensure that the business runs efficiently and smoothly.
The frequency of updating data depends on three important factors
Getting Started
1.3.1 Server
Hardware Set-up
Operating System
Windows 98/2000/2003
Windows ME/NT/XP/VISTA
Internet Connectivity
Getting Started
1.3.2 Client
Hardware Set-up
Operating System
Windows 98/2000/2003
Windows ME/NT/XP/VISTA
Internet Connectivity
1.4 Licencing
1.4.1 TallyLink Server
On the Tally Server
Getting Started
1.5 Precautions
1. Ensure that the same set of Company features (F11) are enabled at both the
Client and the Server.
2. Do not delete any vouchers (Alt+D). Instead, cancel them (ALT+X). This
ensures that the vouchers remain in the system and are updated at the other
end. The other option is to identify and delete the voucher from both ends.
3. Do not alter names of the Masters that have been synchronized at both the
ends. If altered, it will get updated as a new master on subsequent synchronization. In cases where masters have been altered, the corresponding changes
need to be done manually at the other end.
4. Do not use a back-up of the company created and restore it at the other location for synchronization. The data will not get synchronized as the Global
Unique Identifier (GUID) of both the companies will be the same.
Backdated Vouchers
When locations are using Tally independently for a long duration and a later date
decide to synchronize, Tally allows you to update the initial vouchers using
Snapshot or Import/Export of data prior to synchronization.
Getting Started
The following screens display the statistics of the Head Office - Global Enterprises
which acts as the Tally Server and Branch office - Global Enterprises Chennai,
which acts as the Client.
As can be seen in the above images, there is a mismatch in the statisrtics of the
Server and the Client, as synchronization is yet to be done.
Server Tally would function as a Server that can service requests from
other hosts for synchronization.
Both Tally would function both as a Client as well as a Server.
ServerPort = XXXX (any valid TCP-IP Port. This is required only if you are using
a port other than the default one which is 9000.
The Tally.ini file at Server appears as shown in Fig. 2.3.
Step 2: F12:Configuration
Go to Gateway of Tally > F12 > Connectivity > Sync Configuration
The F12:Configuration screen is displayed.
Figure 2.4
10
Name of Field
Action / Description
Use TallyLink
TallyLink Id
Connect on Startup
2.1.2 Client
Step 1: Edit the Tally.ini file and add the following:
ClientServer = (Client/ Both)
Clientserver specifies the mode in which Tally should run. The possible modes are
Client Tally would function as a Client to Synchronization. It cannot service requests from other hosts for synchronization.
Both Tally would function both as a Client as well as a Server.
ServerPort = XXXX (any valid TCP-IP Port. Required only if you are using a port
different from the default port 9000.)
11
12
Step 2: F12:Configuration
Go to Gateway of Tally > F12 > Connectivity > Sync Configuration
The F12:Configuration screen appears as shown.
Name of Field
Action / Description
Use TallyLink
TallyLink ID
13
Select the company which has data that you wish to synchronize .
Go to Gateway of Tally > Import of Data > Synchronization >
Client Rules > Create
14
Name of Field
Action / Description
Name of Rule
Give a name for the Client Rule. For e.g.Sync with HO.
Server TallyLink Id
Type of Rule
Set this option to Yes, to allow synchronization to be carried out over a low speed connection, i.e. one packet (25 vouchers) at a
time.
Current TID
Altered TID
Is Active
15
2. To initiate synchronization
On the Client, go to Gateway of Tally > Import of Data > Synchronization >
Synchronize
A Server Rule, corresponding to the Client Rule, is automatically created on the
Server.
A Client cannot exchange data with the Server unless the user on the Server
activates Server Rule. You can have more than one Server Rule depending on the
number of Clients synchronizing data.
If no error message is received in the calculator pane of Tally in the Client
computer, then it is confirmed that the Server Rule has been created successfully.
Steps on Server
1. Activate Server Rule on the Server.
From the list of GUIDS, select the company which has requested the synchronization.
16
Name of Field
Action / Description
Name of Rule
Is Active
Current TID
Altered TID
Clients Link ID
This shows the link ID the Client is registered with. In this case it is 783020511.
On synchronization, all data from the Client gets posted to the Server and all data
from Server gets saved in the Client.
17
18
When sychronization is repeated, only the new and altered vouchers from both
the Client and Server get updated.
2.3 Troubleshooting
Error messages on Server when using TallyLink Server
1. TallyLink Id <provided TallyLink Id> already exists. Choose a different
TallyLink Id
Cause: Occurs when you select a Link Id that has already been registered by
another user.
Solution: Choose another Link Id.
2. <LINEERROR> Could not set SVCurrentCompany to <server company></
LINEERROR>
Cause: Occurs if the company has not been chosen on the Server.
Solution: Choose the company from Gateway of Tally on the Server.
3. Invalid TallyLink Id <TallyLink Id> for Serial Number <serial number>
Cause: Occurs when user does not give proper TallyLink Id.
19
Solution: The Link Id should be the same every time, and is selected only when
the connection to TallyLink Server is established for the first time.
4. An established connection with TallyLink Server was aborted. Disconnected from TallyLink Server at trb.tallysolutions.com Port 4001
Cause: Happens if the connectivity between machine running Tally and the
TallyLink Server is broken due to some reason, typically Internet connectivity is
lost.
Solution: Check connectivity status and retry.
Error messages on Client
1. Target TallyLink Id <destination TallyLink Id>is not connected to TallyLink
Server
Cause: Occurs if the Server TallyLink Id that has been entered in the Client Rule is
not connected to the TallyLink Server.
Solution: Check if the Server is connected to the Internet.
2. Invalid TallyLink Id <TallyLink Id> for Serial Number <serial number>.
Cause: Occurs when user does not give the correct TallyLink Id.
Solution: Confirm in F12:Configuration if TallyLink Id is given correctly.
20
21
Ensure that Use TallyLink is set to No, which is set by default. All other parameters remain unchanged as mentioned for Tally Link Server.
23
Using IP Address
3.1.2 Client
Step 1:The Tally.ini file is edited as mentioned in the steps for TallyLink Server.
Step 2: F12:Configuration
The F12:Configuration screen appears as shown.
24
Using IP Address
Name of Field
Action / Description
Name of Rule
Use TallyLinkServer
25
Using IP Address
Name of Field
Action / Description
Server URL
Port Number
26
Secure Server
User Name
If required
Password
If required
Using IP Address
Name of Field
Action / Description
Use Compression
Type of Rule
By default it is Synchronize.
Set this option to Yes, to allow synchronization to be carried out over a low
speed connection, i.e. one packet (25
vouchers) at a time.
Current TID
Altered TID
Is Active
The further steps for synchronization on the Client and Server Computer are similar to those in Synchronization using TallyLink Server.
27
Using IP Address
Figure 3.5 depicts the number of vouchers and masters on the server.
28
Using IP Address
29
Using IP Address
30
Using IP Address
When a Web Server and Tally Server reside on the same machine which
connects to the Internet and only Port 80 (Default port for the Internet) is
made available for security reasons. In this scenario, run Tally on a specific port (say 9090) and develop a web page which redirects all
responses to this port.
When it is not desirable to have Tally outside the firewall, a web pagepass-through can then be used to connect to the Tally Server within the
firewall.
When users do not want to reveal the real path to the Tally Server, a
pass-through page can be used to redirect to a virtual directory.
3.5 Troubleshooting
Tally Error messages on Server when using IP Address
1. <LINEERROR> Could not set SVCurrentCompany to <server company></
LINEERROR>
Cause: Occurs if the company has not been chosen on the Server.
Solution: Choose the company from Gateway of Tally on the Server.
31
Using IP Address
2. Socket Error
Cause: Occurs if Client connectivity is broken during synchronization.
Solution: Check connectivity and assure that Tally Client is running.
Error messages on Client
1. Failed to Post to: http://ipaddress:tallyport/
32
Tally ensures that all masters required to save a transaction are moved along with
the transaction. This includes Groups, Ledgers, Stock Items, Units of Measures,
Currencies and so on. This essentially makes synchronization both a single-click
and error free operation.
After the first instance of synchronization, any alteration in source transactions get
reflected in the subsequent synchronization.
The Current TID (Transaction ID) and Altered TID values of Server and Client
Companies are maintained in their respective synchronization rules.
When the synchronization process starts, the Client sends its previous Current
TID and Altered TID values of the Server as per its Rule to the Server and the
Server checks whether the Current TID and Altered TID are the latest as per its
data. If not, the Server will respond with all vouchers having the Current TID/
Altered TID greater than incoming Rule values. These vouchers will be imported
into the Client. Thus, the synchronization will be complete and all data of the
Client gets updated at the Server and vice-versa.
Note: Current TID of voucher gets generated when a new voucher is entered and
does not change when the voucher is altered. The Current TID is used by Tally
software to find out if any new transactions have been created at the remote-end
since the last synchronization.
Note: Altered TID of voucher gets generated each time the voucher is altered or
re-accepted. Altered TID value is dynamic and is used by Tally software to find
out if any transactions have been altered at the remote-end since the last synchronization.
33
The initial synchronization can take a long time over the Internet.
The Client computer is also likely to display an out of memory error.
Besides, if synchronization takes place in the middle of the year, the masters
without any transactions in them will not get synchronized.
In such cases, there are two options available to proceed with synchronization.
Option 1: Export data of the source company (in XML format) to a disk file and
import the same into the target company. Perform the following steps to ensure
proper updation of Remote IDs in the corresponding Rules.
When Client sends data to the Server
35
If you wish to synchronize over LAN / Internet, you can send one packet
of 25 transactions at a time by selecting Sync over slow connection in the
Client Rule. This will avoid out of memory errors.
Option 2: When substantial data exists at Client and Server, users have the
option to update the Server and Client by creating a snapshot file at the source
and importing it to the destination computer.
The process for updating Server is
6. FAQs
1. How is Data Synchronization priced?
Answer
Data Synchronization using the TallyLink Server is today a free service provided
by Tally. If Data Synchronization is done directly, that is, using own IP Address,
then Server Capabilities and Client Capabilities have to be activated, for which a
licencing fee has to be paid. The current rate for the same is Rs. 36,000/- for
Server Capability and Rs. 3,600/- for each Client Capability.
Import/Export
Synchronization
Moving Masters
Masters have to be
imported manually.
Automatically creates
the masters while
transferring the vouchers to the location.
Rectification/Alteration of
previously imported
vouchers
37
FAQ
Particulars
Import/Export
Synchronization
Duplication of data
On repeated import or
export the same vouchers could have been
imported earlier.
Duplication of data is
avoided.
Connectivity
38
FAQ
39
FAQ
The speed of synchronization depends on the bandwidth of the Internet connection you are using. On a good connection, it takes approximately 3 to 4 minutes to
transfer 1 packet, that is, 25 vouchers.
14. Can I skip certain vouchers while synchronizing?
Answer
No. Synchronization cannot be done for select vouchers.
15. Can I synchronize my Bank reconciliation between Server and Client?
Answer
Yes.
16. Can I synchronize masters alone?
Answer
No. Accounting and Inventory Masters such as ledgers and stock items get synchronized along with the transaction.
17. Can a Server initialize Data Synchronization?
Answer
No. A Client needs to initiate Data Synchronization.
18. Why cant synchronization be initiated by a server?
Answer
Synchronization of data has to be initiated at the Branch/Client level after updation
of books of accounts. Moreover, Client always initiates synchronization as the
Server Rule gets created implicitly when a Client Rule tries to synchronize with the
Server.
40
FAQ
19. If I rewrite books of the Server or Client, what is the impact on Data Synchronization?
Answer
There will be no impact on the Data Synchronization unless the data is corrupted.
20. Can optional vouchers be synchronized?
Answer
Yes. All vouchers (Optional/ Memorandum/ Reversing Journal/ Cancelled) get
synchronized in the process.
21. What happens when the Internet connection breaks during Data Synchronization?
Answer
If the connection breaks, synchronization will resume from the last successfully
sent transaction.
22. How will I know if my Server is connected to the Internet at the time of synchronization?
Answer
To check at the Client level, open web browser and type http://serveripaddress:tallyport, example, http://198.162.1.64:9090. If you recieve an HTML/XML response,
the Tally server is connected.
At the Server level, the calculator panel will display message Successfully
connected to Link Server with ID XXXX (Server ID).
41
FAQ
42
When a Web Server and Tally Server reside on the same machine and
are connected to the Internet, and for security reasons only Port 80
(Default port for the Internet) is made available to the outside world. In
this case, you will run Tally on a specific port (say, 9090) and develop a
web page as a pass-through which redirects all responses to this port.
FAQ
When it is not desirable to have Tally outside the firewall, a web passthrough page can be used to connect to the Tally Server within the firewall.
When users do not want to expose the real path of the Tally Server, a
pass-through page can be used to direct to a virtual directory.
27. Can data from many locations be synchronized to one single company?
Answer
Yes, data can be synchronized from more than one location to a single Server
Company. However, on account of the two-way synchronization function of Tally,
by default the data will be exchanged from one company to another. For example,
say Company A in Ahmedabad and Company B in Baroda wants to synchronize
their data at the HO in Mumbai to reflect a consolidated position. On account of
two way synchronisation, the data of Company A will, by default, get transferred to
Company B through the HO. To prevent this, Tally would need to be customised
(charges extra) to add the feature One Way Sync.
28. Is Data Synchronization possible between two different companies?
Answer
Data Synchronization is possible between any two companies using Tally.
However, no data can be synchronized unless the Server Rule is activated for the
company on the Server.
29. I have been using Tally 7.2 and want to use the facility of synchronization in
Tally with my Branch. However, the data is too voluminous. Is there any option
available wherein the data transfer will be faster?
Answer
Yes, you can use any one of the following options. First you have to migrate from
Tally7.2 to Tally9.
43
FAQ
30. I have been using Tally 7.2 and wish to split the company data. Will there be a
problem in synchronization?
Answer
Yes, but first you have to migrate from Tally7.2 to Tally9. Once the data is split, the
old company Rule will not be used. You have to create a new Rule and run the
synchronization cycle.
31. Who do I contact for support on Data Synchronization?
Answer
For support, please contact
44
support@tallysolutions.com
1-800-425-8859 and (toll-free) for BSNL / MTNL subscribers
1-800-22-8859 for all other subscribers or the nearest TASC (Tally
Authorized Service Center)
Vendor from whom you have purchased Tally
Feedback
Name:___________________ Organisation:_____________________________
Address:_________________________________________________________
Telephone No.:____________________ Email ID:_________________________
Please rate your responses on a 5 to 1 scale, where 5 is Excellent
and 1 is Poor.
No.
Question
1.
2.
3.
4.
How clear are the differences between licensing requirements for Data Synchronization
using TallyLink Server and Virtual Private Network?
5.
6.
How well are you able to use the Data Synchronization feature in Tally?
7.
8.
9.
10.
11.
12.
13.
14.
45