search a voucher using delivery order numer

Discussion in 'Tally Developer' started by ahmed rishali, Sep 5, 2012.

    
Thread Status:
Not open for further replies.
  1. ahmed rishali

    ahmed rishali Member


    how can i sear a voucher from sales register using delivery order number ?
    now i can search by voucher number,narration ,... in range by pressing alt+f12
     



  2. Create new button and Catch the variable value and in report level put the filter in collection by local : Collection
     


  3. HVPatel

    HVPatel Active Member


    Is it done with Alt+F12 Filter button, if yes, what code, plz guide.
    Thanks
     



  4. You Can not add your own udf in Alt+f12 search you had to write the new own search
     


  5. admin

    admin Administrator Staff Member


    http://tdlexperts.com/index.php?thr...-same-in-day-book-how-do-we-add-our-new.2855/
    Query
    Have added a new method in voucher now require to filter the same in Day Book. How do we add our new selection and provide filteration?
    Solution
    Please refer to the below sample code:

    [#Field: IFLT Method]

    Delete : Table
    Add : Table : MethodTable1 : #IFLTType != "" ;; we add our collection in tally's default field as table

    [Collection: MethodTable1] ;; This is developer defined collection

    Use : MethodTable
    Object : ChequeNoObject

    [Object : ChequeNoObject] ;; our defined object

    UserMethodName : "Cheque No" ;; Display name in Table
    Method Name : VchChequeNumber ;; Storage name in voucher
    CollectionSource : "" ;; current collection
    SecondaryObject : "" ;; as storage is at voucher
    MethodType : "Number" ;; Storage type on basis of which you would get comparision operators
     


Thread Status:
Not open for further replies.

Share This Page