Example: tourism industry

TDL Reference Manual - Tally Solutions

TDL Reference Manual The information contained in this document represents the current view of Tally Solutions Pvt. Ltd., ( Tally in short) on the topics discussed as of the date of publication. Because Tally must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Tally , and Tally cannot guarantee the accuracy of any information presented after the date of document is for informational purposes only. Tally MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS 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.

Preface Tally Definition Language (TDL) is the development of Tally.ERP 9. This allows the programmers to develop and deploy faster, effective Tally Extensions with ease.

Tags:

  Manual, Reference, Tdl reference manual

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of TDL Reference Manual - Tally Solutions

1 TDL Reference Manual The information contained in this document represents the current view of Tally Solutions Pvt. Ltd., ( Tally in short) on the topics discussed as of the date of publication. Because Tally must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Tally , and Tally cannot guarantee the accuracy of any information presented after the date of document is for informational purposes only. Tally MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS 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.

2 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. 2014 Tally Solutions Pvt. Ltd. All rights , Tally 9, Tally9, , 9, 9, Shoper, Shoper 9, Shoper POS, Shoper HO, Shoper 9 POS, Shoper 9 HO, TallyDeveloper, Tally Developer, 9, , Tally Development Environment, 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 : TDL Reference Manual /February 2014 PrefaceTally Definition Language (TDL) is the development of 9.

3 This allows the programmers to develop and deploy faster, effective Tally Extensions with book, TDL Reference Manual , divided into two sections. First section begins with the Introduction to TDL and focuses on basic concepts of TDL , TDL Components, Symbols used in TDL, Dimensions and Formatting, Usage of Variables, Buttons and Keys. Thereafter the emphasis is on the coverage of core concepts of Objects, Methods and Collections, Actions and UDF creation. After gaining a reasonable amount of depth and confidence in understanding the above, the focus of the book progresses towards the application of all covered topics , the creation of various types of Reports, Printing and Voucher/Invoice section devoted to a detailed discussion of TDL language enhancements for 9. This section describes the new features, Writing Remote Compliant TDL Reports and User Defined Functions respectively.

4 The What s new section gives an insight about the enhancements in the latest 9 book is for anyone who wants to explore TDL as a development language of Tally and how to write TDL programs effectively. Absolutely no previous TDL experience is necessary. Even advanced users will find this book useful, as the changes to TDL are dealt from the developers and the user's point of will enjoy reading this book, as it is rich in programming folks! Contents i ContentsSection I. TDL The Development Language of 9 .. 11.

5 Tally Definition Language An Introduction .. Tally Definition Language .. Comparison with other Languages .. The TDL Program - At a Glance .. TDL Capabilities .. TDL Features .. 72. TDL Components .. Writing a Basic TDL Program .. Steps to create a TDL Program .. Specification of TDL Files .. Executing Multiple Files using Include Definition .. TDL Interfaces .. Hello TDL Program .. TDL Components .. Definitions .. Attributes .. Modifiers .. Actions in TDL .. Data Types .. Operators in TDL .. Special Symbols .. Functions .. 293. Symbols and Prefixes .. Access Specifiers/Symbol Prefixes .. General Symbols .. The Usage of @ and @@ .. Defining a Local Formula using @ .. Defining a Global Formula using @@ .. The Usage of # and ## .. Referencing a Field using # .. Modifying existing Definitions using #.

6 Accessing value from a Variable using ## .. The Usage of $ and $$ .. Accessing a Method using $ .. Calling an Internal Function using $$ .. Commenting a Code using ;, ;; and /**/ .. Line Continuation Character (+) .. Exposing Methods and Creating Procedures (_) .. Reinitialize Definitions (*) .. Optional Definitions (!) .. 374. Dimensions and Formatting .. Unit of Measurement .. Dimensional Attributes .. Sizing/Size Attributes .. Spacing/Position Attributes .. Alignment Attributes .. Some Specific Attributes .. Inactive .. Invisible .. Definitions and Attributes for Formatting .. Definition - Border .. Definition - Style .. Definition - Color .. Attributes Background and Print BG .. Attribute - Format .. 515. Variables, Buttons and Keys .. Variable .. Attributes of a Variable .. The Scope of a Variable.

7 Modifying the Variable Value .. Example - Variables .. Buttons and Keys .. Attributes of Buttons/ Keys .. 596. Objects and Collections .. Objects .. Tally Object Structure .. Tally Objects Types .. Object Context .. Collections .. Types of Collection .. Sources of Collection .. Creating a Collection .. Object Association .. Report Level Object association .. Part Level Object Association .. Line Level Object Association .. Field Level Object Association .. Methods .. 75 Contents iii Types of Methods .. Accessing Methods .. Collection Capabilities .. Basic Capabilities .. Advanced Capabilities .. 867. Actions in TDL .. Categories of Actions.

8 Action Association .. Action Association at Menu Definition .. Action Association at Button / Key Definition .. Action Association at Field Definition .. Components of Actions .. Global Actions .. Action Menu .. Action Modify Object .. Action Browse URL .. Actions Create and Alter .. Actions Create Collection, Display Collection and Alter Collection .. Object Specific Actions .. Menu Actions Menu Up, Menu Down, Menu Reject .. Form Actions Form Accept, Form Reject, Form End .. Part Actions Part Home, Part End, Part Pg Up .. Line Actions Explode, Display Object, Alter Object .. Field Actions Field Copy, Field Paste, Field Erase, Calculator .. 1068. User Defined Fields .. What is UDF? .. Creating a UDF .. Storing User Inputs in the UDF .. Retrieving the value of UDF from an Object.

9 Classification of UDF s .. Simple UDF .. Aggregate UDF .. 1139. Reports, Printing and Validation Controls .. Reports .. Tabular Reports .. Hierarchical Report (Drill down Report) .. Column Based Reports .. Printing .. Menu Action Print/ Print Collection .. Button Action Print Report .. Page Breaks .. Frequently Used Attributes and Functions .. Validation and Controls .. Field Level Attribute Validate .. Field Level Attribute Unique .. Field Level Attribute Notify .. Field Level Attribute Control .. Form Level Attribute Control .. Menu Level Attribute Control .. Report Level Attribute Family .. 14510. Voucher and Invoice Customisation .. Classification of Vouchers .. Accounting Vouchers .. Inventory Vouchers .. Accounting-cum-Inventory Vouchers .. The Structure of a Voucher Object.

10 Customisation .. Voucher Customisation .. Invoice Customisation .. 157 Section II. TDL Language Enhancements .. 16311. General and Collection Enhancements .. Definition, Attribute and Modifier Enhancements .. Attribute Enhancements .. Modifier Enhancements .. Behavioral change in System Definitions .. Partial Attribute Support .. Enhanced Special Symbols .. Multi line commenting in TDL source code using /* and */ .. Extension of modifying definitions using # .. * (Reinitialize) Definition modifier .. Method Formula Syntax with Relative Object Specification .. Enhancements Object Association .. Report Level Object Association .. Part Level Object Association .. Line Level Object Association .. Field Level Object Association .. Enhancements Object Access via Interface Object .. Identifying Part and Line Interface object with Access Name.


Related search queries