Monday, March 25, 2019

Resize Form or Screen in Tally ERP 9 using TDL ( Tally Developer )



Source Code:

[#Menu: Gateway of Tally]
Item: Resizing Form : Display: Add Button
[Report: Add Button]
Form: Add Button
Variable: Full Size
Set: Full Size : No
Title: "Resize Form"
[Form: Add Button]
Part: Add Button
Button: Resize Button
Option: Small Form : Not ##FullSize
Option: Full Form : ##FullSize
;;Optional form definitions
[!Form: Small Form]
Local: Field:Add Button: Set as: "Small Form"
Width: 50% screen
Height: 50% screen
Background: Yellow
[!Form: Full Form]
Local: Field: Add Button: Set As : "Full Form"
Width: 100% screen
Height:100% screen
Background: Green
[Part: Add Button]
Line:Add Button
[Line: Add Button]
Field: Add Button
[Field: Add Button]
;;Variable Definition
[Variable: Full Size]
Type: Logical
;;Button Definition
[Button: Resize Button]
Key: F4
Action: Set: FullSize: Not ##FullSize
Title: "Change Size"

;;End of File


Output:

Gateway of Tally Resize Form or Report


Small Form in Tally ERP 9 TDL

Full Size Form in Tally ERP9 Tally Developer



Saturday, March 9, 2019

Tally TDL code for Displaying My Stock Summary in Tally ERP 9 using Tally Developer 9

 Tally TDL code for Displaying My Stock Summary in Tally ERP 9 using Tally Developer 9

 
Tally TDL code for Displaying My Stock Summary in Tally ERP 9 using Tally Developer 9

 ;;Tally TDL code for Displaying My Stock Summary in Tally ERP 9 using Tally Developer 9
[#Menu: Gateway of Tally]
Add : Item: My Stock Summary : Display : My Stock
[Report: My Stock]
Form : My Stock
 [Form: My Stock]
Top Part : MyTB Detail
 [Part: MyTB Detail]
Top Line: MyTB Header
Line : MyTB Detail
Repeat : MyTB Detail: MyTB Collection
Scroll : Vertical

[Line: MyTB Header]
Left Fields : Name
Fields        : Group ,Quantity,Rate
Right Fields : Amt
 [Field: Name]
Width : 30
Set as : "Stock Name"


 [Field:Group]
Type : String
Width : 20
Set as : "  Group"


 [Field: Quantity]

Width : 20
Set as : "Quantity"
Align : Right

 [Field: Rate]

Width : 20
Set as : "Rate"
 Align : Right 



 [Field:Amt]

Width : 20
Set as :"Amount"
 Align : Right

[Line: MyTB Detail]
Left Fields : MyTB Name
Fields        : MyTB Group ,MyTB Quantity,MyTB Rate
Right Fields : MyTB Amt
 [Field: MyTB Name]
Width : 30
Set as : $Name

 [Field: MyTB Group]
Type : String
Width : 20
Set as : $Parent
Align : Left

 [Field: MyTB Quantity]
Type : Quantity
Width : 20
Set as : $ClosingBalance
Align : Right

 [Field: MyTB Rate]
Type : Rate
Width : 20
Set as : $ClosingRate
Align : Right 



 [Field: MyTB Amt]
Type : Amount
Width : 20
Set as : $ClosingValue
Align : Right
[Collection: MyTB Collection]
Type : Stock Item
;; End of File

Output:





You also may like following topics:
1) Tally TDL code for Creating new Ledger in Tally ERP 9 using Tally Developer 9

2) Display Sum or Addition of Two numbers taking input from user in Tally ERP 9 using Tally Developer 9