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)
Solved
Enable Currency Field on Opportunity Screen without choosing a Business Account.
Best answer by Vignesh Ponnusamy
Hi
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.!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.