• Phil Westerby-Jones
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 8
    Replies
I'm getting this error "LB_TestProductExplosion.TestOpportunityWithTriggerProduct(), Details: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, The pricebook entry is in a different pricebook than the one assigned to the Quote, or Quote has no pricebook assigned.: [PricebookEntryId] " when running my tests in the Operational Instance.

It works fine in my Dev and in The Sandbox of The Operational Instance.

I've burned over 6 hours on this now and have tried various changes/rewrites in my Apex code, which have basically made no difference. I've used Debug to display the Product, PB and PBE details step by step and all is fine in Dev/Sandbox, but on doing or testing the deployment in The Operational Environment, it's no go. I've searched the forums and this seems to be a known problem, but other than the real basic stuff answers, there's no real solution, which is unusual for SF problems in my experience.

VERY frustrating!! HELP!!!!
I am getting the following error message while creating an account (Person Account/Household):

"FinServ.AccountTrigger: execution of BeforeInsert caused by: FinServ.MoiExceptionWrapper.ValidationException: Your account record type is missing, a duplicate, or invalid. Ask your admin to check the individual record type configurations in Setup. (FinServ)"

I think it has something to do with my account record type settings. I tried checking in setup for the same but couldn't find anything. Also under Wealth Management Set up> Groups > Record types - I didn't find any records. Is this ok?
 
*Note - The org set up is not part of any firm or entity. Its set up for training purposes as suggested in Trailhead modules.
 
Any help to resolve this would be great. Thanks in advance.
I'm getting this error "LB_TestProductExplosion.TestOpportunityWithTriggerProduct(), Details: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, The pricebook entry is in a different pricebook than the one assigned to the Quote, or Quote has no pricebook assigned.: [PricebookEntryId] " when running my tests in the Operational Instance.

It works fine in my Dev and in The Sandbox of The Operational Instance.

I've burned over 6 hours on this now and have tried various changes/rewrites in my Apex code, which have basically made no difference. I've used Debug to display the Product, PB and PBE details step by step and all is fine in Dev/Sandbox, but on doing or testing the deployment in The Operational Environment, it's no go. I've searched the forums and this seems to be a known problem, but other than the real basic stuff answers, there's no real solution, which is unusual for SF problems in my experience.

VERY frustrating!! HELP!!!!