Hany Lioun Nasr 2/7/2010 3:50:17 AM

PostBatch Procedure Error

When I'm trying to post batches using

Microsoft.Dexterity.Applications.Dynamics.Forms.SopBatchEntry.Procedures.PostBatch.Invoke(false, 2, _arrBatchList[i].ToString(), "Sales Entry", DestinationID);

some times it post normally and another times it gave me the follwing error

 

"SQL Error: 2601 cannot insert duplicate key row in object 'dbo.AAG20000' with unique index 'AK2AAG20000' "

 

Please Help???

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3