The following Tally Software TDL functions have been now included / covered :-
$$MonthOfDate
$$MonthStart
$$MonthEnd
$$SystemPeriodFrom
$$SystemPeriodTo
$$YearOfDate
$$YearEnd
Refer www.rtslink.com
A blog on customizing Tally Accounting Software by Shweta Softwares
Wednesday, August 29, 2007
Monday, August 27, 2007
Recycle bin for Tally Software with Source code
Recycle bin is a FREE add-on utility for Tally Software.
It enables you to retrieve Voucher entries that you may have accidentally deleted in Tally Software. It is similar to the Windows recycle-bin and works with Tally 7.2 and Tally 9.
Supports Tally 7.2 and Tally 9 Software.
View/Download the Recycle bin TCP Source-code.
It enables you to retrieve Voucher entries that you may have accidentally deleted in Tally Software. It is similar to the Windows recycle-bin and works with Tally 7.2 and Tally 9.
Supports Tally 7.2 and Tally 9 Software.
View/Download the Recycle bin TCP Source-code.
Friday, August 24, 2007
Example 44: Adding FILTER button to MyDaybook
This program TDL44.TXT is an extension to my earlier program TDL43.TXT. It adds the FILTER button to My Daybook Report.
There are few minor modifications done to acheive the task:-
a) Add FILTER button to the FORM
b) Add few variables at the REPORT definition level
Download TDL44
The new code has been shown as highlighted.
There are few minor modifications done to acheive the task:-
a) Add FILTER button to the FORM
b) Add few variables at the REPORT definition level
Download TDL44
The new code has been shown as highlighted.
;; PROGRAM: TDL44.TXT |
Notes:-
1) This program is an extension of program TDL43.TXT
2) Herein, we have added Filter button to the MyDaybook Report.
To Filter records, press Alt+F12
Tuesday, August 21, 2007
TDL functions for Tally Software
The following TDL functions have been now included / covered :-
$$Upper
$$String
$$StringLength
$$StringPart
$$StringRemWord
$$StringWord
Refer www.rtslink.com
$$Upper
$$String
$$StringLength
$$StringPart
$$StringRemWord
$$StringWord
Refer www.rtslink.com
Monday, August 20, 2007
Example 43: Adding Narration line and F12 key functionality to My Daybook
This program TDL43.TXT is an extension to my earlier program TDL42.TXT. It adds the following functionality to the program TDL42.TXT (i.e. My Daybook Report)
a) Display the Narration line
b) Add F12 Configuration button
Please note that pressing F12 key displays the Configuration screen that contains several options. This programs addresses only the Narration option (and Condensed/Detailed) in the Configuration screen.
Download TDL43
The new code has been shown as highlighted.
a) Display the Narration line
b) Add F12 Configuration button
Please note that pressing F12 key displays the Configuration screen that contains several options. This programs addresses only the Narration option (and Condensed/Detailed) in the Configuration screen.
Download TDL43
The new code has been shown as highlighted.
;; PROGRAM: TDL43.TXT |
Notes:-
1) This program is an extension of program TDL42.TXT
2) We have added functionality to display the Narration line
3) We have added functionality for F12 Configuration key
TDL functions for Tally Software
The following TDL functions have been now included / covered :-
$$Alias
$$Allow
$$SerialNumber
$$SelectedCmps
$$SysName
Refer www.rtslink.com
$$Alias
$$Allow
$$SerialNumber
$$SelectedCmps
$$SysName
Refer www.rtslink.com
Saturday, August 18, 2007
TDL Functions
The following TDL functions have been now included / covered :-
$$Abs
$$Max
$$Min
$$Round
$$RoundDown
$$RoundUp
$$ZeroFill
Refer www.rtslink.com
$$Abs
$$Max
$$Min
$$Round
$$RoundDown
$$RoundUp
$$ZeroFill
Refer www.rtslink.com
Thursday, August 16, 2007
TDL Functions
The following TDL functions have been now included / covered :-
$$LocaleString
$$InPrintMode
$$IsFirstObject
$$Value
$$IsEmpty
Refer www.rtslink.com
$$LocaleString
$$InPrintMode
$$IsFirstObject
$$Value
$$IsEmpty
Refer www.rtslink.com
Wednesday, August 15, 2007
Example 40: Accessing fields of an Object
This post illustrates how to access fields (i.e. Internal methods) of "Ledger" object. You can similary access other objects also.
Download TDL40
Download TDL40
;; PRODUCT: TDL40.TXT |
NOTES:
1) Accessing fields of an Object
Syntax:-
<FieldName> : <Object> : <Filter Value>
Example:-
$Closingbalance : Ledger : "Cash"
Explanation:
a) $Closingbalance is a field of Object LEDGER. It is also called Internal Method
b) The 2nd parameter is the LEDGER Object
c) The 3rd parameter is the LEDGER Name ("Cash") whose field
value is to be retrieved.
2) Short Prompt is a pre-defined field. Herein, we are using LOCAL attribute
to modify the definition of the field Short Prompt which is effective only
in this Report.
Example 42: Adding Access-control functionality to menu-options
This post illustrates how to add Access-control functionality to menu-option MyDBKTDL (MyDaybook). This program (i.e TDL42) is an extension to our earlier program TDL41.
To understand this program, you must enable the Security features in your Company. It is advised to try out this program in a Dummy Company.
Steps enable Security Control:-
1) Open any Company (say Dummy)
2) Press Alt+F3 in the "Gateway of Tally" menu. This will bring forth "Company Info" screen.
3) Select option "Alter" and select the Company Name.
4) In the "Company Alteration" screen, set "Security Control" to YES and enter the ADMIN-name and password. Save the Company details.
Steps to Create new User:-
1) Press Alt+F3 in the "Gateway of Tally" menu and then select "Security Control" option.
2)Next, select option "Users and passwords" to create a user. Enter any Username (say ABC) and password and then set the "Security Level" to DATA ENTRY.
Steps to Assign rights to the new User:-
1) Press Alt+F3 in the "Gateway of Tally" menu and then select "Security Control" option.
2)Next, select option "Types of Security" and then disallow access to Report DAYBOOK to the User that you have created.
Summary
In the above mentioned steps, we have
a) Enabled "Security Control" in the Company Alteration screen
b) Created a new user.
c) Disallowed Access-rights to DAYBOOK report to the new User (ABC).
As you can see, we have restricted the newly created USER from Accessing the DAYBOOK Report. Now, in program TDL42, we create a new report MYDBKTDL which belongs to the DAYBOOK family. As a result, the ACCESS-CONTROL for DAYBOOK applies to MYDBKTDL also.
Download TDL42
To understand this program, you must enable the Security features in your Company. It is advised to try out this program in a Dummy Company.
Steps enable Security Control:-
1) Open any Company (say Dummy)
2) Press Alt+F3 in the "Gateway of Tally" menu. This will bring forth "Company Info" screen.
3) Select option "Alter" and select the Company Name.
4) In the "Company Alteration" screen, set "Security Control" to YES and enter the ADMIN-name and password. Save the Company details.
Steps to Create new User:-
1) Press Alt+F3 in the "Gateway of Tally" menu and then select "Security Control" option.
2)Next, select option "Users and passwords" to create a user. Enter any Username (say ABC) and password and then set the "Security Level" to DATA ENTRY.
Steps to Assign rights to the new User:-
1) Press Alt+F3 in the "Gateway of Tally" menu and then select "Security Control" option.
2)Next, select option "Types of Security" and then disallow access to Report DAYBOOK to the User that you have created.
Summary
In the above mentioned steps, we have
a) Enabled "Security Control" in the Company Alteration screen
b) Created a new user.
c) Disallowed Access-rights to DAYBOOK report to the new User (ABC).
As you can see, we have restricted the newly created USER from Accessing the DAYBOOK Report. Now, in program TDL42, we create a new report MYDBKTDL which belongs to the DAYBOOK family. As a result, the ACCESS-CONTROL for DAYBOOK applies to MYDBKTDL also.
Download TDL42
;; PROGRAM: TDL42.TXT |
Notes:-
1) This program is an extension of program TDL41.TXT
2) ACCESS-CONTROL functionality is added to the menu-option MYDBKTDL using the $$Allow function.
Tuesday, August 14, 2007
Example 41: Adding Print functionality to MyDaybook
This post illustrates how to add Print functionality to the report MyDaybook. This program (i.e TDL41) is an extension to our earlier program TDL38.
Download TDL41
Download TDL41
;; PRODUCT: TDL41.TXT |
Notes:
1) This program is a extension to program TDL38.TXT
2) This program adds a button called PrintButton which is a
pre-defined button. This will add the Printing functionality
in our Report.
3) We have defined OPTIONAL parts "My DB PrntTitle" and "My DB ScrTitle"
as we want to have different titles for Printing and Screen.
4) We have added SPACE(s) to our Form for formatting purpose.
Example:-
Space Bottom: if $$InPrintMode then 0.5 else 0.05 inches
5) $$InPrintMode is a Internal function that returns logical true
if the report is being printed.
Example 39: Accessing fields of Company Object
This post illustrates how to access fields (i.e. Internal methods) of "Company" object.
Download TDL39
Download TDL39
|
NOTES:
1) Accessing fields of Company Object
Syntax:-
: Company :
Example:-
$BooksFrom : Company : ##SVCurrentCompany
Explanation:
a) $BooksFrom is a field of Object Company. It is also called Internal Method
b) The 2nd parameter is the Company Object
c) The 3rd parameter is the Company Name (##SVCurrentCompany) whose field
value is to be retrieved.
2) Short Prompt is a pre-defined field. Herein, we are using LOCAL attribute
to modify the definition of the field Short Prompt which is effective only
in this Report.
Monday, August 13, 2007
Example 38: Using EXPLODE attribute to display Daybook in detailed format
This post illustrates how to use "EXPLODE" attribute at LINE-definition level.
TDL38 is an extension of program TDL30 in which we created a simple Daybook-style report. TDL38 adds new functionality to display the Daybook-report in Detailed format
Download TDL38
TDL38 is an extension of program TDL30 in which we created a simple Daybook-style report. TDL38 adds new functionality to display the Daybook-report in Detailed format
Download TDL38
;;Objective:- |
Notes:-
1) EXPLODE attribute is used at LINE definition level to display (i.e explode)
additional details.
2) When the user presses Alt+F1 key, the ledger details are shown.
3) The attribute EMPTY is used at LINE definition level as shown below:-
Empty: $$IsFirstObj
Syntax:- Empty : <condition>
The EMPTY attribute is used at the LINE definition level to skip the line,
if the condition is true. Herein, we have specified that 1st Object of the
Collection "AllLedgerEntries" must be skipped.
4) $$IsFirstObj
Return value: Logical
Checks whether the object is the 1st object or not in the given collection
5) CollectionField is a Tally Internal Function. It returns the Method/Field
data of the specified Collection as applied on the "nth" object of the
Collection. In the above code, it fetches the 1st LedgerName from the
Collection "AllLedgerEntries".
Syntax: $$CollectionField: <method field=""> : <positionnumber> : <collection>
Return Value: Method/Field value as specified as the 1st argument
6) AllLedgerEntries is a pre-defined Collection that contains Ledger details
for the VOUCHER object. $LedgerName is a method/Field of this collection.
7) Date,VoucherTypeName,VoucherNumber,Amount are methods/fields of
VOUCHER object.
8) NameWidth, ShortWidth, Small Italic are pre-defined Global formulaes.
Saturday, August 11, 2007
Example 37: Using "Control" attribute at Menu definition level
This post illustrates how to use "Control" attribute at menu-definition level.
Download TDL37
Download TDL37
|
Notes:-
1) We are using ITEM to define menu-items rather than using KEY ITEM
This is because KEY ITEM is supported in only Tally 9, whereas
ITEM is supported in both Tally 7.2 and Tally 9
Friday, August 10, 2007
Example 36: Disabling menu-options in Tally 7.2
This post illustrates how to disable a menu-option in Tally 7.2.
Download TDL36
Download TDL36
|
Example 35: Disabling menu-options in Tally 9
This post illustrates how to disable a menu-option in Tally 9.
Download TDL35
Download TDL35
|
Thursday, August 9, 2007
Example 34: Using Validate Attribute at FIELD definition level
This post illustrates how to use "Validate" Attribute at FIELD definition level.
Download TDL34
Notes:-
1) $IsEmpty checks whether the parameter passed is Empty or not.
Syntax: $$IsEmpty:
2) $$Value
Returns the value of the current field
Download TDL34
|
1) $IsEmpty checks whether the parameter passed is Empty or not.
Syntax: $$IsEmpty:
2) $$Value
Returns the value of the current field
Example 33: Using "Control" Attribute at FIELD definition level
This post illustrates how to use "Control" Attribute at FIELD definition level.
Download TDL33
Notes:-
1) $$IsEmpty checks whether the parameter passed is Empty or not.
Syntax: $$IsEmpty:
2) $$Value
Returns the value of the current field
3) \n is used for line-feed
Download TDL33
;; PRODUCT: TDL33.TXT |
1) $$IsEmpty checks whether the parameter passed is Empty or not.
Syntax: $$IsEmpty:
2) $$Value
Returns the value of the current field
3) \n is used for line-feed
Subscribe to:
Posts (Atom)
Tally; Tally Developer and Tally Definition Language are trademarks or registered trademarks of "Tally Solutions", Bangalore.