Hi Team,
How to assign batch/serial in bin location for inventory transfer (From Bin Location , To Bin Location ). Is it similiar in below
sample code
transfer.Lines.BinAllocations.SetCurrentLine(0);
transfer.Lines.BinAllocations.BinActionType = SAPbobsCOM.BinActionTypeEnum.batFromWarehouse;
transfer.Lines.BinAllocations.BinAbsEntry = fromLocation;
transfer.Lines.BinAllocations.Quantity = quantity;
transfer.Lines.BinAllocations.Add();
transfer.Lines.BinAllocations.SetCurrentLine(0);
transfer.Lines.BinAllocations.BinActionType = SAPbobsCOM.BinActionTypeEnum.batToWarehouse;
transfer.Lines.BinAllocations.BinAbsEntry = toLocation;
transfer.Lines.BinAllocations.Quantity = quantity;
transfer.Lines.BinAllocations.Add();
int returnCode = transfer.Add();