Skip to Content
0
May 17, 2010 at 08:46 AM

Update Comments field in OINV with transaction notification

207 Views

Hi,

I want to use this transaction notification which updates the comments field in oinv with docnum when using DGW.

if @object_type = '13' and @transaction_type in ('A','U')

begin

update oinv

set Comments = Docnum

where DocNum = @list_of_cols_val_tab_del

end

But this is not working

what am i doing wrong?

thx

Mark