+ Start a Discussion

OpportunitySplit Test Code please help. Kudos given to anyone that helps me resolve this.

It seems I need to take the opportunity owner and the extra opportunitysplit user and insert them both at the same time in the test code but I cannot seem to workaround this to create a opportunitysplit in test code.

Please advise what does it take apex test code wise to create a opportunitysplit 50/50 between two users on an opportunity?

Kudos given to anyone that has a winning answer.

Thank you,