You need to sign in to do that
Don't have an account?
rcher
SOSL Error entity type PricebookEntry does not support search
Hi,
I am trying to use sosl in my Apex Controller (SOSL Below). I am getting the error Entity type PricebookEntry does not support search. Let me know what the issue could be.
FIND '(12345)' IN ALL FIELDS RETURNING Product2(Actual_Product_Name__c), Product2(Name), Product2(Family), Product2(Description), PricebookEntry(UnitPrice where IsActive='true' AND Product2.DMMSSku__c LIKE '%y' and Pricebook2Id = '01s50000000A5kHAAS'), Product2(Dropship__c),Product2(Production_Lead_Time__c), Product2(Shipping_Lead_Time__c),Product2(SKU_Ship_Via__c)
I am trying to use sosl in my Apex Controller (SOSL Below). I am getting the error Entity type PricebookEntry does not support search. Let me know what the issue could be.
FIND '(12345)' IN ALL FIELDS RETURNING Product2(Actual_Product_Name__c), Product2(Name), Product2(Family), Product2(Description), PricebookEntry(UnitPrice where IsActive='true' AND Product2.DMMSSku__c LIKE '%y' and Pricebook2Id = '01s50000000A5kHAAS'), Product2(Dropship__c),Product2(Production_Lead_Time__c), Product2(Shipping_Lead_Time__c),Product2(SKU_Ship_Via__c)