Forum Discussion
Hi Nidhi,
I would not take this approach. I would use the native OS function Like
objXFResult = BRApi.Finance.Data.SetFxRate(si, objfxRate)
For Each fxRate As Object In fxRates
'Process Average Rate
objFxRatePk.FxRateType = "AverageRate"
objFxRatePk.Time = period
objFxRatePk.SourceCurrency = sourceCurr
objFxRatePk.DestCurrency = fxRate.Key
objFxRate.FxRatePkUsingNames = objfxRatePk
objfxRate.Amount = fxRate.Value
objFxRate.HasData = True
objFxRate.IsInvalid = False
Related Content
- 2 years ago
- 2 years ago