How to add an Exchange Rate UDF field in the voucher Level

Discussion in 'Tally Developer' started by Arun Prasath, Jan 13, 2022.

  1. Arun Prasath

    Arun Prasath Member

    I wanted to add an Exchange rate UDF field in the voucher Level. Once added I getting below error,

    Error in TDL.
    Incorrect TYPE for Field!
    Conflicts with STORAGE!

    Pls help me to resolve this issue

    [#Part: VCH Narration] ;; Modify the Narration Part to add the details
    Add : Option : Exchange VCH Narration : Not (@@IsDelNote or @@IsRcptNote or @@IsSalesOrder Or @@IsPurcOrder)
    [!Part: Exchange VCH Narration ]

    Add : Line : At Beginning : Exchange Rate Number

    [Line: Exchange Rate Number]

    Fields : Medium Prompt, BankExRateRupee
    Local : Field : Medium Prompt : Info : $$LocaleString:"Rupee Exchange Rate:"

    Use: Amount XchgRate Field
    Storage: RsExchgeRate
    Set as: $$GetLastUsedExchangeRate:"Rs"
    Set Always: Yes
    Format: "Decimal:4"

    RsExchgeRate : Rate of Exchange: 1700

    Attached Files:

  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use: Simple Field

Share This Page