• SFDC Devloper
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Hi All,

 

when i trying to Access Salesforce Standard page . 

 

i am getting "Unable to Access page  "  ....

 

How to solve this , Can any one help me. 

 

Code:

function sorting(lineids,oppid){
                            var form = document.createElement("form");
                            form.setAttribute("method", "post");
                            form.setAttribute("action", "/oppitm/lineitemsort.jsp");
                            
                            //set the id of the request to the opportunity ID
                            var hiddenField = document.createElement("input");
                            hiddenField.setAttribute("type", 'hidden');
                            hiddenField.setAttribute("name", 'id');
                            hiddenField.setAttribute("value", oppid);   
                            form.appendChild(hiddenField);
                            
                            //the name of the sorted OLI list that the JSP is expecting is "duel0"
                            var hiddenField = document.createElement("input");
                            hiddenField.setAttribute("type", 'hidden');
                            hiddenField.setAttribute("name", 'duel0');
                            hiddenField.setAttribute("value", String(lineids));
                            form.appendChild(hiddenField);
                            
                            var hiddenField = document.createElement("input");
                            hiddenField.setAttribute("type", 'hidden');
                            hiddenField.setAttribute("name", 'retURL');
                            hiddenField.setAttribute("value", '/'+oppid);
                            form.appendChild(hiddenField);
                            
                            //set to save
                            var hiddenField = document.createElement("input");
                            hiddenField.setAttribute("type", 'hidden');
                            hiddenField.setAttribute("name", 'save');
                            hiddenField.setAttribute("value", 'Save');
                            form.appendChild(hiddenField);
                            
                            //need to do this so it works in IE
                            document.body.appendChild(form);
                            
                            //submit!!
                            form.submit();       
                        }

 

 

 

 

 

Hi All,

 

i have the package its includes Classes and pages . but i have used Quote object in that Class ?

 

whenever user going to install my package into new Dev . if Quote is not Enabled . my package fails . but my client needs 

that package should not Fail remaining package Components should install into new dev.

 

 can any one know how to do this Please  help me

 

Thanks,

SFDC Developer

 

I'd like to re-open the discussion of SortOrder on the OpportunityLineItem object. A thread from 3.5 years ago can be located here:
http://community.salesforce.com/sforce/board/message?board.id=general_development&message.id=3154

Looks like people from SF were going to look into it but obviously nothing has come to fruition. The reason I have put this in the Visualforce board is that we have have a few VF applications that could really take advantage of access to this field. Visualforce has also opened up new possibilities to UI design where the ability to manage SortOrder could be useful.

Also, no offense to salesforce.com, but the tool for sorting OpportunityLineItems is not that useful when there are multiple products with the same name. I have actually built a pretty slick sorting application but this is currently useless.

A lot of the concerns were about error handling. What happens if you have 3 line items but sort order is defined as, 1, 2, 2. Or 1, 2, 4. How about just throwing a sortOrder exception and force the developers to write good code?

Ideas? Thoughts?
http://ideas.salesforce.com/article/show/10092062/OpportunityLineItem_SortOrder_to_be_CreatableUpdatable

-Jason


Message Edited by TehNrd on 09-05-2008 01:22 PM
  • September 03, 2008
  • Like
  • 1