Skip to main content
Solved

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

  • August 29, 2023
  • 2 replies
  • 90 views

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.!

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
  • August 31, 2023

Thank you so much Vignesh! It works now.