Bom dia Elder,
Tente fazer da seguinte forma:
Copie a sintaxe abaixo em sua transaction notification.
IF (@object_type in ('17') and @transaction_type in ('A'))
BEGIN
If Exists (Select T0.DocEntry from ORDR T0 where T0.DocEntry = @list_of_cols_val_tab_del AND ISNULL(T0.u_adiant_clientes,0)=0 )
Select @error = -1, @error_message = '(TransactionSQL) ERRO: Campo "XXX" não preenchido'
END