Documents ProdDoc = (Documents)company.GetBusinessObject(BoObjectTypes.oInventoryGenExit);
ProdDoc.DocDate = DateTime.Today;
//ProdDoc.Lines.SetCurrentLine(0);
ProdDoc.Lines.BaseEntry = 55619;
ProdDoc.Lines.BaseLine = 0;
ProdDoc.Lines.SerialNum = "hhhhhhhhhh";
ProdDoc.Lines.Quantity = 1;
ProdDoc.Lines.Add();
int result = ProdDoc.Add();
//check for error
This code is giving me a message "cannot add row without complete selection of serial numbers for row 1"
I have already added the serial number in the code....I have two components to add....one has the serial number and the other dsnt
Component 1 ....has a serial number....issue method is manual
Component 2....dsnt have a serial number....issue method is backflush..