From Ian Grieve coms a SQL script to create macro to delete items in Microsoft Dynamics GP…A SQL script, to create a macro, to delete items. That seems like a long chain.
— Read on www.azurecurve.co.uk/2020/08/sql-script-to-create-macro-to-delete-items-in-microsoft-dynamics-gp/
SQL script to create macro to delete items in Microsoft Dynamics GP – azurecurve
Development & IntegrationSales, Purchasing & InventorySQL & Data
Archived post from 2020. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.