Skip to Content
Former Member
Sep 10, 2009 at 04:43 PM

DTW Error message


Dear All,

I got an error message when tried to update OITW table. Our customer need to update oitw.MinimalStock to be 0.

So I only have 2 columns in OITM table (recordkey and itemcode). 2 columns in OITW table (recordkey and MinimalStock)

When I update the data of non-default warehouse, it works fine.

But when I update the default warehouse data, I got an error message

Violation of Primary key constraint 'Oitw_primary'. Cannot insert duplicate key in object 'dbo.OITW'

Application-defined or object-defined error65171

Any idea? Thanks a lot.