Skip to Main Content
COM6EJ308 • E-Commerce & Digital Marketing
Module 4 Notes
Calicut University Curriculum Compliance — Module IV Overview

Course Code: COM6EJ308(4) • Course Title: Computerized Accounting with Tally • Semester: VI • Credits: 4 • Contact Hours: 60
Module IV Title: TECHNOLOGY ADVANTAGE & ENTERPRISE DATA SECURITY IN TALLY (8 Contact Hours)
Syllabus Units Covered: Unit 4: Technological Architecture of Tally — Proprietary C++ Relational Data Engine, Concurrent Multi-User Execution, Zero-Latency Synchronization • Tally Audit & Audit Trail — Tracking Voucher Alterations, Date Stamps, User Stamps, Companies Act Statutory Edit Log Mandate • Tally Vault & Enterprise Security — Cryptographic Encryption (AES/DES), Concealed Company Names, Role-Based Access Controls (Owner vs. Data Entry) • Database Administration — Backup (.tbk), Restore, Splitting Financial Years, Company Merging • Open Database Connectivity (ODBC) — Interfacing Tally with MS-Excel, SQL Server & Python • Data Import & Export — XML Data Pipelines, Multi-Branch Synchronization • Web-Enabled Reporting & Tally.NET — Encrypted Browser Access & Remote Auditing • Calicut University Academic Examination Bank (Part A: 2 Marks, Part B: 5 Marks, Part C: 10/15 Marks).

1. Overview: The Technological Infrastructure of Enterprise Tally

Beyond its accounting and inventory masters, Tally Prime derives its global dominance from an exceptionally fast, robust, and proprietary computational architecture. Built on a customized, non-relational C++ database engine, Tally achieves what conventional SQL database systems often struggle with: instantaneous real-time double-entry recalculations without dedicated database administrators or batch processing queues.

In contemporary enterprise governance, accounting software must deliver ironclad security, forensic audit trails, and multi-platform data interoperability. Regulatory statutes—such as the Ministry of Corporate Affairs (MCA) Audit Trail / Edit Log Mandate under the Companies Act, 2013—demand that every voucher alteration be immutably recorded. Module IV explores Tally's technological pillars: Tally Vault cryptographic encryption, Tally Audit controls, ODBC live data bridges, XML synchronization across distributed branch networks, and secure mobile browser reporting via Tally.NET.

The Four Technological Pillars of Tally Prime Module IV Architecture

1. DATABASE ENGINE & PERFORMANCE

• Proprietary Engine: C++ object-oriented architecture; zero external database overhead.
• Zero Data Loss: Automatic dynamic journaling preventing database corruption.
• Multi-User Scaling: Tally Server 9 supporting concurrent multi-terminal entry.

2. FORENSIC AUDIT & SECURITY

• Tally Audit / Edit Log: Tracking who modified vouchers, when, and original values.
• Tally Vault: Advanced cryptographic file encryption; hides company name on disk.
• Role Permissions: Granular user security restricting backdated voucher alterations.

3. DATABASE MANAGEMENT & SPLITTING

• Backup & Restore: Generating compressed .tbk snapshots on cloud/flash drives.
• Financial Year Split: Splitting multi-year data into distinct financial year books.
• Group Companies: Consolidating parent and subsidiary ledgers into single balance sheets.

4. INTEROPERABILITY & CLOUD ACCESS

• ODBC Interface: Querying live Tally ledgers directly inside MS-Excel via SQL.
• XML & Synchronization: Automated data replication between branches and Head Office.
• Web-Enabled Reports: Encrypted browser-based reporting on mobile devices via Tally.NET.

2. Technological Architecture & The Proprietary Tally Engine

A. The C++ Object-Oriented Database Architecture

Unlike conventional ERP packages (SAP, Oracle) that depend on heavy external Relational Database Management Systems (RDBMS) requiring dedicated database administrators, Tally is built on an integrated, self-contained C++ Object-Oriented Database Engine:

  • Direct Memory Pointers: Data records are connected via high-speed memory pointers rather than disk-intensive SQL join operations, allowing instant report generation across millions of transactions.
  • Zero Database Footprint: Tally requires no third-party database installation (e.g., Oracle, MySQL). The entire database engine is embedded directly within the lightweight application executable.
  • Dynamic Roll-Forward Recovery: If a sudden power loss occurs during voucher entry, Tally's transactional journal rolling engine recovers uncommitted memory buffers without database corruption upon reboot.

B. Concurrent Multi-User Execution & Tally Server 9

In large commercial firms, hundreds of terminals access the central accounting repository simultaneously:

TALLY PRIME GOLD (MULTI-USER LAN)

Enables multiple billing clerks and accountants on a Local Area Network (LAN) to enter sales vouchers, receipts, and inventory journals concurrently while the manager views live balance sheets.

TALLY SERVER 9 (ENTERPRISE CACHING)

A dedicated enterprise server layer that isolates user threads. A heavy report query generated by an auditor never slows down or locks the billing terminals at retail counters.

3. Forensic Governance: Tally Audit, Edit Log & Tally Vault Security

A. Tally Audit and the Statutory Edit Log Mandate

Under the Companies (Accounts) Rules, 2014 (as amended by the Ministry of Corporate Affairs), every company using accounting software must maintain an immutable Audit Trail (Edit Log) recording every change made to books of account:

  • The Edit Log Feature in Tally Prime: Once enabled, Tally maintains a permanent, tamper-proof historical log of every transaction. The edit log records: (1) Date and time of voucher creation; (2) Username of the creator; (3) Date and time of any subsequent alteration or deletion; (4) The exact before-and-after values of altered fields.
  • Tally Audit Operations: Statutory auditors utilize Gateway of Tally → Display More Reports → Analysis & Verification to review all altered vouchers, un-reconciled bank entries, and back-dated postings, instantly uncovering unauthorized management overrides.

B. Cryptographic Security via Tally Vault

Tally Vault Cryptographic Mechanics

1. Military-Grade File Encryption:
Tally Vault encrypts the entire raw database folder on the local hard drive using advanced symmetric key cryptographic algorithms (such as the Data Encryption Standard - DES, and Advanced Encryption Standard - AES).

2. Complete Concealment of Company Identity:
In normal companies, Tally displays the company name and a 5-digit folder number (e.g., 10001). When Tally Vault is enabled, the company name on the selection screen is completely replaced by asterisks (*****). Even if an intruder steals the hard drive, they cannot identify which folder belongs to which company without the Vault Password.

3. Absolute Non-Recoverability:
Because Tally Vault utilizes zero-knowledge encryption, there is no "forgot password" or backdoor recovery utility. If the owner loses the Vault Password, the financial data is permanently cryptographically irrecoverable.

C. Role-Based User Access Controls (UAC)

Tally enables management to configure granular user security levels:

Security Role Permitted Operational Scope Restricted / Blocked Capabilities
Owner (Super Administrator) Full unrestricted access across all masters, vouchers, reports, F11 features, and security settings. None. Holds ultimate administrative authority over the enterprise database.
Data Entry Operator Passing sales invoices, receipts, payment vouchers, and viewing the daily Day Book. Blocked from viewing the Balance Sheet, Profit & Loss A/c, or altering master chart of accounts; barred from backdating vouchers beyond 3 days.
Auditor Read-only access across all general ledgers, trial balances, and audit verification tools. Cannot create, edit, or delete accounting vouchers or master ledgers.

4. Database Maintenance: Backup, Restore & Splitting Financial Years

A. Backup and Restore Procedures

Rigorous database administration requires automated off-site data protection:

  • Backup Procedure (Alt+Y → Backup): Compresses the 5-digit company data folder (e.g., folder 10001) into a single, encrypted backup archive file with the extension .tbk (e.g., TBK900_10001.001). Management stores this archive across external SSDs, network-attached storage (NAS), or encrypted cloud storage.
  • Restore Procedure (Alt+Y → Restore): Unpacks the .tbk archive back into a functional 5-digit data folder in the designated Tally data directory, allowing instantaneous disaster recovery.

B. Splitting Company Financial Data

The Mechanics of Splitting Financial Years

1. Why Split Data? As a company records hundreds of thousands of transactions over several years, the database file expands, slowing down multi-user search queries. Splitting divides multi-year data into distinct, independent annual company files.

2. The Splitting Procedure:
Navigate to Alt+Y → Split → Verify Company Data to audit unadjusted bills. Select Split Company Data → Choose Split Date (e.g., 01-04-2024).

3. Mathematical Outcome of Split:
Tally generates two new independent companies from the parent file:
• Company A (Pre-Split): Contains historical transactions up to 31st March 2024.
• Company B (Post-Split): Commences on 1st April 2024, with all closing balances from Company A automatically converted into opening balances, leaving historical data permanently frozen and uncorrupted.

5. Interfacing, Data Interoperability & Cloud Capabilities

A. Open Database Connectivity (ODBC) Live Data Interfacing

ODBC (Open Database Connectivity) is an industry-standard database abstraction layer that allows external software applications to communicate directly with Tally's database in real time:

  • The ODBC Server Port: Tally Prime can be configured to run as an ODBC Server on a designated port (e.g., port 9000).
  • Real-Time Integration with MS-Excel: A financial analyst opens Microsoft Excel, navigates to Data → Get Data → From ODBC, connects to Tally, and writes standard SQL queries (e.g., SELECT ClosingBalance FROM Ledger WHERE $Parent = 'Sundry Debtors').
  • Live Management Dashboards: The Excel spreadsheet establishes a live dynamic data pipeline: whenever a billing clerk passes a sales voucher in Tally, the Excel dashboard refreshes instantaneously without manual file exports.

B. Data Import and Export Formats (XML, Excel, PDF)

Tally supports extensive data exchange formats:

File Format Technical Structure Enterprise Integration Deployment
Extensible Markup Language (XML) Hierarchical text file enclosed in semantic metadata tags (<VOUCHER><DATE>...</DATE></VOUCHER>). The standard programmatic pipeline for importing master ledgers and bulk sales invoices from e-commerce platforms (Amazon, Shopify) directly into Tally.
Excel Spreadsheet (.xlsx) Standard row-and-column tabular workbook. Exporting Trial Balances and Stock Summaries for advanced financial ratio modeling and auditor review.
Portable Document Format (.pdf) Vectorized, encrypted, non-editable document format. Emailing signed GST tax invoices, purchase orders, and payment receipts directly to external clients and vendors.

C. Multi-Branch Data Synchronization & Web-Enabled Reporting

Modern multi-location retail chains and corporate groups leverage Tally's distributed network services:

  • Data Synchronization: Enables two-way data replication between branch terminals and the Central Head Office server over the internet. Branch vouchers replicate automatically to the head office, while centralized price master updates cascade down to all branches.
  • Web-Enabled Browser Reporting: Authorized business owners can log into a secure web browser on any smartphone or tablet from anywhere in the world, securely authenticating via Tally.NET to view live Balance Sheets, Cash Flow statements, and debtor aging reports without having Tally installed locally.

6. Practical Empirical Case Studies

Case Study 4.1: Uncovering Internal Fraud via Tally Audit Trail (Edit Log)

Enterprise Context: During annual statutory audit at a wholesale hardware enterprise in Kozhikode, auditors noted an unexpected cash shortfall of ₹3,20,000 against recorded sales.

Forensic Tally Audit Investigation:

  • The auditor accessed the Tally Edit Log (Analysis & Verification → Altered Vouchers) for Cash Sales vouchers.
  • Discovered that a billing clerk had created valid cash sales invoices for customers, but subsequently opened the vouchers at 7:30 PM after customer departure and altered the invoice amounts downwards (e.g., altering a ₹45,000 cash sale to ₹15,000), pocketing the ₹30,000 cash difference.
  • The Edit Log preserved the immutable chronological record: showing exact timestamps, the clerk's user login ID, the original ₹45,000 amount, and the altered ₹15,000 entry.
  • Legal Outcome: Provided unassailable digital evidence for criminal prosecution under Section 477A of the IPC and full recovery of embezzled funds.
Case Study 4.2: Automated Live Reporting via ODBC Integration at a Corporate FMCG Hub

Context: The Managing Director of a fast-moving consumer goods company required an hourly executive dashboard showing regional sales across 4 distribution hubs without disturbing billing operators.

Solution: Configured Tally Prime as an ODBC Server on port 9000. Built a dynamic Microsoft Excel Power Query model linking to Tally via ODBC. The dashboard automatically refreshes every 30 minutes, pulling live sales totals, gross profit margins, and bank cash balances, eliminating manual report preparation entirely.

7. Calicut University Academic Examination Bank

Exhaustively curated for Calicut University B.Com Semester VI Elective: Computer Applications — COM6EJ308(4): Computerized Accounting with Tally (CUFYUGP 2024 Regulations). Specially formatted for superior academic performance.

Question 1 [Part A - 2 Marks]Data Encryption
What is 'Tally Vault'? State its primary security advantage.
Standard Academic Answer:
Tally Vault is an advanced data encryption security feature in Tally that encrypts the entire company database files on the hard drive using standard cryptographic algorithms (DES/AES) and conceals the company name into asterisks (*****) on the company selection screen.
Question 2 [Part A - 2 Marks]Forensic Controls
What is the 'Audit Trail / Edit Log' mandate under Indian corporate law? How does Tally Prime comply?
Standard Academic Answer:
Under MCA rules, corporate accounting software must maintain an immutable edit log tracking every transaction modification. Tally Prime complies via its Edit Log feature, permanently recording the date, time, user identity, and exact before-and-after values of any altered or deleted voucher.
Question 3 [Part A - 2 Marks]Database Operations
What is the purpose of 'Splitting Company Data' in Tally? When is it executed?
Standard Academic Answer:
Splitting divides a multi-year company database into two distinct, independent financial year company files. It is executed at the close of a financial year (e.g., 31st March) to optimize software speed and maintain uncorrupted historical records.
Question 4 [Part A - 2 Marks]Interfacing
What does 'ODBC' stand for in Tally Prime? State its practical business utility.
Standard Academic Answer:
ODBC stands for Open Database Connectivity. It allows external applications (such as Microsoft Excel, Access, or SQL Server) to establish a live dynamic link with Tally's database, extracting real-time financial data for executive dashboards without manual file exports.
Question 5 [Part A - 2 Marks]Data Archiving
State the file extension of a Tally backup archive. How is it restored?
Standard Academic Answer:
A Tally backup file carries the extension .tbk (e.g., TBK900_10001.001). It is restored by navigating to Alt+Y (Data) → Restore, specifying the backup destination path, and selecting the company archive.
Question 6 [Part A - 2 Marks]Remote Access
What is 'Tally.NET'? Name two services provided by it.
Standard Academic Answer:
Tally.NET is an encrypted cloud framework and subscription service provided by Tally Solutions.
Services: (1) Secure remote browser-based access to financial reports on mobile devices; (2) Two-way multi-branch data synchronization over the internet.
Question 7 [Part A - 2 Marks]Data Exchange
Why is the 'XML' format preferred for importing bulk data into Tally?
Standard Academic Answer:
XML (Extensible Markup Language) uses standardized semantic tags (e.g., <LEDGER>, <AMOUNT>) that Tally's parser understands natively, allowing automated programmatic import of bulk invoices and master ledgers from e-commerce portals.
Question 8 [Part B - 5 Marks]Forensic Auditing
Explain the architecture and operational significance of 'Tally Audit' and the 'Edit Log' feature in Tally Prime. How does it prevent financial fraud?
Structured Model Answer:
Architecture of Tally Audit & Edit Log:
The Tally Audit and Edit Log suite operates as an automated digital forensic watchdog running continuously beneath transaction processing.
Operational Features:
1. Immutable Timestamping: Every voucher creation, modification, or cancellation is stamped with the exact date, time, and active user login ID.
2. Version Comparison: Under Display → Edit Log, auditors view a side-by-side comparison highlighting all altered fields in red (e.g., altered voucher amounts, changed ledger accounts, or modified bank dates).
3. Audit Verification Module: Allows statutory auditors to mark vouchers as "Verified", attach audit observations, and track backdated vouchers entered after the financial year-end.
Prevention of Fraud: Eliminates the traditional practice of dishonest staff altering cash sales records after customer departure, deterring embezzlement and ensuring compliance with Ministry of Corporate Affairs audit trail mandates.
Question 9 [Part B - 5 Marks]Database Administration
Detail the step-by-step procedure of: (1) Taking a Data Backup; (2) Restoring Company Data; (3) Splitting Financial Year Data in Tally Prime.
Structured Model Answer:
1. Data Backup Procedure:
• Press Alt+Y (Data) → Backup.
• Specify the Backup Destination Path (e.g., external drive E:TallyBackups).
• Select the company from the list and select End of List. Tally compresses and writes the .tbk archive file.
2. Data Restore Procedure:
• Press Alt+Y (Data) → Restore.
• Select the Restore Destination Path and locate the source .tbk file.
• Select the company archive to restore. Tally extracts the data into a functional 5-digit folder.
3. Splitting Financial Year Data:
• Navigate to Alt+Y → Split → Verify Company Data to resolve any unadjusted bills.
• Click Split Company Data, select Split Date (e.g., 01-04-2024), and confirm.
• Tally splits the multi-year database into two clean files: historical pre-split books and active post-split books with carried forward opening balances.
Question 10 [Part B - 5 Marks]Interfacing via ODBC
Explain how Open Database Connectivity (ODBC) interfaces Tally Prime with external applications like Microsoft Excel. Provide a real-world corporate reporting example.
Structured Model Answer:
Mechanics of ODBC Interfacing:
ODBC provides a standard application programming interface (API) that enables external client programs to access Tally's database as if it were a standard SQL relational database.
Configuration & Connection Workflow:
1. Under Tally Configuration, set "Tally is Acting as: Both / Server" and assign port 9000.
2. In Microsoft Excel, open Data → Get Data → From Other Sources → From ODBC → Select TallyODBC_9000.
3. Excel queries Tally's internal tables (such as Ledger, Company, Voucher, StockItem).
Corporate Reporting Example:
A Chief Financial Officer builds an automated dynamic liquidity dashboard in MS-Excel. By executing the query: SELECT ClosingBalance FROM Ledger WHERE $Parent = 'Bank Accounts', Excel pulls live closing balances from Tally. Whenever cheques are entered in Tally, clicking Refresh Data in Excel updates the executive cash dashboard instantly without manual re-typing.
Question 11 [Part C - 10 Marks]Comprehensive Technology & Security Essay
Critically examine the Technological Architecture and Enterprise Security framework of Tally Prime. Discuss how C++ database design, Tally Vault cryptographic encryption, the statutory Audit Trail (Edit Log), and multi-branch data synchronization guarantee institutional solvency and statutory compliance in large commercial groups.
Structured Comprehensive Essay Framework:
1. Introduction & The Technological Imperative:
In contemporary corporate finance, accounting software is not merely a record-keeper; it is the legal and financial repository of the firm. Tally Prime's technological superiority lies in its proprietary non-relational C++ database engine, which delivers lightning-fast processing, zero external software dependencies, and dynamic fail-safe recovery.
2. Forensic Governance & The Statutory Edit Log:
• Under Companies Act mandates, Tally's Edit Log provides complete transaction immutability: recording creator identity, alteration timestamps, and historical values.
• Eliminates management override of internal controls, protecting minority shareholders and creditors from falsified financial statements.
3. Cryptographic Data Security via Tally Vault:
• Deploys symmetric cryptographic algorithms (DES/AES) to encrypt physical data files on disk.
• Conceals company names on the selection screen, neutralizing corporate espionage and physical hard drive theft.
• Granular User Access Controls (UAC) enforce segregation of duties between billing clerks and management.
4. Enterprise Interoperability & Distributed Synchronization:
• ODBC Live Pipelines: Connects live Tally ledgers to advanced analytical business intelligence tools (Excel, Power BI, Python).
• Multi-Branch Synchronization: Replicates transactions across geographically dispersed retail showrooms and central warehouses in real time via encrypted Tally.NET tunnels.
• Mobile Browser Reporting: Enables executive decision-making on smartphones anywhere in the world.
5. Conclusion:
By fusing robust database engineering with military-grade encryption and forensic audit trails, Tally Prime delivers a resilient technological platform safeguarding modern corporate integrity.
Question 12 [Part C - 15 Marks]Security Architecture & Database Administration Problem
(a) You are the IT & Systems Auditor for a corporate retail chain with 12 branches operating Tally Prime. Formulate an exhaustive Enterprise Tally Security & Disaster Recovery Policy, covering: (1) Tally Vault implementation; (2) Role-based access permissions for Store Cashiers, Branch Managers, and Chief Accountant; (3) Daily 3-2-1 backup rotation schedules.
(b) Case Scenario: A wholesale trading company with 6 years of accumulated transaction data in a single company file experiences severe software slowdowns. Detail the complete procedure to: (1) Audit and verify data integrity; (2) Execute a Financial Year Split as on 1st April 2024; (3) Verify opening balances in the post-split company; (4) Safely archive the historical pre-split database.
Structured Model Answer:
Part (a): Enterprise Tally Security & Disaster Recovery Policy:
• 1. Tally Vault Cryptographic Implementation:
All branch and head office companies must activate Tally Vault. The Vault Password must be generated using high-entropy 16-character alphanumeric combinations, stored in the company's secure digital password vault, and known exclusively to the Managing Director and CFO. Folder names appear as ***** on screen.
• 2. Granular Role-Based Access Controls (UAC):
• Store Cashiers: Assigned role "Data Entry". Permitted: Passing F8 Sales (Item Invoice) and F6 Cash Receipts. Blocked: Viewing Balance Sheet, P&L Account, Stock Valuation Rates, and entering vouchers backdated beyond 24 hours.
• Branch Managers: Assigned role "Branch Manager". Permitted: Passing purchase vouchers, approving credit limits, viewing Stock Summary, and generating Day Books. Blocked: Altering F11 Features, creating new security users, or modifying historical vouchers.
• Chief Accountant & CFO: Assigned role "Owner". Unrestricted access, managing Tally Audit verification, bank reconciliation, and year-end closing journals.
• 3. The 3-2-1 Automated Backup Rotation Schedule:
• 3 Copies of Data: (1) Primary active data on server; (2) Local secondary backup; (3) Off-site cloud backup.
• 2 Different Media: Stored on internal high-speed NVMe drives and external encrypted USB SSDs.
• 1 Off-Site Cloud Location: At 8:00 PM daily, an automated script executes Tally Backup (.tbk) and uploads the archive to an encrypted AWS S3 cloud bucket with 30-day versioning.

Part (b): Step-by-Step Financial Year Split & Archival Protocol:
• Step 1: Data Integrity Audit & Pre-Split Checks:
1. Navigate to Alt+Y (Data) → Split → Verify Company Data.
2. Tally scans the database for errors (un-reconciled bank entries, pending bill references, negative stock quantities). The accountant resolves all flagged exceptions.
3. Take a complete master backup of the undivided 6-year company file to an external hard drive (Master_Archive_PreSplit.tbk).
• Step 2: Executing Financial Year Split as on 1st April 2024:
1. Navigate to Alt+Y → Split → Split Company Data.
2. Select Company Name → Set Split From: 01-Apr-2024.
3. Confirm the split. Tally processes transactions and creates two new distinct companies: "Apex Wholesale (from 1-Apr-2018)" and "Apex Wholesale (from 1-Apr-2024)".
• Step 3: Verification of Post-Split Opening Balances:
1. Open the new company: "Apex Wholesale (from 1-Apr-2024)".
2. Open Gateway of Tally → Balance Sheet and Trial Balance.
3. Cross-verify every group total (Capital, Sundry Debtors, Sundry Creditors, Bank Accounts, Closing Stock) against the closing balance sheet of the pre-split company as on 31st March 2024. Confirm that the Difference in Opening Balances is exactly zero.
• Step 4: Historical Database Archival:
Rename the historical pre-split company to "Apex Wholesale [ARCHIVE - READ ONLY up to Mar 2024]". Alter user security to revoke all editing permissions, converting it into a permanent, read-only digital archive for tax audit inspections.
Acing your exams is just a click away!
Visit www.degreelive.in to download the next module for free.

Finished reading Module 4?

Save this module as a PDF for offline study or advance to the next module.