Skip to Content
0
Former Member
Mar 18, 2009 at 03:11 PM

BatchNumbers

9 Views

Hi,

I am trying update a draft to put the batchnumbers by SDK but it's give me an error "-10"

oDrafts.Lines.BatchNumbers.BatchNumber = batchName.ToString();

oDrafts.Lines.BatchNumbers.Quantity = 3;

oDrafts.DocObjectCode = BoObjectTypes.oPurchaseReturns;

int errCode = oDrafts.Update();