Skip to main content
Solved

Adding Manual entry checkbox from opportunities form to the create opportunity dialog box in the leads form

  • June 17, 2024
  • 1 reply
  • 71 views

We are looking to set the Manual entry checkbox as true by default in our customization but when we do this it causes an error on the convert to opportunity dialog box on the leads page as it is looking for an amount but none can be given as that field doesn’t exist on that dialog box. We are looking to add both the manual entry check box and the amount field from the opportunities form to the lead dialog box, but they do not appear as available fields when trying to add them. Is there a way to add these fields to the dialog box? 

 

 

 

 

 

Best answer by darylbowman

It should be possible to add additional fields to the dialog by extending OpportunityFilter in the PX.Objects.CR.Extensions.CRCreateActions namespace. 

However, in order to pass the supplied values to the newly created Opportunity, you’d have to wire it up somehow. You could possibly extend the CreateMaster method in the CRCreateOpportunityAction class and inject an event handler to set the values during RowInserting.

 

However, this seems like a reasonably high effort solution.

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

1 reply

darylbowman
Captain II
Forum|alt.badge.img+13
  • 1712 replies
  • Answer
  • June 17, 2024

It should be possible to add additional fields to the dialog by extending OpportunityFilter in the PX.Objects.CR.Extensions.CRCreateActions namespace. 

However, in order to pass the supplied values to the newly created Opportunity, you’d have to wire it up somehow. You could possibly extend the CreateMaster method in the CRCreateOpportunityAction class and inject an event handler to set the values during RowInserting.

 

However, this seems like a reasonably high effort solution.


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