on 2019 Dec 27 4:06 PM
I need to upload invoices to SAP with products that have batch numbers. Everything works correctly except when uploading BOM products, the bill of materials that the parent product has contain Batch Numbers and when I try to add its Batch Numbers it shows me the following: error -4014 cannot add row without complete selection of batch / serial numbers.
Below part of my Code.
if (detalle.Lotes.Count() != 0) { foreach (var lote in detalle.Lotes) { businessObject.Lines.BatchNumbers.Add(); businessObject.Lines.BatchNumbers.BatchNumber = lote.BatchNumber; businessObject.Lines.BatchNumbers.Quantity = lote.Quantity; } } if (detalle.UseBaseUnits == "Y")
As i mentioned before when i upload a regular item with batch number it work fine.
Any idea
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
User | Count |
---|---|
60 | |
9 | |
8 | |
7 | |
6 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.