Hi experts,
I got a question related with SDK on creation of new serial number.
In normal case, we sill generate the Serial Number during Inventory Receipt by adding less or more the following code:
oBaseDocument.Lines.SetCurrentLine(0)
oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = "SerialNumber001"
oBaseDocument.Lines.SerialNumbers.Add()
oBaseDocument.Lines.Add()
But now the question is if the Item Master data use Managed By Serial Number "On Release Only", which means I cannot generate the Serial Number upon receiving.
The objective of the add-on is to generate the Delivery Order via DIAPI, so in order to do that, I need to create the Serial Number in the SAP, then generate the DO ans assigning the Serial Number.
The question is, HOW to generate stand-alone Serial Number by using DI API?
I noticed there is SAPbobsCOM.SerialNumbers interface, but I could find any method to generate the Serial Number.
Has anyone ever have such requirements? Any advise is appreciated.
Thank you.