The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
33 views

pricebook entry is in a different pricebook than the one assigned to the opportunity

Could some body please help me on this? I am improving test coverage and below is my code: static testmethod void opportunityLineItem_Test(){ Id priceBookID = Test.getStandardPricebookId(); ...
0
votes
0answers
24 views

Add custom button into the Price Book Entry Search Layouts

I would like to add custom button into the "Price Book Entry Search Layouts". In the documentation, it says : it speaks about custom button. :/ I speak about this page : ...
1
vote
0answers
16 views

Free Applications

I have a simple question but I could not find the answer to it yet. I want to develop a Application for the Salesforce AppExchange but want to charge no price for it (Free App). So what costs do you I ...
0
votes
1answer
40 views

Adding to opportunity different products from different pricebooks

I am trying to figure it out how can I implement this idea, I saw that this question already been asked but I haven't found an answer for that. Does someone maybe knows what are the options ...
1
vote
1answer
34 views

How can we share a pricebook record to a group using apex code

I want to share record of Pricebook to a group. Their is no object called PricebookShare, how can we share if there is no object PricebookShare to share? Is there any way? Please guide me.
1
vote
2answers
37 views

Report on pricebook and products

I need to report on pricebook in order to have all products with their price on the pricebook? Any lead about that?
3
votes
2answers
52 views

Assign Product to OrderItem

I am trying to create an orderitem from visualforce page and I am getting an error Attempt to de-reference a null object while assigning pricebookentry.priduct2Id.Here is my part of code where ...
3
votes
2answers
47 views

Trigger to Update Opportunity Price Book

I created the class below to fire on an Insert/Update trigger on the Opportunity. It is meant to change the Opportunity price book based upon the value entered in a custom picklist on the Opp. ...
3
votes
1answer
57 views

Is there a simpler way to traverse relationships to update cross object fields?

I have a trigger that works but it seems like there should be a better and simpler way to accomplish the result. I have a custom object that is a child of Quote and has a lookup to Product2. I am ...
0
votes
1answer
74 views

Dynamic Way to View Pricebook Entries in their respective Pricebook through Apex?

I have an apex class and vf page that is based on the PricebookEntry object because I want to be able to have a list view of all pricebooks at the top of the vf page and each time a different ...
0
votes
1answer
40 views

How to OVerride the PricebookEntry Edit page

I wanna open my custom VF page when I click the edit button form the pricebookEntry page. is this possible? Please give me the guide. Thanks and Regards.
2
votes
0answers
45 views

Test class pattern for pricebook when standard pricebook is deactivated

I'm trying to write a test class without the "seealldata=true" option and all I have is a custom pricebook, as my standard pricebook has been deactivated. The relevant part of the test is as follows; ...
2
votes
2answers
82 views

Best practice for handeling bulk prices (graduated prices) in Salesforce

We have a client who wants to synchronize products between Salesforce and his ERP solution (Sage Office Line). In Sage it is possible to have many graduated prices (in German we say "Staffelpreise") ...
2
votes
1answer
38 views

Soft release a product in Salesforce

I want to add some products into another environment towards release and I want to be able to hide the product from certain users for a while. Then if everything goes well I want to make it visible to ...
0
votes
1answer
16 views

what is the use of PricebookEntryHistory__c

what is this PricebookEntryHistory__c object used for in Salesforce? Everytime i insert/update a 'pricebooktentry' via coding i have to create a PricebookEntryHistory__c?
0
votes
1answer
12 views

Can I use pricebooks for upgrades?

I want to implement pricebooks in my application, and I have successfully set it up to generate net price promotions. However, I also offer product upgrades, for example - if buyer purchases Product ...
0
votes
0answers
33 views

when i select a lookup fields need to be display in vf page

By selecting a product lookup in a Visualforce page, i want to display all product pricebook fields in same visual force page. How can i achieve it
0
votes
2answers
78 views

Defaulting the Quantity and Cost on an Opportunity product line item

We have a custom field on our Opportunity Product that is called IIS Cost and we would like for some products to be able to have this value defaulted from the item in the pricebook. For example I can ...
0
votes
0answers
18 views

how to report on who has access to pricebooks

I need to be able to see who and what roles and subords have access to what pricebooks, e.g., active pricebooks, is there a way to do this?
0
votes
1answer
160 views

how to update opportunity line Item to refer a new Pricebook

We want the existing orders on old PriceBooks to be update to New PriceBook via dataloader. Is it possible to do this without following the below steps:? Delete line items update order header with ...
1
vote
1answer
22 views

How to sell a product upgrade?

We have several products that we sell (Say P, G, D) While for new customers it's easy, I am confused on how to sell an upgrade of any product. example: in 2015, our P product will get a new ...
0
votes
1answer
57 views

Apex SOQL doesn't honor 'with sharing' for Pricebook2

My org is running some apex code that pulls objects and passes them to a mobile app. The apex code in question is designed to be run as the sales rep that is logged in via the app. For some reason ...
1
vote
0answers
65 views

How to grant a user ability to edit the pricebook he sees?

My OWD for pricebook is No Access, this gives me the ability to restrict users to the pricebook I want them to see. I want to give a user the ability to edit the pricebook entries he sees. If I give ...
0
votes
1answer
163 views

Is Standard PriceBook available for adding to an Opportunity?

Simply the title is the question. Somewhere I have read that the standard pricebook is the list of all products with their associated prices and this can't be attached to an opportunity. If you need a ...
0
votes
2answers
53 views

Prevent deletion of price book entries

Is there any way to take away delete privileges on price book entries for a custom profile? Preferably based on conditions of price book fields, but if just altogether would be fine as well? I've ...
0
votes
1answer
27 views

Help Needed Finding a Product Field

Can anyone tell me where I can find the field highlighted in red below please? The related list is for Products, it's just been renamed to Service Line. I've checked in Service Line (Products), ...
3
votes
1answer
156 views

Cannot find product to add to Opportunity

I have crated few products. Now I cannot find them when I am trying to add them to the Opportunity. Products are active. They are added to a Price Book. Price Book is also active. Any idea what is ...
1
vote
2answers
363 views

How to do move Pricebook and Products from sandbox to production

As the title suggusts, I have created a pricebook with a list of products and their prices in my sandbox, I would like to know how I can export this data into my production instance.
3
votes
3answers
805 views

How to query the products in standard price book based on StandardPrice

I am using the standard price book for the order ,but my standard price book contains same product with different standard price.How to query the products in standard price book based on the Standard ...
0
votes
0answers
62 views

Error message in approval process

In a opportunity object I add products directly to my opportunity. So I send to approval, but when the manager open the approve/reject Approval request page just can approved if the pricebook is ...
2
votes
3answers
389 views

Summer 14 and Price books

Since Summer 14 released this weekend every time I try and clone a product I get the below error message and I don’t understand what its saying? I think something changed with the price book in the ...
1
vote
2answers
293 views

How can I tell if a product has an entry for the standard pricebook?

I have VF page from where i i trying to add products to a pricebook. IF the standard pricebook of the product not active then i am getting an error 'DML exception: Standard price not defined'. So how ...
2
votes
1answer
615 views

Invalid field Pricebook2Id for SObject Order. Can't set Price book for Order

I want to insert the OrderItem object using Order, Pricebook2 and PricebookEntry. I retrieved the standard Pricebook2 and inserted an Order and pricebookentry. At the time of inserting the ...
4
votes
2answers
1k views

Test code for the new standard Order object

The last line insert ordPd causes exception: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Price Book Not Set on Order: [] All lines before the ...
2
votes
0answers
165 views

How can a Partner User will able to see Reports based on Product/Pricebook

As mentioned by salesforce.com the Partner Users can only able to report on S/C-objects which are Private in Sharing Settings, then how can Partner Community User can see Products/Pricebook fields in ...
7
votes
1answer
568 views

Why there is no OWD settings for Product Object

I was wondering why there is no OWD settings for Product Object. And as it was said that PriceBookEntry is a junction object for Products & ProductPortfolio then why there a OWD settings option ...
4
votes
2answers
834 views

Is it possible to add products to an opportunity using the standard price?

Salesforce wants me to choose a price book in order to add products to an opportunity, but our organisation has opted not to use price books because we never deviate from the standard price. However ...
3
votes
2answers
722 views

Where is PricebookEntry Object

i am following this link http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_products.htm .In this ER diagram there is Pricebook2Id field on Opportunity Object but i can't see any ...
2
votes
0answers
75 views

Multiple pricebooks using quotes?

Is it possible to have multiple quotes related to the same opportunity that use different pricebooks? For example, if you have one pricebook setup for 12-month pricing (subscriptions) and another for ...
1
vote
1answer
504 views

why salesforce have restriction to add products from one pricebook for an opportunity? what happen if with multiple price books?

we have a integration where we need to integrate SAP with SFDC. Now the pain comes to add products from multiple pricebook for an opportunity. what would happen if we add products from multiple ...
0
votes
1answer
480 views

new Product2 creating/adding to custom pricebook

I've created small script for inserting new Products2 with Standard Price. Map<String, Integer[]> newProdMap = new Map<String, List<Integer>>(); newProdMap.put('Product Name', new ...
2
votes
0answers
77 views

Difference in Sharing modes of PriceBook (Product Portfolio)

When I look at any Product Portfolio sharing page I found these option: 1) To add a Public Group in which we can share the particular PP with Group's, Roles, Roles and Subordinate & User's. ...
6
votes
1answer
859 views

How to get Pricebook2 Sharing Rules using UserRecordAccess

I have an Apex class with sharing where I get a list of every Pricebook2 available in the database. Considering the fact that we use sharing rules to prevent access to some of them, my SOQL shouldn't ...
1
vote
0answers
119 views

How to select dynamically linked items from Pricing Matrix via PHP REST API

I've been given the task of writing a new SalesForce application for our company. It's to be a sort of front-end for some clients. One of the functions is to allow these clients to build a product ...
1
vote
1answer
654 views

New Active Product not showing up in Price Books and Opportunities

I've just added a new product and marked it as active. Now I'd like to link a few opportunities to this new product but it's not showing up in either the Opportunity "Add Product" page or the Price ...
1
vote
1answer
59 views

Pricebook Maintenance pricing based on percent

In our case we price Maintenance as a percent of opportunity. How can we include in pricbook which is an SLA product which is a % of opportunity?
2
votes
1answer
766 views

Using multiple pricebooks in an opportunity

When adding products to an opportunity I can only use one pricebook. In my case I need products from multiple pricebooks. How can that be done?
0
votes
1answer
970 views

Method does not exist or incorrect signature: [LIST<Checkbox_Class.marWrapper>].marWrapper(Id, Decimal, String)

I have the following incomplete(this is how far I've gotten so far before the error occurs) method: public List<assetswrapper> getAssets() // { List<Pricebook2> Pbook2Id = [SELECT ...
1
vote
1answer
3k views

Getting an initial term of field expression must be a concrete SObject error:

I'm getting the following error: Save error: Initial term of field expression must be a concrete SObject: LIST Force.com save problem Here are the snippets of code in question: List ...
2
votes
1answer
803 views

UseStandardPrice field when import PricebookEntry

I’am going to insert the prices for my products, but i’m not sure about how setup (true or false) the field UseStandardPrice of the object PricebookEntry. I have found this : UseStandardPrice ...