Hi Team,
i am using SAP 9.1 PL2, and would like to create a pick list from Inventory Transfer Request doc in DI Level. Other than the standard fields, what other fields that i should set/assign when pick list created from Inv Transfer Request?
Dim oPickList As SAPbobsCOM.PickLists = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
oPickList.PickDate = Today
oPickList.Lines.BaseObjectType = "17" ' sales order
oPickList.Lines.OrderEntry = 26985 ' docentry of sales order
oPickList.Lines.OrderRowID = 1 ' 2nd line of sales order will be released only
oPickList.Lines.ReleasedQuantity = 5 ' 5 piece of item can be released
oPickList.Lines.Add()
If oPickList.Add = 0 Then
'success
Else
MsgBox(oCompany.GetLastErrorDescription)
End If