Problem with Invoice
I hvae problem with invoice. If I use method GetByKey (I need to find any invoices from BP)... it doesn`t work - my project broke down...
This is the error message:
0x00228ddc "[OUTB] , '1). [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'OUTB_PRIMARY'. Cannot insert duplicate key in object 'OUTB'.2). [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.'" wchar_t *
What is wrong ?
The number of doc. in method GetByKey exists - I check it.
How can I solve this problem ?
Thank for any answers, and sorry for my english.