We are looking to implement a system which will allow to automatically remove price levels based on results from another system we have internally.
We have already determined which items do not have open orders and are therefore able to be deleted, but need to also query in SQL which item cards which are being edited.
The tables we have found that seem helpful are 'Activity', 'SY00800' and 'SY01600' but we're not sure how to link those back to a specific item.
Any help is appreciated.