The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
25 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
35 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. ...
-2
votes
0answers
14 views

When inserting Pricebookentry i am getting “standard price not defined” error

When inserting Pricebookentry through API , i am getting "standard price not defined" error. i don't know how to resolve it. if any buddy has idea. please reply me!!!
3
votes
1answer
50 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
38 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
28 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
22 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
56 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
36 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
15 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
11 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
23 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
49 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
111 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
17 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
51 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
46 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
126 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
47 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
26 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
120 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
292 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
551 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
55 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
349 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
280 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
523 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
923 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
145 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
488 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
716 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
578 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
72 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
464 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
412 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
71 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
771 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
101 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
600 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
53 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
685 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
888 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
714 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 ...
13
votes
4answers
2k views

SeeAllData=false and Pricebooks

When writing test cases with SeeAllData=false, you cannot access or insert Pricebooks. Effectively this means that you cannot use SeeAllData=false when working with any test case involving products. ...
2
votes
1answer
580 views

Price Book Access Control?

Is anyone aware of a way to control access to Price Books? I'm finding no joy either here on SE or via Google. Our company previously had price books for each "country region" (like North America, ...
1
vote
1answer
387 views

Standard pricebook and its relationship with custom pricebooks

We have a standard pricebook and couple of custom ones. The custom pricebooks were recently added. With the new custom pricebooks uploaded and the UseStandardPrice is set to false for the custom ...
3
votes
1answer
1k views

Using Product standard price in Custom Object

I'm trying to create a classic Invoice by using Custom Object Invoice (Master) Invoice Line Item (Detail) Invoice_Line_Item should have a look up relationship with Product. Also it has to include ...
3
votes
1answer
1k views

Is it possible to default a pricebook based on the recordtype?

Is it possible to set default pricebook based on recordtypes. We have recordtypes like sales and sevice. So when an user selects sales recordtype we should have sales pricebook as default and service ...