Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

mass update - set Item(s) inactive - SQL

$
0
0

mass update - set Item(s) inactive - SQL

I have a large set of items I want to set inactive. It seems that eConnect doesn't have an option to safely import this update.

Would this be safe? Are any other tables updated , or needing to be updated?

BEGIN TRY
	UPDATE  dbo.IV00101
		SET     INACTIVE = 1
		WHERE ITEMNMBR in (Select ITEMNMBR from [MyTable] Where <myCaseIsMet>)
		
END TRY
BEGIN CATCH
  --

	RETURN
  
END CATCH
GO



Viewing all articles
Browse latest Browse all 14686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>