📚 SAP Business One SDK Help

PickLists Property
See Also  Example

Description

Pick list information for lines.

Property type

Read-only property

Syntax

Visual Basic
Public Property PickLists() As Document_DocLinePickLists

Example

C#Copy Code
SAPbobsCOM.StockTransfer oDoc = (SAPbobsCOM.StockTransfer)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oStockTransfer); 
oDoc.Lines.SetCurrentLine(0); 
oDoc.Lines.Quantity = 3; 
oDoc.Lines.BaseType = InvBaseDocTypeEnum.InventoryTransferRequest; 
oDoc.Lines.BaseEntry = 3; 
oDoc.Lines.BaseLine = 0; 
oDoc.Lines.Add(); 
oDoc.Lines.SetCurrentLine(1); 
oDoc.Lines.Quantity = 2; 
oDoc.Lines.BaseType = InvBaseDocTypeEnum.InventoryTransferRequest; 
oDoc.Lines.BaseEntry = 1; 
oDoc.Lines.BaseLine = 1; 
oDoc.Lines.PickLists.SetCurrentLine(0); 
oDoc.Lines.PickLists.PickListEntry = 11; 
oDoc.Lines.PickLists.PickListLineNum = 1;

See Also