today I want to share one simple technic of how to filter inserted items in cache from other objects. I discovered it with reflector, while diffing in code of APInvoiceEntry.
Here it is:
Adjustments.Cache.Inserted - this item will give you which items were inserted in view Adjustments.
Another interesting details was updated:
will give you updated items in cache.
And of course deleted: