When mapping a source collection to destination sometimes it is desireable that the destination collection have elements removed that did not exist within the source.
Consider an Order with line items. When the source order is copied to the destination order you would want to remove line items from the destination order if it was not in the source.
Attached is a patch that implements this feature, it includes updates to the documentation and a test case. To enable the feature for a field the mapping would look like:
Log in to post a comment.