# Refreshing Display on EpicCurrencyConver

**URL:** <https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926>\
**Category:** Epicor ERP 10\
**Created:** [January 17, 2017, 8:59pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926 "2017-01-17T20:59:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![frontierits](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@frontierits](https://www.epiusers.help/u/frontierits)\
**Post date:** [January 17, 2017, 8:59pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/1 "2017-01-17T20:59:52Z")

</div>

Hello all - we have a customization that calculates the Unit Price Value on Order Lines, but haven’t been able to find a way to have the visible Unit Price show the calculated result. The underlying data is updating fine, but the Display Value does not refresh - any tips would be helpful. The control doesn’t appear to have a .Text, .Value or other property open to us either.

Thanks!

---

<div class="post-metadata">

**Author:** ![duckor](https://www.epiusers.help/user_avatar/www.epiusers.help/duckor/32/611_2.png) [@duckor](https://www.epiusers.help/u/duckor)\
**Post date:** [January 17, 2017, 9:05pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/2 "2017-01-17T21:05:30Z")

</div>

oTrans.Refresh();

---

<div class="post-metadata">

**Author:** ![frontierits](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@frontierits](https://www.epiusers.help/u/frontierits)\
**Post date:** [January 17, 2017, 9:51pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/3 "2017-01-17T21:51:48Z")

</div>

Right, but I need it to show the new value on the screen before the user hits save.  
What is the proper way to programatically set the display value of the epiCurrencyConver

Thank you Dan

---

<div class="post-metadata">

**Author:** ![duckor](https://www.epiusers.help/user_avatar/www.epiusers.help/duckor/32/611_2.png) [@duckor](https://www.epiusers.help/u/duckor)\
**Post date:** [January 17, 2017, 10:01pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/4 "2017-01-17T22:01:00Z")

</div>

Ah I see what you’re trying to do. Native controls (original) are not accessible unless you assign them with  
“EpiCurrencyConver curUnitPricec = (EpiCurrencyConver)GetNativeControlReference(“curUnitPricec’s EpiGuid”);”

Then use curUnitPricec to set the calculated price.

---

<div class="post-metadata">

**Author:** ![frontierits](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@frontierits](https://www.epiusers.help/u/frontierits)\
**Post date:** [January 17, 2017, 11:40pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/5 "2017-01-17T23:40:53Z")

</div>

Thanks Dan!

What Property on curUnitPricec do we use to set it…  
.Text is empty,  
.Value throws an exception

---

<div class="post-metadata">

**Author:** ![duckor](https://www.epiusers.help/user_avatar/www.epiusers.help/duckor/32/611_2.png) [@duckor](https://www.epiusers.help/u/duckor)\
**Post date:** [January 18, 2017, 4:45pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/6 "2017-01-18T16:45:16Z")

</div>

Sorry, thinking about it I do not know if you can manipulate CurrencyConver like an editor. I have pricing pulled into my order entry but the only way i know is to edit the row, update and refresh.

---

<div class="post-metadata">

**Author:** ![frontierits](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@frontierits](https://www.epiusers.help/u/frontierits)\
**Post date:** [January 18, 2017, 7:11pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/7 "2017-01-18T19:11:04Z")

</div>

No apologies - we are all in this together and documentation is sorely lacking.  
Thank you for the assistance - If I find the answer I will post back.

---

<div class="post-metadata">

**Author:** ![duckor](https://www.epiusers.help/user_avatar/www.epiusers.help/duckor/32/611_2.png) [@duckor](https://www.epiusers.help/u/duckor)\
**Post date:** [January 18, 2017, 7:42pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/8 "2017-01-18T19:42:25Z")

</div>

Ed,

I’m curious, whats the reason for not saving the data and refreshing it?

My customization pulls the price from a UD table and plugs it into the unit price field on partnum field change. It saves the order so that the price is set with oTrans.Update(); and then does the oTrans.Refresh(); to update the view.

---

<div class="post-metadata">

**Author:** ![frontierits](https://www.epiusers.help/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@frontierits](https://www.epiusers.help/u/frontierits)\
**Post date:** [January 18, 2017, 8:00pm UTC](https://www.epiusers.help/t/refreshing-display-on-epiccurrencyconver/36926/9 "2017-01-18T20:00:52Z")

</div>

Just a business side request - this is the way their old system worked so they want it to be the same. Otherwise your approach is perfect.
