How to Create New Vehicle Collection

Discussion in 'Tally Developer' started by Hetal Panchal, Jul 26, 2025.

  1. Hetal Panchal

    Hetal Panchal New Member


    I Want To create New Collection Like Ledger
    Like Create Collection To create Vehicle
    Alter Collelction
    i mean My collection Beheviour Like Ledger Master
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You can use Aggregate UDF for that purpose.
     


  3. Hetal Panchal

    Hetal Panchal New Member


    Please Help i am beginner
    How To Create this
     


  4. Soni HK

    Soni HK New Member


    If you are a beginner,
    first learn the basics of TDL
    from the TDL reference PDF
    which is available on this site.

    After that,
    there are many videos available on YouTube on Tally customization of Tally solution.

    You can also learn by watching them. After this,
    create your own codes
    and if you face any problem,

    post a request for help on this site.
     


  5. Hetal Panchal

    Hetal Panchal New Member


    ok sir
    can i create new object in tally like ledger object

    ;=====================================================================
    ; UDF Definitions
    ;=====================================================================
    [System: UDF]
    MyCustomObjects : Aggregate : 1001
    MyObject.Name : String : 1002
    MyObject.Age : Number : 1003
    MyObject.Remarks : String : 1004
    [Object: MyObject]
    Name : MyObject.Name
    Age : MyObject.Age
    Remarks : MyObject.Remarks
    [#Object: Company]
    MyCustomObjects : MyCustomObjects : 1005
    like this
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Make Collection like this ---
    [Collection: MyObjectsColl]
    Type : MyCustomObjects : Company
    Child Of : ##SvCurrentCompany
     


  7. Hetal Panchal

    Hetal Panchal New Member


    NOT WORKING

    ;=====================================================================
    ; UDF Definitions
    ;=====================================================================
    [System: UDF]
    MyCustomObjects : Aggregate : 1001
    MyObject.Name : String : 1002
    MyObject.Age : Number : 1003
    MyObject.Remarks: String : 1004

    ;=====================================================================
    ; Object Definition
    ;=====================================================================
    [Object: MyObject]
    Name : MyObject.Name
    Age : MyObject.Age
    Remarks : MyObject.Remarks

    [#Object: Company]
    MyCustomObjects : MyCustomObjects : 1005

    ;=====================================================================
    ; Collection Definition
    ;=====================================================================
    [Collection: MyObjectsColl]
    Type : MyCustomObjects : Company
    Child Of : ##SvCurrentCompany
    Object : MyObject

    ;=====================================================================
    ; Report, Form, Part, Line, Field Definitions
    ;=====================================================================
    [Report: myReport]
    Form : myReport
    Collection : MyObjectsColl
    Title : "My Custom Object Viewer"

    [Form: myReport]
    Part : myReport
    Height : 100% Screen
    Width : 100% Screen
    Space Top : 1
    Space Bottom : 1

    [Part: myReport]
    Line : myReportTitle, myReportLine
    Repeat : myReportLine : MyObjectsColl
    Scroll : Vertical
    Break On : $$Line = 0

    [Line: myReportTitle]
    Field : TitleField1, TitleField2, TitleField3

    [Field: TitleField1]
    Set As : "Name"
    Align : Left
    Width : 20

    [Field: TitleField2]
    Set As : "Age"
    Align : Left
    Width : 10

    [Field: TitleField3]
    Set As : "Remarks"
    Align : Left
    Width : 30

    [Line: myReportLine]
    Field : myReportName, myReportAge, myReportRemarks

    [Field: myReportName]
    Use : Name Field
    Storage : MyObject.Name
    Width : 20
    Unique : Yes


    [Field: myReportAge]
    Use : Number Field
    Storage : MyObject.Age
    Width : 10


    [Field: myReportRemarks]
    Use : Name Field
    Storage : MyObject.Remarks
    Width : 30


    ;=====================================================================
    ; Menu Integration
    ;=====================================================================
    [#Menu: Gateway of Tally]
    Item : My Custom Objects : create : myReport
     


  8. Soni HK

    Soni HK New Member


    Brother.
    Aapne ye dot wala udf kyu banaya.

    Matlab
    Myobject.Name

    Is tarah


    Ye dot ko remove kar dijiye.
     


  9. Hetal Panchal

    Hetal Panchal New Member


    BUT ISME KO RECORD ADD NAHI HO RAHE HAI SIR
     


  10. Soni HK

    Soni HK New Member


    Kya aapne tdl reference wali pdf file read ki kya..??
     


  11. Hetal Panchal

    Hetal Panchal New Member


    HA SIR PAR MERE YE WALA PART SAMAJ ME ITNA NAHI AAYA
     


  12. Soni HK

    Soni HK New Member


    Aggregate udf in tally tdl

    Ye likh kar youtube pr search karo.
    Bahut sare video mil jayenge, jisse aapko sikhne me madad milegi.
     


  13. Hetal Panchal

    Hetal Panchal New Member


    OK THANK YOU SIR
     


  14. NiravMerchant

    NiravMerchant Member


    chk following code which creates customized port master - u can use ur concept as per your requirement

    [#Menu: Gateway of Tally]

    Add: Key Item : After : @@locChartofAccounts: Customized Menu : Z : Menu : Customized Menu : $$IsAccountingOn:$$CurrentCompany
    Add: Item: Before: Customized Menu : Blank

    [Menu: Customized Menu]
    Indent: Master
    Key Item: Customized Master : M : Menu: Customized Master
    Key Item : @@locQuit : Q

    [Menu: Customized Master]
    Key Item: Port Master : P : Alter: Port Master
    Item: Blank
    Key Item : @@locQuit : Q
    [Report: Port Master]
    Form: Port Master
    Title:"Port Master"
    Object:company

    [Form: Port Master]
    Option: Small Size Form
    Part: PtopPart, PMainPart
    Background: Light Grey
    Height: 50% screen
    Width: 60% screen

    [Part: PtopPart]
    Lines: PtitleLine

    [Line: PtitleLine]
    Field: Short Name field
    Local: Field: Short Name field : Set as:"Port Master"
    Local: Field: Short Name field : Skip: Yes
    Local: Field: Short Name field : Align: Centre
    Local: Field: Short Name field : Style: NOrmal Bold
    Local: Field: Short Name field : Border: thin Bottom

    [Part: PMainPart]
    Line: PmainTLine, PMainLine
    Repeat: PmainLine :pPortName
    Break On: $$IsEmpty:$PPort
    Scroll:Vertical


    [Line: PMainTLine]
    Use: PMainLine
    Local: Field: Psno: Set as: "S No"
    Local: Field: PPortName : Set as:"Port Name"
    Local: Field:pCountry: Set as: "Country of Port"
    Local: Field: Default: Skip: Yes
    Local: Field: Default: Type: String
    Local: Field: Default: Style: Small Bold


    [Line: PMainLine]
    Fields: PSno, PPortname, PCountry
    Local: Field: Default: Style: Small Bold

    [Field: Psno]
    Use: Short name field
    Width: 7
    Set as: $$Line
    Skip: Yes
    [Field: PPortName]
    Use: Name Field
    Full Width: Yes
    Storage: Pport
    Space Left: 2

    [Field: PCountry]
    Use: Name Field
    Full Width: Yes
    Storage: PCountry
    Table: List Of Countries
    Space Left: 2

    [System: UDF]
    Pportname: Aggregate: 345
    Pcountry:String:345
    Pport: String: 346

    [Collection: Port Name]
    Type: PPortName : Company
    Child Of: ##SVCurrentCompany
    Format: $PPort,30
    Format: $PCountry,30
     


  15. Hetal Panchal

    Hetal Panchal New Member


    this is ok sir but i want to like ledger create collection alter colleciotn delete colleion
     


  16. Hetal Panchal

    Hetal Panchal New Member


    NOT WORKING

    ;=====================================================================
    ; UDF Definitions
    ;=====================================================================
    [System: UDF]
    MyCustomObjects : Aggregate : 1001
    MyObject.Name : String : 1002
    MyObject.Age : Number : 1003
    MyObject.Remarks: String : 1004

    ;=====================================================================
    ; Object Definition
    ;=====================================================================
    [Object: MyObject]
    Name : MyObject.Name
    Age : MyObject.Age
    Remarks : MyObject.Remarks

    [#Object: Company]
    MyCustomObjects : MyCustomObjects : 1005

    ;=====================================================================
    ; Collection Definition
    ;=====================================================================
    [Collection: MyObjectsColl]
    Type : MyCustomObjects : Company
    Child Of : ##SvCurrentCompany
    Object : MyObject

    ;=====================================================================
    ; Report, Form, Part, Line, Field Definitions
    ;=====================================================================
    [Report: myReport]
    Form : myReport
    Collection : MyObjectsColl
    Title : "My Custom Object Viewer"

    [Form: myReport]
    Part : myReport
    Height : 100% Screen
    Width : 100% Screen
    Space Top : 1
    Space Bottom : 1

    [Part: myReport]
    Line : myReportTitle, myReportLine
    Repeat : myReportLine : MyObjectsColl
    Scroll : Vertical
    Break On : $$Line = 0

    [Line: myReportTitle]
    Field : TitleField1, TitleField2, TitleField3

    [Field: TitleField1]
    Set As : "Name"
    Align : Left
    Width : 20

    [Field: TitleField2]
    Set As : "Age"
    Align : Left
    Width : 10

    [Field: TitleField3]
    Set As : "Remarks"
    Align : Left
    Width : 30

    [Line: myReportLine]
    Field : myReportName, myReportAge, myReportRemarks

    [Field: myReportName]
    Use : Name Field
    Storage : MyObject.Name
    Width : 20
    Unique : Yes


    [Field: myReportAge]
    Use : Number Field
    Storage : MyObject.Age
    Width : 10


    [Field: myReportRemarks]
    Use : Name Field
    Storage : MyObject.Remarks
    Width : 30


    ;=====================================================================
    ; Menu Integration
    ;=====================================================================
    [#Menu: Gateway of Tally]
    Item : My Custom Objects : create : myReport
    please help
     


  17. vishnu joshi

    vishnu joshi Member


    like a Ledger It is not possible to Use any Tally object, like a cost centre or category.
     


Share This Page