I have a problem creating serial number. this is SerialandBatch sample from SDK.
But it does not create Serial number for item. It always shows You should use existing serial/batch numbers for this document type.
The error appears here:
globalD.RetVal = globalD.oInvGenEntry.Add();
I can do it in client. When I create Goods Issue, after clicking Add button, I write serial numbers.
But in sample it does not work for me. what is wrong ? Help to solve please.
Thanks in advance.