Hi,
You can not block all transaction in single transaction notification. I have created for Sale order and just change object code and table for all other transactions.
IF (@object_type = '17') and (@transaction_type IN (N'A'))
BEGIN
IF EXISTS (
SELECT A.DOCENTRY FROM ORDR A WHERE A.[DocDate] >='20140710'and a.DOCENTRY = @list_of_cols_val_tab_del)
BEGIN
Select @error = 10, @error_message = N'You are not authorize to add this Sales order'
END
END
Thanks & Regards,
Nagarajan