<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/5686/is-it-possible-to-use-a-calculated-formula-field-to-set-a-field-value-based-on-a-look-up-for-a-certain-value</link><description>Using the Currency table as an example of where we want to do the lookup against... 
 let&amp;#39;s say that we have two custom fields on the Opportunity: - a custom Currency Code field (this is a drop down field and may contain one of the following currency</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26726?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 15:40:26 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:5e800084-c9a5-4a6a-8ed7-40d5f98bcee4</guid><dc:creator>Yvonne Boxrud</dc:creator><description>&lt;p&gt;Thanks very much - I will check this out!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;cheers, Yvonne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26724?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 15:22:19 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:21e6678c-3e7c-44d4-919a-ec8f90196fb2</guid><dc:creator>Andr&amp;#233; Lopes</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/LampadaGlobal/enum-api"&gt;enum-api&lt;/a&gt; field family certainly will fit your requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26723?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 15:12:56 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b85b9e90-322c-4215-a97e-d1dc50f0e4d6</guid><dc:creator>Yvonne Boxrud</dc:creator><description>&lt;p&gt;Thanks for&amp;nbsp;confirming this Chris!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26722?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 15:12:22 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:62bb7c03-9c29-4e0d-975a-83b1070a644f</guid><dc:creator>Yvonne Boxrud</dc:creator><description>&lt;p&gt;The currency table was just an example to ask whether it&amp;#39;s possible to use a calculated formula for this type of&amp;nbsp;lookup.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26716?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:49:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:56e47c99-7f3f-40c8-aee4-f78594699d8f</guid><dc:creator>Andr&amp;#233; Lopes</dc:creator><description>&lt;p&gt;So Opportunities may have, at the same time, 2 currencies and 2 currency rates? What is the meaning of such an approach?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to use a calculated formula field to set a field value based on a look up for a certain value?</title><link>https://sugarclub.sugarcrm.com/thread/26714?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 06:16:50 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:64c17eb8-f426-46b7-ba4a-e60e8d17eb28</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/yvonneboxrud328085"&gt;Yvonne Boxrud&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there are any Sugar Logic formulas that have the capability to do what you are seeking (i.e. based on a dynamic value, pull another value from another module). Custom code is the likely route to pursue here.&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>