IC2 Doesn't Recognize 'WITH PricebookId = ' as valid SOSL

Issue #2009 resolved
Jesse Wheeler created an issue

When filtering products returned from a SOSL search by PricebookId, the IDE incorrectly indicates a syntax error:

Salesforce Documentation:

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl_with_pricebook_id.htm

Steps to reproduce:

  1. Open Anonymous Apex pane and run:
  2. System.debug([FIND 'Test' RETURNING Product2 WITH PricebookId = '01sxxxxxxxx2MffAAE']);

Comments (2)

  1. Log in to comment