Skip to Content

SAP B1 STUDIO: When I select a name from CFL, it does not go into the EditText. Why?

Hi, everybody

I am beginning SAP B1 Studio for Visual Studio.

I am working on the example given in the SAP Public document: "Working with SAP Business One Studio Suite".

I am attempting to pick up a value using a CFL, and place it in the EditText, but it does not go into the EditText.

What is missing?

Please see the pictures.

it-edit.jpg

myproblem.jpg

Thanks

Leon

myproblem.jpg (281.1 kB)
it-edit.jpg (200.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 07, 2017 at 12:35 AM

    Hi Leon,

    Same procedure as you would do in older SDK.
    Handle the OnAfter ChooseFromList event and put the any value in your text box.

    The difference is
    In older SDK you would cast the pVal to SAPbouiCOM.ChooseFromListEvent
    In this version, you need to cast it to SAPbouiCOM.ISBOChooseFromListEventArg


    Regards
    Edy

    Add comment
    10|10000 characters needed characters exceeded