function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Antonio GiossaAntonio Giossa 

Objects for PriceBooks and Users relationship...

I am developing a VB .NET solution that administers price books and products (locally and at SalesForce).

I am using PriceBook and PricebookEntry objects fine.

But... I need to make a "collaboration" between the pricebooks and the users.

i.e.

Pricebooks
Gold, Silver, Plate

Users
Peter, Mary, Paul, Lisa

Of course, the admin user has all access to Gold, Silver and Plate pricebooks, because he is the owner.

But I need to "collaborate", i..e, Gold pricebook with Peter and Mary, and Silver pricebook with Mary.

In this way, each user in my SalesForce account has "access" to none, one or many pricebooks.

Asi I can see, I can do all this stuff manually, with the "collaboration" button at each pricebook in SalesForce.

But I need to know if I have access (an object, maybe...) to that relationship using .net objects of SalesForce.

I know that I have objects to manage relationships between Opportunities and Users, using OpportunityShare and OpportunityOwnerSharingRule objects, but I did not found objects like PriceBookShare or something like that.

Yours,


salesforce intesalesforce inte

We are also looking for some relationship in salesforce account object with pricebook.

We want to relate them in c# code for diffrent customers diffrent pricebooks.

Can we do that?

Amit Lohogaonkar

amit@varstreet.com