Creating a new adapter

I'am trying to create a new adapter, i want to search and replace
some data.

Imports Epicor.Mfg.UI.Adapters (top of customization)

Sub Convert
Dim UpdateAdapter As LaborDtlSearchAdapter = New LaborDtlSearchAdapter
(laborForm)

end sub

But when I try to test the code i get the following errormessage

Error: BC30002 - line 819 (1025) - Type 'LaborDtlSearchAdapter' is
not defined.

I've got a reference to epicor.mfg.UI.adapters at top of the
customizations

What am I overlooking, or what should i do to solve this errormessage?