PartMtl Search Adapter

Here is some code to invoke a Part Rev search and run the BomSearch
upon selection of a part/revision: (not tested)

Private Sub btnAssemblySearch_Click(ByVal Sender As Object,
ByVal Args As System.EventArgs) Handles btnAssemblySearch.Click
'// ** Place Event Handling Code Here **
Dim recordSelected As Boolean
Dim dsSearch As DataSet = SearchFunctions.listLookup
(oTrans, "PartRevSearchAdapter", recordSelected, True, "", False)
If recordSelected
Dim adBom As BomSeachAdapter = New BomSearchAdapter
(oTrans)
adBOM.BOConnect()
Dim dsLoaded as Boolean = adBOM.GetDatasetForTree
(dsSearch.Tables(0).Rows(0)("PartNum"), dsSearch.Tables(0).Rows(0)
("RevisionNum"), "", True, System.DateTime.Now, True)
'// all of the components will now be in the
adBom.BomSearchData.PartMtl dataset - you could bind to ultragrid or
loop through the rows to do what you want.
End If
End If
End Sub


--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>
> Thanks, that's very useful.
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> bw2868bond
> Sent: Tuesday, July 29, 2008 9:51 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: PartMtl Search Adapter
>
>
>
> You will not be able to use the list lookup function for that
adapter.
>
> If you have installed the BL Tester tool, try using the
> Epicor.Mfg.BO.BomSearch.dll to see what parameters it requires, and
> if it returns the data you are looking for.
>
> If you havent installed the tool, it should be located under the
> utilities folder \\<server>\epicor\mfgsys803\utilities\BL_tester
>
> --- In vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com, "Daniel
> Laidig" <daniellaidig@>
> wrote:
> >
> > I tried using SearchFunctions.ListLookup
(oTrans, "BomSearchAdapter",
> > recselected, false, whereclause) like I get information for all
the
> other
> > adapters, but the BomSeachAdapter errors out. If I leave all my
> code the
> > same, but change the BomSearchAdapter to PartAdapter, it works
just
> fine.
> > Have you had this problem? I'm using Vantage 8.03.404b. Thanks,
> >
> >
> >
> > Daniel
> >
> > _____
> >
> > From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> [mailto:vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com] On
> Behalf Of
> > bw2868bond
> > Sent: Tuesday, July 29, 2008 9:01 AM
> > To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> > Subject: [Vantage] Re: PartMtl Search Adapter
> >
> >
> >
> > BomSearchAdapter ?
> >
> > supply parent, rev, and how you want tree exploded
> >
> > --- In vantage@yahoogroups <mailto:vantage%
> 40yahoogroups.com> .com, "Daniel
> > Laidig" <daniellaidig@>
> > wrote:
> > >
> > > I'm looking for a part search adapter that will give me the
> parent
> > part
> > > number and its children. The table in Vantage is PartMtl but I
> > can't find
> > > an adapter to use within my customizations that give me this
> > information.
> > > Does anyone know what adapter I could use? Thanks,
> > >
> > >
> > > Daniel
> >
> >
> >
> > .
> >
> >
> > <http://geo.yahoo <http://geo.yahoo.com/serv?> com/serv?
> s=97359714/grpId=20369/grpspId=1705007181/msgId=6
> > 7391/stime=1217336470/nc1=3848578/nc2=5191952/nc3=3848642>
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I'm looking for a part search adapter that will give me the parent part
number and its children. The table in Vantage is PartMtl but I can't find
an adapter to use within my customizations that give me this information.
Does anyone know what adapter I could use? Thanks,


Daniel





[Non-text portions of this message have been removed]
BomSearchAdapter ?

supply parent, rev, and how you want tree exploded

--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>
> I'm looking for a part search adapter that will give me the parent
part
> number and its children. The table in Vantage is PartMtl but I
can't find
> an adapter to use within my customizations that give me this
information.
> Does anyone know what adapter I could use? Thanks,
>
>
> Daniel
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I tried using SearchFunctions.ListLookup(oTrans, "BomSearchAdapter",
recselected, false, whereclause) like I get information for all the other
adapters, but the BomSeachAdapter errors out. If I leave all my code the
same, but change the BomSearchAdapter to PartAdapter, it works just fine.
Have you had this problem? I'm using Vantage 8.03.404b. Thanks,



Daniel

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Tuesday, July 29, 2008 9:01 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: PartMtl Search Adapter



BomSearchAdapter ?

supply parent, rev, and how you want tree exploded

--- In vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com, "Daniel
Laidig" <daniellaidig@...>
wrote:
>
> I'm looking for a part search adapter that will give me the parent
part
> number and its children. The table in Vantage is PartMtl but I
can't find
> an adapter to use within my customizations that give me this
information.
> Does anyone know what adapter I could use? Thanks,
>
>
> Daniel



.


<http://geo.yahoo.com/serv?s=97359714/grpId=20369/grpspId=1705007181/msgId=6
7391/stime=1217336470/nc1=3848578/nc2=5191952/nc3=3848642>




[Non-text portions of this message have been removed]
You will not be able to use the list lookup function for that adapter.

If you have installed the BL Tester tool, try using the
Epicor.Mfg.BO.BomSearch.dll to see what parameters it requires, and
if it returns the data you are looking for.

If you havent installed the tool, it should be located under the
utilities folder \\<server>\epicor\mfgsys803\utilities\BL_tester

--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>
> I tried using SearchFunctions.ListLookup(oTrans, "BomSearchAdapter",
> recselected, false, whereclause) like I get information for all the
other
> adapters, but the BomSeachAdapter errors out. If I leave all my
code the
> same, but change the BomSearchAdapter to PartAdapter, it works just
fine.
> Have you had this problem? I'm using Vantage 8.03.404b. Thanks,
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> bw2868bond
> Sent: Tuesday, July 29, 2008 9:01 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: PartMtl Search Adapter
>
>
>
> BomSearchAdapter ?
>
> supply parent, rev, and how you want tree exploded
>
> --- In vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com, "Daniel
> Laidig" <daniellaidig@>
> wrote:
> >
> > I'm looking for a part search adapter that will give me the
parent
> part
> > number and its children. The table in Vantage is PartMtl but I
> can't find
> > an adapter to use within my customizations that give me this
> information.
> > Does anyone know what adapter I could use? Thanks,
> >
> >
> > Daniel
>
>
>
> .
>
>
> <http://geo.yahoo.com/serv?
s=97359714/grpId=20369/grpspId=1705007181/msgId=6
> 7391/stime=1217336470/nc1=3848578/nc2=5191952/nc3=3848642>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Thanks, that's very useful.



Daniel

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Tuesday, July 29, 2008 9:51 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: PartMtl Search Adapter



You will not be able to use the list lookup function for that adapter.

If you have installed the BL Tester tool, try using the
Epicor.Mfg.BO.BomSearch.dll to see what parameters it requires, and
if it returns the data you are looking for.

If you havent installed the tool, it should be located under the
utilities folder \\<server>\epicor\mfgsys803\utilities\BL_tester

--- In vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com, "Daniel
Laidig" <daniellaidig@...>
wrote:
>
> I tried using SearchFunctions.ListLookup(oTrans, "BomSearchAdapter",
> recselected, false, whereclause) like I get information for all the
other
> adapters, but the BomSeachAdapter errors out. If I leave all my
code the
> same, but change the BomSearchAdapter to PartAdapter, it works just
fine.
> Have you had this problem? I'm using Vantage 8.03.404b. Thanks,
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of
> bw2868bond
> Sent: Tuesday, July 29, 2008 9:01 AM
> To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> Subject: [Vantage] Re: PartMtl Search Adapter
>
>
>
> BomSearchAdapter ?
>
> supply parent, rev, and how you want tree exploded
>
> --- In vantage@yahoogroups <mailto:vantage%
40yahoogroups.com> .com, "Daniel
> Laidig" <daniellaidig@>
> wrote:
> >
> > I'm looking for a part search adapter that will give me the
parent
> part
> > number and its children. The table in Vantage is PartMtl but I
> can't find
> > an adapter to use within my customizations that give me this
> information.
> > Does anyone know what adapter I could use? Thanks,
> >
> >
> > Daniel
>
>
>
> .
>
>
> <http://geo.yahoo <http://geo.yahoo.com/serv?> com/serv?
s=97359714/grpId=20369/grpspId=1705007181/msgId=6
> 7391/stime=1217336470/nc1=3848578/nc2=5191952/nc3=3848642>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]