You can filter the items returned from the ERP/Accounting System by using the Item Filter in the Item Settings Screen.


For example, if you want to return all items except for the Widget27 item you can set the field to be  ITEM.Where(ItemCode != "Widget27")


The filter can be any valid lamda expression.