title: Combine Hybris Impex Remove with Flexible Search
body: <p>I would like to remove some items from a table using Impex. The following example throws no errors, but nothing is removed.</p>
  
  <pre><code>REMOVE ProductReference;pk[unique=true]
  "#% impex.exportItemsFlexibleSearch(""select {pk} from {ProductReference as pr} where {pr.referenceType}=( {{select {pk} from {ProductReferenceTypeEnum as prte} where {prte.code} = 'CROSSELLING'}})"");"
  </code></pre>
  
  <p>The query produces results as expected. Is REMOVE not compatible with flexible search, or am I missing something?</p>
  
  <p>The problem is, that I am running an import over hotfolder and I want to remove all existing items beforehand. Alternative solutions are welcome.</p>