Uderc programming article aggregator sites

DI API error while adding AP Invoice (Using serial Nos.)

Answers: Have 5 answers
Im getting the following DI API error when adding an AP Invoice which has serial numbers and i cant seem to find any logical fault in the code.
" [PCH1.WhsCode][line: 4] , 'This entry already exists in the following tables (ODBC -2035) "
If anybody has encountered this error and found a solution kindly let me know.
The best answer: Hi Vivek,
Are you trying to add same document number, serial number or so on?
"entry exist " means like "duplicate key problem", I guess.
Basically, whscode column in PCH1 table allows duplicating.
So, I think serial number is duplicated among same item code.
Hope this useful for you.
Hyunil Choi.