Adapter

Hello,
we convert epicor 9 to epicor 10.2 . in the customization, i got the following error
‘clearData’ is ambiguous because multiple kinds of members with this name exist in class ‘Ice.Lib.Framework.EpiBaseAdapter’.

do you know how to fix that issue. i tried to add dll in the visual studio, but i can not see clearData available in the adapter. ex. UD04Adapter, there is no such function called clearData.

thanks,

Eddy

Is this in the UD40 screen or another screen?
It may help to see the code.

Hello Jason,
sorry to reply so late.
here is the code
Private m_ud04Status As UD04Adapter
m_ud04Status = New UD04Adapter(oTrans)
m_ud04Status.BOConnect()

   Dim opts as SearchOptions = SearchOptions.CreateRunTimeSearch(hash, DataSetMode.RowsDataSet)
        m_ud04Status.ClearData()
        m_ud04Status.InvokeSearch(opts)

I got ‘clearData’ is ambiguous because multiple kinds of members with this name exist in class ‘Ice.Lib.Framework.EpiBaseAdapter’.

which is m_ud04Status.ClearData()

thanks,

Eddy

so, i use another way to do that.
m_ud04Status.GetData().Clear(). it is ok