Skip to Content
0

Delete line from PickList

Mar 01 at 01:21 PM

35

avatar image
Former Member

Hello ,

I would like to delete a specific line from a pick list.

The code i am using is the following :

SAPbobsCOM.PickLists oPickLists = null;
SAPbobsCOM.PickLists_Lines oPickListsLines = null;
oPickLists = (SAPbobsCOM.PickLists)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists);

oPickListsLines.SetCurrentLine(rsPickDelete.Fields.Item("PickEntry").Value);

Kind Regards ,

Ifigeneia

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Mar 01 at 04:22 PM
0

Hi Ifigeneia,

Look this link: https://blogs.sap.com/2017/03/24/pick-list-in-sap-business-one-sdk/

It shows a lot of things that you can do with pick list and how to delete a line that is your requirement.

Best Regards,

Diego Lother

Share
10 |10000 characters needed characters left characters exceeded