
Originally Posted by
Hammerhead
What I really need is a way to compare the new file to the old file and delete the items that are no longer present.
Here's the problem.
Let's say you have a CSV file of 100 products. Every day you refresh the pricing and inventory quantity using EZP. Then a week later your supplier stops carrying 20 items, but doesn't tell you which ones were discontinued, the daily price file only contains 80 items. Because you previously uploaded the items, they exist in your database, but you don't know which items were terminated because they don't have an 'exception' file, the items just no longer exist in the daily price feed.
How would you go about purging the items that are no longer carried while leaving the current items intact?