Wednesday, February 20, 2019

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

 ;;Input 2 numbers and Display Sum or Addition



[#Menu: Gateway of Tally]
Add : Key Item: Addition: L : Create:Addition
 ;; Object Association done at Report Level
 [Report: Addition]
Form : Addition
Variables: Var,Var2

[Form:Addition]
Parts : Addition
[Part:Addition]
 Lines :  header1,num1,num2,res,footer1

[Line: header1]
 Fields:  h1
 [Field: h1]
     Width:25% screen
     Info:"Addition of Two numbers:"   
 [Line: num1]
 Fields:  p1,Num1
 [Field: p1]
     Width:25% screen
     Info:"Enter 1st No.:"


  [Field:Num1]
   
     Use: Number Field
     Background: Yellow
     Width: 25% screen
     Storage: ##Var
    [Line: num2]
 Fields:  p2,Num2
 [Field: p2]
     Width:25% screen
     Info:"Enter 2nd No.:" 
      [Field:Num2]
     Use: Number Field
     Background: Green
     Width: 25% screen
     Storage: ##Var2
   
    [Line: res]
 Fields:  p3,res
 [Field: p3]
     Width:25% screen
     Info:"Result:"
 [Field:res]
     Use: Number Field
     Background: Red
     Width: 25% screen
     Set Always:Yes
      Set as:@@Sum
[Line: footer1]
 Fields:  f1
 [Field: f1]
     Width:25% screen
     Info:"Thank you!!"     
[Variable:Var]
    Type: Number
    Default:20
[Variable:Var2]
    Type: Number
    Default:10
   
[System:Formulas]
    Sum:#Num1+#Num2

;;End of File



Output:

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

   

See also: Tally TDL code for Creating new Ledger in Tally ERP 9 using Tally Developer 9
   

Tuesday, February 19, 2019

Tally TDL code for Creating new Ledger in Tally ERP 9 using Tally Developer 9

;; Tally TDL code for Creating new Ledger in Tally ERP 9 using Tally Developer 9

[#Menu: Gateway of Tally]
Add : Key Item: Ledger Creation: L : Create:Create Ledger
 ;; Object Association done at Report Level
 [Report: Create Ledger]
Form : Create Ledger
 Object : Ledger
[Form: Create Ledger]
Parts : Create Ledger
[Part: Create Ledger]
 Lines : Store LedgerName, Store LedgerGroup
 [Line: Store LedgerName]
 Fields: Short Prompt, Name Field
Local : Field: Short Prompt: Info: "Name :"
 Local : Field: Name Field: Storage: Name
;; Storing the value entered by user in an Internal Method Name available within the Object associated at the Report Level
[Line: Store LedgerGroup]
Fields : Short Prompt, Name Field
Local : Field : Short Prompt: Info : "Under :"
Local : Field : Name Field: Storage :Parent
Local : Field : Name Field: Table :Group
;;End of File

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