December 2011
M T W T F S S
« Nov   Jan »
 1234
567891011
12131415161718
19202122232425
262728293031  
Archives

Dynamics GP Extended Pricing Error

 

Few weeks back I have posted about this error which was repeated again yesterday with one of my customers:

Microsoft SQL Native Client SQL Server Cannot insert the value NULL into column ‘SEQNUMBR’, table dbo.IV10400, column does not allow nulls. UPDATE fails.

image_thumb

In my previous article I have explained everything about the issue and how it occur, this time I have decided to write a script that re-index the IV10400 table as below:

DECLARE @COUNTER INTSET @COUNTER = 30DECLARE CURR CURSOR FOR SELECT SEQNUMBR FROM IV10400DECLARE @SEQNUMBR BIGINTOPEN CURRFETCH NEXT FROM CURR INTO @SEQNUMBRWHILE @@FETCH_STATUS = 0BEGINUPDATE IV10400 SET SEQNUMBR = @COUNTER WHERE SEQNUMBR = @SEQNUMBRSET @COUNTER = @COUNTER + 30FETCH NEXT FROM CURR INTO @SEQNUMBRENDCLOSE CURRDEALLOCATE CURR

Enjoy!


Regards,

Mohammad R. Daoud MVP – MCT
MCP, MCBMSP, MCTS, MCBMSS
+962 – 79 – 999 65 85
me@mohdaoud.com
www.mohdaoud.com

Read the original post:
Dynamics GP Extended Pricing Error

VA:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VA:F [1.9.17_1161]
Rating: 0 (from 0 votes)