2022 Developer Survey is open! Take survey.

Questions tagged [opportunity-split]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
105 views

Why is SOQL query is returning deleted Opportunity split record

I have an Opportunity, under which I had initially added two Opportunity split records. But later I deleted one of the Split records among them using the delete button in the UI, as I didn't need it ...
user avatar
3 votes
2 answers
269 views

Enable Opportunity Teams/Opportunity Split in scratch org definition file

Is there a way to enable Opportunity Teams in a scratch org definition file? I tried this in my file but it didn't work. { "settings": { "opportunitySettings": { ...
user avatar
  • 31
1 vote
0 answers
453 views

Any workaround for enabling create opportunity splits for users of lower role hierarchy than the record owner?

Just saw in the ideas that a functionality is not available till now, that a user having lower role hierarchy than that of the opportunity owner, is not having access to the "Edit Opportunity Splits" ...
user avatar
1 vote
0 answers
304 views

Cannot Insert Opportunity In Test Class When Splits Are Enabled

We have Splits enabled in our org. I would like to insert an Opportunity and to assign it to a user that have Opportunity Team Members configured in his user details, so Salesforce will insert all ...
user avatar
  • 389
1 vote
0 answers
142 views

OpportunitySplit shows up as OpportunitySplitType in Query Plan?

Why is every query done over OpportunitySplit is always showing the OpportunitySplitType as main SObject Type in the query plan? Can this affect to the performance when trying to filter opportunities ...
user avatar
1 vote
2 answers
1k views

split Opportunity values by month

I have a problem with another trigger. We have Opps with periods more than a month, usually, 6 or 12 months. When I ran a report, it only gives me the total value of the opp for each month, how can i ...
user avatar
1 vote
1 answer
167 views

How can OpportunitySplits take up twice the space of an Opportunity?

As per the above image I have 20K Opportunities and consequentially 40K splits. It seems that there is a revenue and overlay split record for each opportunity. Fair enough. What I can't understand is ...
user avatar
  • 357
0 votes
0 answers
569 views

Salesforce API Opportunities split System.DmlException: INVALID_CROSS_REFERENCE_KEY, Unable to create an opportunity team member

I am new to salesforce.I have enabled oppotunity split with check box checked for team enabled. While i run some code or through salesforce api i am getting the following error System.DmlException: ...
user avatar
  • 2,493
2 votes
0 answers
338 views

Opportunity Split Using APEX and Visulforce Page

Has anybody developed Opportunity Split and Opportunity Overlay functionality using APEX and Visualforce page ? I have developed but the problem is I'm using wrapper class inside it so it taking more ...
user avatar
  • 1,019
4 votes
1 answer
1k views

How to insert opportunity splits based on amount

I want to insert opportunity splits based on below values: Opportunity id user 1, amount - x user 2, amount - y user 3, amount - z Looking at the fields of opportunity splits, we have field ...
user avatar
  • 1,549
3 votes
1 answer
402 views

Is there a way to have a won opportunity be shared by two owners for commission purposes?

Most of our sales have a simple commission structure, with the Account Executive (Opportunity Owner) getting their contracted % of the sale and if a junior team member set up the demo for them they ...
user avatar
  • 1,194
0 votes
2 answers
545 views

Split fails in the trigger

My code in unable to split hyphen. PLease have a look to my statement if I am wrong here. trigger ACCOUNT_AFTER_INSUPD_NAME on Account (before insert , before update) { /*List<Account> acc = ...
user avatar
  • 2,900
1 vote
0 answers
298 views

Opportunity Split Amount not updating

Anyone experience an issue where Opportunity Split Amount is not updating? My users are creating new opportunities, then creating quotes, which syncs products back to the opportunity (the Opportunity ...
user avatar