Skip to Content
avatar image
Former Member

Delete line from PickList

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 01 at 04:22 PM

    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

    Add comment
    10|10000 characters needed characters exceeded