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
IBeginnerIBeginner 

PriceBookShare Issue

Hi All,

 

Can some one please let me know how to access the Price Book Sharing records?

 

Because there is no object called PriceBookShare available and I need to access the records which have been added as a manual sharing for Pricebook.

 

Just want to know .../p/share/Pricebook2SharingDetail?parentId=****** is getting the records from.

 

Thanks in advance.

Ankit AroraAnkit Arora

Not sure about your requirement yet, so per the URL I think you are using visualforce page : "Pricebook2SharingDetail"

 

Can you please check that what is the standard controller set on this visualforce page, then I can guide you further.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page


IBeginnerIBeginner

Thanks for the reply.

 

I want to get the manual sharing records for price book. Assume Pricebook name 'TestPriceBook' is manually shared with user 'Test User' with 'Use' access. I need to get these manually shared records. Usually for other objects its the MyObject__Share object, but for Pricebook I can't find a similar object.