Solved

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

  • 29 August 2023
  • 2 replies
  • 59 views

Userlevel 2

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)

icon

Best answer by Vignesh Ponnusamy 30 August 2023, 23:06

View original

2 replies

Userlevel 7
Badge +4

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

Userlevel 2

Thank you so much Vignesh! It works now.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved