+ Start a Discussion
PBS_IC786PBS_IC786 

Multi Currency verification issues when building a managed package

We recently noticed a new checkbox when packaging our native managed package which shows an option to select if multi currency is required in the installing org.  Unfortunately, this checkbox is already checked and grayed out so I am not able to uncheck it.  The issue is that we have customers that do not have multi currency enabled but we also have customers that do.  This was never a problem in the past but ever since 4/24/2009, this new checkbox does not allow customers with multi currency disabled to install new releases of our package.

Please help...

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
siv001siv001

Hi,

 

I've tackled this with my Sales Pipeline / Funnel appexchange package. I use dynamic sql to determine whether an org has multi-currency set up or not, then change processing depending on the result. Down load the package to see the code. The problem with this approach is making sure you get code coverage as you cannot test all lines of code as an org can both have multi-currency on and off.

 

Thank

 

Mark

All Answers

A_SmithA_Smith

Did you add something to your package that depends on multi-currency?  If so, then this is expected behavior and customers will not be able to install the package if they don't have multi-currency enabled.

 

 

 

 

PBS_IC786PBS_IC786
Not willingly.  How would I know if I did?  There are several custom fields we have defined that have a data type of currency but they have been there for a long time so I am not sure if that creates a dependency.
A_SmithA_Smith

Go to the package in your dev org and click the Show Dependencies button.  In that list, look for a component where it depends on the Multi-Currency feature.  That should idenfify the dependency.

 

Thanks, 

PBS_IC786PBS_IC786

Andrew,

 

Thank you for helping with finding that.  So it turns out we introduced a new VF page which was using a currency field within it.  We proceeded to remove all traces of the currency field from this page and when I went to package the app again, we still had the multi currency checked and grayed out.  Now I am not sure what to do...any ideas?

 

Thanks

 

 

A_SmithA_Smith

Can you grant salesforce login access and send me your organization ID via a private message?

 

Thanks, 

siv001siv001

Hi,

 

I've tackled this with my Sales Pipeline / Funnel appexchange package. I use dynamic sql to determine whether an org has multi-currency set up or not, then change processing depending on the result. Down load the package to see the code. The problem with this approach is making sure you get code coverage as you cannot test all lines of code as an org can both have multi-currency on and off.

 

Thank

 

Mark

This was selected as the best answer
Saravanan @CreationSaravanan @Creation

Hi ,

 

Great app and great solution!!

 

I have one doubt.Colud you please help me on this.

 

Can I add the currencyISO code field into the field sets which is added to the package.

 

In this scenario whether the Package will work for non currency organitation.

 

 

Thanks in advance.

siv001siv001

Hi,

 

  It been a long while since I looked at this package. When I built this I tested on 2 orgs one with currency set up and the other without, so for a definate answer I would try this out.

 

 From memory when an org is currency enabled you get some extra fields on an object/record, one of which is the one you mentioned. So you would not be able to add this field as the package would not be able to be installed into a non currency enabled org.

 

Thanks

 

Mark Sivill

Saravanan @CreationSaravanan @Creation

Thanks for you reply,

 

Even we can't able add in the available  fields of the field set.