Hi Jeewan,
thank you for the answer .
Here is my small code.
SAPbobsCOM.Company oCompany = new SAPbobsCOM.Company();
SAPbobsCOM.PickLists oPickList =(SAPbobsCOM.PickLists)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists);
SAPbobsCOM.PickLists_Lines oLines = new SAPbobsCOM.PickLists_Lines();
oPickList.GetByKey(846); // 846 is my pick list number
for (int a = 0; a < oPickList.Lines.Count;a++ )
{
oLines.SetCurrentLine(a);
for(int x=0;x<oPickList.Lines.BinAllocations.Count;x++)
{
// ?? no option to remove the BinAllocation
}
}
if(oPickList.Update()!=0)
{
application.MessageBox("Error");
}
I didn`t found the way how to delete / remove the BinAllocation .
Also I`m doing something wrong because the x is returning number 1 and allocated are 2 rows.
Thank you