Hi,
Try this
IF @object_type = '15' AND @transaction_type IN ('A')and @error = 0
IF EXISTS (
SELECT dbo.ODLN.DocEntry
FROM dbo.IGE1
WHERE (dbo.OIGE.DocEntry = @list_of_cols_val_tab_del)
)
Begin
UPDATE [dbo].[ORDR]
SET ORDR.U_UDF = 'Updated'
where ordr.DocEntry=(select A.BaseEntry from DLN1 A WHERE A.DocEntry=@list_of_cols_val_tab_de )
end
Regards,
Manish