function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chris_centrachris_centra 

interject VF in pricing screens?

Hello.  I have some custom code - when a User adds a Product to an Opp, there is an asynchronous callout to get pricing from a back-end system.  Then the code will update the PricebookEntry...but this will occur after Opportunity page has already re-rendered.  I'm trying to find a way around this.  (moving pricing into sfdc or converting product screens to vf are not viable options for us.)  Any other thoughts for this?  For example, can i make the product-add page redirect to a VF page?  I could do the pricing updates there (with a synchronous callout) - and then refersh after the response is received.  But as far as i know, this isn't possible unless the whole product-add process is pushed to VF.

Any suggestions are appreciated.  Thank you so much for your time!
chris