UDF's values not display in table

Discussion in 'Tally Developer' started by surendra19, Sep 2, 2019.

    
Tags:
  1. surendra19

    surendra19 Member


    Dear Expert,

    I want to list the UDF values in table, I have written the following code to get the UDF value in table, but the UDF values are not display in table. UDF (ClaimNm) is defined on voucher level.

    [Collection : CLaim Collection]
    Type : Vouchers :Vouchertype
    Child Of:$$VchtypeSales
    Belongs to: yes
    Fetch :ClaimNm
    Format : $ClaimNm:25

    [Field:ClaimReportWise]
    Use : Name Field
    Width : 25
    Table :CLaimCollection,EndOfList
    ShowTable : Always

    Requested to please help me.

    Thanks & Regards
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use Aggregrate...........then make collection of it.
     


  3. surendra19

    surendra19 Member


    But sir I want to display only single udf (ClaimNm) in table
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Does all your vouchers has / have ...... the same value ????

    You are making a collection which collects the ClaimNm from all the vouchers and i presume from your FIELD definition that you would like to select one of it.
     


  5. surendra19

    surendra19 Member


    No sir, all vouchers has different values of ClaimNm and I want to select one of them from list
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    exactly........then Use Aggregrate...........then make collection of it.
     


  7. surendra19

    surendra19 Member



Share This Page