• Sebastian Żuliński
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hello,

I have a problem with JavaScript button which i wanna put to our opportunity paige to make faster acces to specific products.
Code looks like this:

var loc;

loc = "/p/opp/SelectSearch?";

loc +=
    "addTo={!Opportunity.Id}&" +
    "retURL={!Opportunity.Id}&" +
    "sfdc.override=1&" +
    "rolodexIndex=21";
window.top.location.href = lo
c;

with that code i can acces to specific place but i don;t know how to skip step with choosing pricebook when i have a pricebook ID.

If someone can help me with info how i can put to code pricebook ID to identify it and skip manual pricebook validate for actual opportunity.

My code work fine when pricebook is already choosen and validate.

Thx in advance.
Hello,

I have a problem with JavaScript button which i wanna put to our opportunity paige to make faster acces to specific products.
Code looks like this:

var loc;

loc = "/p/opp/SelectSearch?";

loc +=
    "addTo={!Opportunity.Id}&" +
    "retURL={!Opportunity.Id}&" +
    "sfdc.override=1&" +
    "rolodexIndex=21";
window.top.location.href = lo
c;

with that code i can acces to specific place but i don;t know how to skip step with choosing pricebook when i have a pricebook ID.

If someone can help me with info how i can put to code pricebook ID to identify it and skip manual pricebook validate for actual opportunity.

My code work fine when pricebook is already choosen and validate.

Thx in advance.