-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
1Likes Given
-
8Questions
-
20Replies
Opportunity split enabling giving issue in a customisation
Hi Team
- In our case, we have an account with owner X and there are three opportunities open - Op1 , Op2 and Op3 and all are mapped to X
- Then I try to change the account owner to Y – Normally all the three opportunities will change from owner X to Y
- We created an automation so that whenever a custom setting is enabled, the opportunity will switch back to original owner. That is , when we switch account owner from X to Y , opportunities – Op1 , 2 ,3 will remain will owner X. This was done using account trigger + class + opportunity trigger
- This worked fine till about a month back and then we enabled the splits and kept everything as is
- Now, when we are changing the account owner ,we are getting a salesforce error. - Error ID: 547195966-3160 (1588352796)
- We have done a debug trace and found that we are exiting the account trigger properly and then we disabled the splits and then tried changing account owner. It worked as per our change that we had built in.
- We again enabled splits and tried changing account owner – it again threw an error as mentioned
- Need to understand what this error is as we are not able to debug any further/understand why the below error is coming.
- To rephrase, we have added a functionality in account transfer that prevents transfer open opportunities to new account owner by using a checkbox in custom settings and the functionality was working correctly before enabling splits and works if we disable splits and does not work if we enable splits. Need to know what is the error and if there is some way to prevent it.
-
- Siddharth Prakash
- September 03, 2016
- Like
- 0
- Continue reading or reply
Dynamic change of picklist based on the value of account field in standard opp page
Have a requirement where we need to remove a value from the picklist based on the Account name that is getting chosen.
For example i have a picklist that has - A,B,C,D as choices. But , if i choose an account called XYZ , the picklist should show only A,B,C. I am currently using the standard opportunity page.
I am not sure if there is way - other than using record types , but wanted to confirm it. I dont want the users to see two different record type choices when they try to enter a new opportunity.
If there is a programmatic way to acheive this - please guide me to that as well. Any workaround to crack this will be deeply appreciated.
For example i have a picklist that has - A,B,C,D as choices. But , if i choose an account called XYZ , the picklist should show only A,B,C. I am currently using the standard opportunity page.
I am not sure if there is way - other than using record types , but wanted to confirm it. I dont want the users to see two different record type choices when they try to enter a new opportunity.
If there is a programmatic way to acheive this - please guide me to that as well. Any workaround to crack this will be deeply appreciated.
-
- Siddharth Prakash
- April 13, 2016
- Like
- 0
- Continue reading or reply
Oracle and salesforce integration using lightning connect/other methods
Hi Team,
We need to intergrate couple of objects from oracle to salesforce on a daily basis. To acheive this , we need to integrate salesforce and oracle - then read data from two tables in oracle. Does anyone have experience in this ?
Regards
Siddharth
We need to intergrate couple of objects from oracle to salesforce on a daily basis. To acheive this , we need to integrate salesforce and oracle - then read data from two tables in oracle. Does anyone have experience in this ?
Regards
Siddharth
-
- Siddharth Prakash
- May 25, 2015
- Like
- 0
- Continue reading or reply
Open opportunity edit page after lead conversion
Hi,
I need to open the opportunity edit page after lead conversion in order to enter opportunity classification custom fields. Please advise how can we implement it using apex.
Regards
Siddharth
I need to open the opportunity edit page after lead conversion in order to enter opportunity classification custom fields. Please advise how can we implement it using apex.
Regards
Siddharth
-
- Siddharth Prakash
- April 23, 2015
- Like
- 0
- Continue reading or reply
-
- Siddharth Prakash
- March 30, 2015
- Like
- 0
- Continue reading or reply
Emebedded dashbaord page does not work , it opens up a dashboard list
Hi team,
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
-
- Siddharth Prakash
- February 16, 2015
- Like
- 1
- Continue reading or reply
Prepopulate Opportunity Line Item Fields On Creation Page
Hi guys,
We have an issue where we need to pre-populate the two dates from the opportunity page to the opportunity line item creation page. The pre-population is necessary and this needs to be done on page load and not on page submission.
How do we go about executing this?
Regards
Siddharth
We have an issue where we need to pre-populate the two dates from the opportunity page to the opportunity line item creation page. The pre-population is necessary and this needs to be done on page load and not on page submission.
How do we go about executing this?
Regards
Siddharth
-
- Siddharth Prakash
- February 03, 2015
- Like
- 0
- Continue reading or reply
How to set a default value in opportunity products field ?
Hi all,
We have added a field that needs to be checked for a certain price book and needs to be unchecked for others. Please advise if this is possible when we are adding a product.I am just wondering if this is possible by trigger but my developers are suggesting that it has to be done using a custom visualforce page and is not possible using standard functionality. Please advise.
Regards
Siddharth
We have added a field that needs to be checked for a certain price book and needs to be unchecked for others. Please advise if this is possible when we are adding a product.I am just wondering if this is possible by trigger but my developers are suggesting that it has to be done using a custom visualforce page and is not possible using standard functionality. Please advise.
Regards
Siddharth
-
- Siddharth Prakash
- February 03, 2015
- Like
- 0
- Continue reading or reply
Emebedded dashbaord page does not work , it opens up a dashboard list
Hi team,
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
-
- Siddharth Prakash
- February 16, 2015
- Like
- 1
- Continue reading or reply
clear value in the lookup box after saving the question bank
Hello,
I want to clear this value after saving the record field. but when i want to newly add any question bank then prevoiusly added question bank number appears in the textbox. i have tried to relaod window page using window.location.relaod() in javascript but its not working.
- satakshi
- November 30, 2016
- Like
- 0
- Continue reading or reply
Oracle and salesforce integration using lightning connect/other methods
Hi Team,
We need to intergrate couple of objects from oracle to salesforce on a daily basis. To acheive this , we need to integrate salesforce and oracle - then read data from two tables in oracle. Does anyone have experience in this ?
Regards
Siddharth
We need to intergrate couple of objects from oracle to salesforce on a daily basis. To acheive this , we need to integrate salesforce and oracle - then read data from two tables in oracle. Does anyone have experience in this ?
Regards
Siddharth
- Siddharth Prakash
- May 25, 2015
- Like
- 0
- Continue reading or reply
- Siddharth Prakash
- March 30, 2015
- Like
- 0
- Continue reading or reply
Emebedded dashbaord page does not work , it opens up a dashboard list
Hi team,
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
Before Spring 15 , my dashboard was getting embedded properly in salesforce user homepage. But, now i am getting a page that opens up into the dashboard page and is not a part of the home page any more ???? Is there some new change with respect to iframe.
Please advise urgently.
I have the following visualforce page:
<apex:page sidebar="true" showHeader="true">
<!--Hello {!$User.FirstName} {!$User.LastName} {!$UserRole.Name}-->
<iframe id="myFrame" height="100%" width="100%" frameborder = "no" scrolling = "no"></iframe>
<script type = "text/javascript">
var sw = "{!$UserRole.Name}"
var iframe = document.getElementById('myFrame');
if (condition1) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition2") {
iframe.src = "/01Z40000000MXQR?isdtp=mn";
}
else if (condition3) {
iframe.src = "/01Z40000000MXOu?isdtp=mn";
}
else if (condition4) {
iframe.src = "/01Z40000000MXOp?isdtp=mn";
}
else if (condition5) {
iframe.src = "/01Z40000000MXOk?isdtp=mn";
}
</script>
</apex:page>
- Siddharth Prakash
- February 16, 2015
- Like
- 1
- Continue reading or reply
Page redirect to dashboard source page when using iFrame
Hi all,
I have created the visualforce page to embed the dashboard in the home page. It works perfectly fine until yesterday. The home page redirect to the dashboard page without sidebar, header. To fix this I have to remove the iframe from the visualforce page.
Any ideas how to solve this and make it works again?
cheers
I have created the visualforce page to embed the dashboard in the home page. It works perfectly fine until yesterday. The home page redirect to the dashboard page without sidebar, header. To fix this I have to remove the iframe from the visualforce page.
<apex:iframe src="/01Z90000000MXp0?isdtp=vw" scrolling="true" height="1000px" width="100%" />
Any ideas how to solve this and make it works again?
cheers
- Apipoj Piasak
- February 16, 2015
- Like
- 1
- Continue reading or reply
Prepopulate Opportunity Line Item Fields On Creation Page
Hi guys,
We have an issue where we need to pre-populate the two dates from the opportunity page to the opportunity line item creation page. The pre-population is necessary and this needs to be done on page load and not on page submission.
How do we go about executing this?
Regards
Siddharth
We have an issue where we need to pre-populate the two dates from the opportunity page to the opportunity line item creation page. The pre-population is necessary and this needs to be done on page load and not on page submission.
How do we go about executing this?
Regards
Siddharth
- Siddharth Prakash
- February 03, 2015
- Like
- 0
- Continue reading or reply
How to set a default value in opportunity products field ?
Hi all,
We have added a field that needs to be checked for a certain price book and needs to be unchecked for others. Please advise if this is possible when we are adding a product.I am just wondering if this is possible by trigger but my developers are suggesting that it has to be done using a custom visualforce page and is not possible using standard functionality. Please advise.
Regards
Siddharth
We have added a field that needs to be checked for a certain price book and needs to be unchecked for others. Please advise if this is possible when we are adding a product.I am just wondering if this is possible by trigger but my developers are suggesting that it has to be done using a custom visualforce page and is not possible using standard functionality. Please advise.
Regards
Siddharth
- Siddharth Prakash
- February 03, 2015
- Like
- 0
- Continue reading or reply
Page redirect to dashboard source page when using iFrame
Hi all,
I have created the visualforce page to embed the dashboard in the home page. It works perfectly fine until yesterday. The home page redirect to the dashboard page without sidebar, header. To fix this I have to remove the iframe from the visualforce page.
Any ideas how to solve this and make it works again?
cheers
I have created the visualforce page to embed the dashboard in the home page. It works perfectly fine until yesterday. The home page redirect to the dashboard page without sidebar, header. To fix this I have to remove the iframe from the visualforce page.
<apex:iframe src="/01Z90000000MXp0?isdtp=vw" scrolling="true" height="1000px" width="100%" />
Any ideas how to solve this and make it works again?
cheers
- Apipoj Piasak
- February 16, 2015
- Like
- 1
- Continue reading or reply