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

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

    
Tags:
  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
    ---------------------------
    Error in TDL.
    'Field:BankExRateRupee'
    Incorrect TYPE for Field!
    Conflicts with STORAGE!
    ---------------------------
    OK
    ---------------------------

    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:"
    [Field:BankExRateRupee]

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

    RsExchgeRate : Rate of Exchange: 1700
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [Field:BankExRateRupee]

    Use: Simple Field
     


Share This Page