Create Vouchar type By Default in TDL File

Discussion in 'Tally Developer' started by Umesh s vaghela, Aug 22, 2012.

    
?

Create Vouchar type By Default in TDL File

  1. It is Usefull

    1 vote(s)
    100.0%
  2. Not Use Full

    0 vote(s)
    0.0%

  1. Sir ,
    i want to create separate Vouchar type MONY RECEIPT By default in my tdl file it is possible ?
    if yes please suggest hint / sample code ( if available) for it .
     


  2. Girdhar

    Girdhar Member


    Hello,

    Call a function at company startup with this kind

    [Function : NewVchType]
    220: STARTBLOCK
    221: NEW OBJECT : VoucherType
    222: SET VALUE : Name : "Room Order"
    223: SET VALUE : Parent : $$VchTypeSalesOrder
    224: SET VALUE: Numbering Method: $$SysName:Automatic
    225: CREATE TARGET
    230: END BLOCK
     



  3. it ' s not working suggest me how ?

    [System : Events]

    CmpStartEvent: Load Company : "VHCYPE" : Call : NewVchType

    [Function : NewVchType]

    220: STARTBLOCK
    221: NEW OBJECT : VoucherType
    222: SET VALUE : Name : "Room Order"
    223: SET VALUE : Parent : $$VchTypeSalesOrder
    224: SET VALUE: Numbering Method: $$SysName:Automatic
    225: CREATE TARGET
    230: END BLOCK

    ;End of file
     


  4. Girdhar

    Girdhar Member


    Its not like it

    plz use

    [System : Events]
    CmpStartEvent: Load Company : TRUE : Call : NewVchType
     
    Manoj Garg likes this.



  5. Thanks Sir for HELP
     


  6. Girdhar

    Girdhar Member


    Thanks to the admin, who start this great place to help out TDL developer community.
    thnx again admin almighty GOD
     



  7. yes its true thing THANKS A LOOOOT TO THE ADMIN OF TDL Xperts.com
     


Share This Page