Questions tagged [opportunity-split]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 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 ...
1
vote
1answer
126 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": { ...
0
votes
0answers
49 views

OpportunitySplit Custom Edit Screen using LWC

is it possible to create Custom Opporutnity Edit Screen using LWC salesforce? My use case is "Every member of Opportunity Splits" for an opportunity should be able to edit all splits records ...
1
vote
0answers
343 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" ...
1
vote
0answers
261 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 ...
1
vote
0answers
125 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 ...
1
vote
2answers
957 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 ...
1
vote
1answer
153 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 ...
0
votes
0answers
518 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: ...
2
votes
0answers
329 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 ...
4
votes
1answer
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 ...
3
votes
1answer
385 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 ...
0
votes
2answers
520 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 = ...
1
vote
0answers
275 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 ...