This might help: Delete Rows UD Table - ERP 10 - Epicor User Help Forum (epiusers.help)
Some good tips here too: Custom Action to Copy Rows Between UD Tables - ERP 10 - Epicor User Help Forum (epiusers.help)