Unable to Retrive Value of Udf Created in Voucher

Discussion in 'Tally Developer' started by isri, Oct 9, 2023.

    
  1. isri

    isri New Member


    Pls Help Me , Defined a UDF 'Marketedby' in Voucher and want to add value of this filed in Ledger Report but unable to retrieve value of this field

    my code :

    [System: UDF]
    Marketedby : String : 1200

    ; Defined this filed in Voucher
    [Field: Marketedby]

    Use : Ledger Name Field
    Table : ExcReceiverDtlsColl,none
    Delete : Storage
    add : Storage : Marketedby
    Set Always : yes
    Show Table : Always
    Width : 21

    ;-------------------Defined in Ledger Report-----------------------------
    [#Line: DSP VchAccTitles]
    Option : SignDetailsTitle

    [!Line: SignDetailsTitle]
    Add: Right Field:Before:DSP VchTypeTitle:Medium Prompt
    Local: Field: Medium Prompt : Set as: "Marketed By"
    Local: Field: Medium Prompt : Align : Left
    Local: Field: Medium Prompt :Width : 13

    [#Line: DSP VchDetail]

    Option : DSPMarketedby

    [!Line: DSPMarketedby]
    Add:Right Fields:Before:DSP VchType:DSPMarketedby


    [Field: DSPMarketedby]
    Use : name field

    Set Always : Yes

    Set As :$marketedby
    Style : Normal
    Align : Left
    Width : 13
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Fetch the newUDF in the Collection of that Report.
     


  3. isri

    isri New Member


    pls elaborat
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You want the new UDf in the Ledger report --- Find the Collection of the Ledger report in Developer and Fetch your new value there.
     


Share This Page