Skip to main content
Solved

Enable Currency Field on Opportunity Screen without choosing a Business Account.


A client has requested to enable the Currency option on the Opportunity screen even though a Business Account had not been selected. Any help on how to change or fix this. (ScreenId=CR304000)

Best answer by Vignesh Ponnusamy

Hi @j1o2s3h4u5a6,

You can do the following customization to enable the currency fields,

    public class OpportunityMaintMultiCurrency_Extension : PXGraphExtension<PX.Objects.CR.OpportunityMaint>
    {
        #region Event Handlers
        public class MultiCurrencyExt : OpportunityMaint.MultiCurrency
        {
            protected override CurySource CurrentSourceSelect()
            {
                CurySource CurySource = base.CurrentSourceSelect();
                CurySource.AllowOverrideRate = true;
                CurySource.AllowOverrideCury = true;
                return CurySource;
            }
        }
        #endregion
    }

Also, attached the customization project for your reference.

Hope that helps. Good Luck.!

View original
Did this topic help you find an answer to your question?

2 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi @j1o2s3h4u5a6,

You can do the following customization to enable the currency fields,

    public class OpportunityMaintMultiCurrency_Extension : PXGraphExtension<PX.Objects.CR.OpportunityMaint>
    {
        #region Event Handlers
        public class MultiCurrencyExt : OpportunityMaint.MultiCurrency
        {
            protected override CurySource CurrentSourceSelect()
            {
                CurySource CurySource = base.CurrentSourceSelect();
                CurySource.AllowOverrideRate = true;
                CurySource.AllowOverrideCury = true;
                return CurySource;
            }
        }
        #endregion
    }

Also, attached the customization project for your reference.

Hope that helps. Good Luck.!


  • Author
  • Freshman II
  • 5 replies
  • August 31, 2023

Thank you so much Vignesh! It works now.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings