Epicor 9 Adapters

Okay, thanks a lot for your input. It hasn't gone to waste.



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 4:50 PM
Subject: Re: [Vantage] Epicor 9 Adapters

Yeah

On Thu, Aug 18, 2011 at 4:16 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> By run a trace, you mean enabling trace logging and looking over the
> output?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 3:55 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> Yeah. There is another document floating around that documents the BOs, but
> I honestly haven't looked at it much. By the time it was available, I'd
> already learned most of the hard way. It's generally easier/preferable to
> run a trace as opposed to building your own process.
>
> On Thu, Aug 18, 2011 at 3:53 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I've only been working with Epicor for about 2months, you're referring to
> > the ICE Tools handbook?
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 3:50 PM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > There are bits of info here and there across various documents. I don't
> > know
> > of any comprehensive source outside of this list. There is a
> customization
> > handbook. If you're already writing straight to the adapters, I'd wager
> > you've eclipsed the vast majority of what's in that book.
> >
> > If you want it, I think it's available on EpicWeb; that failing, your CAM
> > should be able to hook you up.
> >
> > On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Yes me too. I am very new to Epicor, still learning how some of the
> > coding
> > > works. Is there an Epicor dev book or anything like that with
> references
> > for
> > > some of this stuff?
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 2:08 PM
> > >
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > > Ah! I missed that! Glad you got it figured out.
> > >
> > > On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I figured out what my problem was, apparently the P in Project in
> > > > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> > > worked
> > > > fine. Before I did this oTrans_ProjectAdapter was returning nothing,
> > now
> > > it
> > > > returns the ProjectAdapter.
> > > >
> > > > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > > > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"),
> > ProjectAdapter)
> > > >
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Thursday, August 18, 2011 10:02 AM
> > > >
> > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > >
> > > > If I'm following correctly, you're running this code on the project
> > > screen.
> > > > If so, the problem is coming because you're creating a new adapter.
> > > What's
> > > > happening is that you ARE creating the new project, but because your
> > > > adapter
> > > > is not associated with the UI, nothing is updating.
> > > >
> > > > For this to work properly you need to use an adapter that is
> connected
> > to
> > > > the dataviews and such. While it's technically possible to do this
> with
> > a
> > > > new adapter; it is far and away easier to just use the existing
> Epicor
> > > > adapter. You can fetch it with the following code:
> > > >
> > > > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > > > "oTrans_adapter"];
> > > >
> > > > Obviously, that's for a quote but it should be pretty straight
> forward
> > to
> > > > switch it over to a project or what have you.
> > > >
> > > > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > I am passing a value from the quote form to the project form with
> > > > > launchformoptions.contextvalue. I would like when the page has
> loaded
> > > for
> > > > it
> > > > > to create a new project (what would happen if you clicked new on
> the
> > > > > standard toolbar) and then place that variable into the project ID
> > > > textbox.
> > > > > I'm okay up until the point of creating a new project using some
> > code,
> > > I
> > > > > used what was in the Object Explorer, but I'm guessing that has to
> be
> > > > > modified so it will create a new project?
> > > > >
> > > > > ________________________________
> > > > > From: Waffqle <waffqle@...>
> > > > > To: vantage@yahoogroups.com
> > > > > Sent: Thursday, August 18, 2011 9:24 AM
> > > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > > >
> > > > >
> > > > > Sure, we use them all the time?
> > > > >
> > > > > What are you expecting/wanting that code to do? Also, where are you
> > > > running
> > > > > it from?
> > > > >
> > > > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...>
> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Does anyone have experience with coding Epicor adapters? I can't
> > seem
> > > > to
> > > > > > get them to work. I want to create a new Project with code. So
> far
> > > this
> > > > > is
> > > > > > what I have, it doesn't give any errors, but it doesn't do
> > anything.
> > > > > >
> > > > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > > > ProjectAdapter(ProjectEntryForm)
> > > > > > oTrans_ProjectAdapter.BOConnect()
> > > > > >
> > > > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > > > >
> > > > > > oTrans_ProjectAdapter.Dispose()
> > > > > >
> > > > > > If anyone could help me understand this I would be very thankful.
> > > > > >
> > > > > > -Ted
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > *Waffqle Driggers*
> > > > >
> > > > > *High End Dev, System Design, Profit Drinking
> > > > > *
> > > > > *:: 904.962.2887*
> > > > > *:: waffqle@...*
> > > > > *:: NO FAXES*
> > > > >
> > > > > *
> > > > >
> > > > > *
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > > ------------------------------------
> > > > >
> > > > >
> > > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You
> > must
> > > > have
> > > > > already linked your email address to a yahoo id to enable access. )
> > > > > (1) To access the Files Section of our Yahoo!Group for Report
> Builder
> > > and
> > > > > Crystal Reports and other 'goodies', please goto:
> > > > > http://groups.yahoo.com/group/vantage/files/.
> > > > > (2) To search through old msg's goto:
> > > > > http://groups.yahoo.com/group/vantage/messages
> > > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > *Waffqle Driggers*
> > > > *High End Dev, System Design, Profit Drinking
> > > > *
> > > > *:: 904.962.2887*
> > > > *:: waffqle@...*
> > > > *:: NO FAXES*
> > > >
> > > > *
> > > >
> > > > *
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > ------------------------------------
> > > >
> > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You
> must
> > > have
> > > > already linked your email address to a yahoo id to enable access. )
> > > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and
> > > > Crystal Reports and other 'goodies', please goto:
> > > > http://groups.yahoo.com/group/vantage/files/.
> > > > (2) To search through old msg's goto:
> > > > http://groups.yahoo.com/group/vantage/messages
> > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Does anyone have experience with coding Epicor adapters? I can't seem to get them to work. I want to create a new Project with code. So far this is what I have, it doesn't give any errors, but it doesn't do anything.

Dim oTrans_ProjectAdapter As ProjectAdapter = New ProjectAdapter(ProjectEntryForm)
oTrans_ProjectAdapter.BOConnect()

Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()

oTrans_ProjectAdapter.Dispose()

If anyone could help me understand this I would be very thankful.

-Ted
Sure, we use them all the time?

What are you expecting/wanting that code to do? Also, where are you running
it from?

On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:

> **
>
>
> Does anyone have experience with coding Epicor adapters? I can't seem to
> get them to work. I want to create a new Project with code. So far this is
> what I have, it doesn't give any errors, but it doesn't do anything.
>
> Dim oTrans_ProjectAdapter As ProjectAdapter = New
> ProjectAdapter(ProjectEntryForm)
> oTrans_ProjectAdapter.BOConnect()
>
> Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
>
> oTrans_ProjectAdapter.Dispose()
>
> If anyone could help me understand this I would be very thankful.
>
> -Ted
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
I am passing a value from the quote form to the project form with launchformoptions.contextvalue. I would like when the page has loaded for it to create a new project (what would happen if you clicked new on the standard toolbar) and then place that variable into the project ID textbox. I'm okay up until the point of creating a new project using some code, I used what was in the Object Explorer, but I'm guessing that has to be modified so it will create a new project?



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 9:24 AM
Subject: Re: [Vantage] Epicor 9 Adapters

Sure, we use them all the time?

What are you expecting/wanting that code to do? Also, where are you running
it from?

On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:

> **
>
>
> Does anyone have experience with coding Epicor adapters? I can't seem to
> get them to work. I want to create a new Project with code. So far this is
> what I have, it doesn't give any errors, but it doesn't do anything.
>
> Dim oTrans_ProjectAdapter As ProjectAdapter = New
> ProjectAdapter(ProjectEntryForm)
> oTrans_ProjectAdapter.BOConnect()
>
> Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
>
> oTrans_ProjectAdapter.Dispose()
>
> If anyone could help me understand this I would be very thankful.
>
> -Ted
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
If I'm following correctly, you're running this code on the project screen.
If so, the problem is coming because you're creating a new adapter. What's
happening is that you ARE creating the new project, but because your adapter
is not associated with the UI, nothing is updating.

For this to work properly you need to use an adapter that is connected to
the dataviews and such. While it's technically possible to do this with a
new adapter; it is far and away easier to just use the existing Epicor
adapter. You can fetch it with the following code:

QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
"oTrans_adapter"];

Obviously, that's for a quote but it should be pretty straight forward to
switch it over to a project or what have you.

On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I am passing a value from the quote form to the project form with
> launchformoptions.contextvalue. I would like when the page has loaded for it
> to create a new project (what would happen if you clicked new on the
> standard toolbar) and then place that variable into the project ID textbox.
> I'm okay up until the point of creating a new project using some code, I
> used what was in the Object Explorer, but I'm guessing that has to be
> modified so it will create a new project?
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 9:24 AM
> Subject: Re: [Vantage] Epicor 9 Adapters
>
>
> Sure, we use them all the time?
>
> What are you expecting/wanting that code to do? Also, where are you running
> it from?
>
> On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
>
> > **
> >
> >
> > Does anyone have experience with coding Epicor adapters? I can't seem to
> > get them to work. I want to create a new Project with code. So far this
> is
> > what I have, it doesn't give any errors, but it doesn't do anything.
> >
> > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > ProjectAdapter(ProjectEntryForm)
> > oTrans_ProjectAdapter.BOConnect()
> >
> > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> >
> > oTrans_ProjectAdapter.Dispose()
> >
> > If anyone could help me understand this I would be very thankful.
> >
> > -Ted
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
Okay, so this is what I have now. I am currently testing this on a button and plan on moving it to page load after I have it. I tested and nothing happened, what I am expecting is for the form to behave exactly as if I were clicking new project on the toolbar, I click on the button and I get an error telling me "Object reference not set to an instance of an object". I am very new to this so I'm sorry in advance. Here is what I have so far under the button click on the project entry form. Thank you.


Dim oTrans_ProjectAdapter As ProjectAdapter

oTrans_ProjectAdapter = DirectCast(csm.TransAdaptersHT("oTrans_ProjectAdapter"), ProjectAdapter)
oTrans_ProjectAdapter.GetNewProject()


________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 10:02 AM
Subject: Re: [Vantage] Epicor 9 Adapters

If I'm following correctly, you're running this code on the project screen.
If so, the problem is coming because you're creating a new adapter. What's
happening is that you ARE creating the new project, but because your adapter
is not associated with the UI, nothing is updating.

For this to work properly you need to use an adapter that is connected to
the dataviews and such. While it's technically possible to do this with a
new adapter; it is far and away easier to just use the existing Epicor
adapter. You can fetch it with the following code:

QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
"oTrans_adapter"];

Obviously, that's for a quote but it should be pretty straight forward to
switch it over to a project or what have you.

On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I am passing a value from the quote form to the project form with
> launchformoptions.contextvalue. I would like when the page has loaded for it
> to create a new project (what would happen if you clicked new on the
> standard toolbar) and then place that variable into the project ID textbox.
> I'm okay up until the point of creating a new project using some code, I
> used what was in the Object Explorer, but I'm guessing that has to be
> modified so it will create a new project?
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 9:24 AM
> Subject: Re: [Vantage] Epicor 9 Adapters
>
>
> Sure, we use them all the time?
>
> What are you expecting/wanting that code to do? Also, where are you running
> it from?
>
> On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
>
> > **
> >
> >
> > Does anyone have experience with coding Epicor adapters? I can't seem to
> > get them to work. I want to create a new Project with code. So far this
> is
> > what I have, it doesn't give any errors, but it doesn't do anything.
> >
> > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > ProjectAdapter(ProjectEntryForm)
> > oTrans_ProjectAdapter.BOConnect()
> >
> > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> >
> > oTrans_ProjectAdapter.Dispose()
> >
> > If anyone could help me understand this I would be very thankful.
> >
> > -Ted
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
I figured out what my problem was, apparently the P in Project in ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it worked fine. Before I did this oTrans_ProjectAdapter was returning nothing, now it returns the ProjectAdapter.


Dim oTrans_ProjectAdapter As ProjectAdapter = DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"), ProjectAdapter)



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 10:02 AM
Subject: Re: [Vantage] Epicor 9 Adapters

If I'm following correctly, you're running this code on the project screen.
If so, the problem is coming because you're creating a new adapter. What's
happening is that you ARE creating the new project, but because your adapter
is not associated with the UI, nothing is updating.

For this to work properly you need to use an adapter that is connected to
the dataviews and such. While it's technically possible to do this with a
new adapter; it is far and away easier to just use the existing Epicor
adapter. You can fetch it with the following code:

QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
"oTrans_adapter"];

Obviously, that's for a quote but it should be pretty straight forward to
switch it over to a project or what have you.

On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I am passing a value from the quote form to the project form with
> launchformoptions.contextvalue. I would like when the page has loaded for it
> to create a new project (what would happen if you clicked new on the
> standard toolbar) and then place that variable into the project ID textbox.
> I'm okay up until the point of creating a new project using some code, I
> used what was in the Object Explorer, but I'm guessing that has to be
> modified so it will create a new project?
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 9:24 AM
> Subject: Re: [Vantage] Epicor 9 Adapters
>
>
> Sure, we use them all the time?
>
> What are you expecting/wanting that code to do? Also, where are you running
> it from?
>
> On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
>
> > **
> >
> >
> > Does anyone have experience with coding Epicor adapters? I can't seem to
> > get them to work. I want to create a new Project with code. So far this
> is
> > what I have, it doesn't give any errors, but it doesn't do anything.
> >
> > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > ProjectAdapter(ProjectEntryForm)
> > oTrans_ProjectAdapter.BOConnect()
> >
> > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> >
> > oTrans_ProjectAdapter.Dispose()
> >
> > If anyone could help me understand this I would be very thankful.
> >
> > -Ted
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Ah! I missed that! Glad you got it figured out.

On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I figured out what my problem was, apparently the P in Project in
> ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it worked
> fine. Before I did this oTrans_ProjectAdapter was returning nothing, now it
> returns the ProjectAdapter.
>
> Dim oTrans_ProjectAdapter As ProjectAdapter =
> DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"), ProjectAdapter)
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 10:02 AM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> If I'm following correctly, you're running this code on the project screen.
> If so, the problem is coming because you're creating a new adapter. What's
> happening is that you ARE creating the new project, but because your
> adapter
> is not associated with the UI, nothing is updating.
>
> For this to work properly you need to use an adapter that is connected to
> the dataviews and such. While it's technically possible to do this with a
> new adapter; it is far and away easier to just use the existing Epicor
> adapter. You can fetch it with the following code:
>
> QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> "oTrans_adapter"];
>
> Obviously, that's for a quote but it should be pretty straight forward to
> switch it over to a project or what have you.
>
> On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I am passing a value from the quote form to the project form with
> > launchformoptions.contextvalue. I would like when the page has loaded for
> it
> > to create a new project (what would happen if you clicked new on the
> > standard toolbar) and then place that variable into the project ID
> textbox.
> > I'm okay up until the point of creating a new project using some code, I
> > used what was in the Object Explorer, but I'm guessing that has to be
> > modified so it will create a new project?
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 9:24 AM
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> >
> > Sure, we use them all the time?
> >
> > What are you expecting/wanting that code to do? Also, where are you
> running
> > it from?
> >
> > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Does anyone have experience with coding Epicor adapters? I can't seem
> to
> > > get them to work. I want to create a new Project with code. So far this
> > is
> > > what I have, it doesn't give any errors, but it doesn't do anything.
> > >
> > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > ProjectAdapter(ProjectEntryForm)
> > > oTrans_ProjectAdapter.BOConnect()
> > >
> > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > >
> > > oTrans_ProjectAdapter.Dispose()
> > >
> > > If anyone could help me understand this I would be very thankful.
> > >
> > > -Ted
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> >
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
Yes me too. I am very new to Epicor, still learning how some of the coding works. Is there an Epicor dev book or anything like that with references for some of this stuff?



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 2:08 PM
Subject: Re: [Vantage] Epicor 9 Adapters

Ah! I missed that! Glad you got it figured out.

On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I figured out what my problem was, apparently the P in Project in
> ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it worked
> fine. Before I did this oTrans_ProjectAdapter was returning nothing, now it
> returns the ProjectAdapter.
>
> Dim oTrans_ProjectAdapter As ProjectAdapter =
> DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"), ProjectAdapter)
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 10:02 AM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> If I'm following correctly, you're running this code on the project screen.
> If so, the problem is coming because you're creating a new adapter. What's
> happening is that you ARE creating the new project, but because your
> adapter
> is not associated with the UI, nothing is updating.
>
> For this to work properly you need to use an adapter that is connected to
> the dataviews and such. While it's technically possible to do this with a
> new adapter; it is far and away easier to just use the existing Epicor
> adapter. You can fetch it with the following code:
>
> QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> "oTrans_adapter"];
>
> Obviously, that's for a quote but it should be pretty straight forward to
> switch it over to a project or what have you.
>
> On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I am passing a value from the quote form to the project form with
> > launchformoptions.contextvalue. I would like when the page has loaded for
> it
> > to create a new project (what would happen if you clicked new on the
> > standard toolbar) and then place that variable into the project ID
> textbox.
> > I'm okay up until the point of creating a new project using some code, I
> > used what was in the Object Explorer, but I'm guessing that has to be
> > modified so it will create a new project?
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 9:24 AM
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> >
> > Sure, we use them all the time?
> >
> > What are you expecting/wanting that code to do? Also, where are you
> running
> > it from?
> >
> > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Does anyone have experience with coding Epicor adapters? I can't seem
> to
> > > get them to work. I want to create a new Project with code. So far this
> > is
> > > what I have, it doesn't give any errors, but it doesn't do anything.
> > >
> > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > ProjectAdapter(ProjectEntryForm)
> > > oTrans_ProjectAdapter.BOConnect()
> > >
> > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > >
> > > oTrans_ProjectAdapter.Dispose()
> > >
> > > If anyone could help me understand this I would be very thankful.
> > >
> > > -Ted
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> >
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
There are bits of info here and there across various documents. I don't know
of any comprehensive source outside of this list. There is a customization
handbook. If you're already writing straight to the adapters, I'd wager
you've eclipsed the vast majority of what's in that book.

If you want it, I think it's available on EpicWeb; that failing, your CAM
should be able to hook you up.

On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Yes me too. I am very new to Epicor, still learning how some of the coding
> works. Is there an Epicor dev book or anything like that with references for
> some of this stuff?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 2:08 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> Ah! I missed that! Glad you got it figured out.
>
> On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I figured out what my problem was, apparently the P in Project in
> > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> worked
> > fine. Before I did this oTrans_ProjectAdapter was returning nothing, now
> it
> > returns the ProjectAdapter.
> >
> > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"), ProjectAdapter)
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 10:02 AM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > If I'm following correctly, you're running this code on the project
> screen.
> > If so, the problem is coming because you're creating a new adapter.
> What's
> > happening is that you ARE creating the new project, but because your
> > adapter
> > is not associated with the UI, nothing is updating.
> >
> > For this to work properly you need to use an adapter that is connected to
> > the dataviews and such. While it's technically possible to do this with a
> > new adapter; it is far and away easier to just use the existing Epicor
> > adapter. You can fetch it with the following code:
> >
> > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > "oTrans_adapter"];
> >
> > Obviously, that's for a quote but it should be pretty straight forward to
> > switch it over to a project or what have you.
> >
> > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I am passing a value from the quote form to the project form with
> > > launchformoptions.contextvalue. I would like when the page has loaded
> for
> > it
> > > to create a new project (what would happen if you clicked new on the
> > > standard toolbar) and then place that variable into the project ID
> > textbox.
> > > I'm okay up until the point of creating a new project using some code,
> I
> > > used what was in the Object Explorer, but I'm guessing that has to be
> > > modified so it will create a new project?
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 9:24 AM
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > >
> > > Sure, we use them all the time?
> > >
> > > What are you expecting/wanting that code to do? Also, where are you
> > running
> > > it from?
> > >
> > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Does anyone have experience with coding Epicor adapters? I can't seem
> > to
> > > > get them to work. I want to create a new Project with code. So far
> this
> > > is
> > > > what I have, it doesn't give any errors, but it doesn't do anything.
> > > >
> > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > ProjectAdapter(ProjectEntryForm)
> > > > oTrans_ProjectAdapter.BOConnect()
> > > >
> > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > >
> > > > oTrans_ProjectAdapter.Dispose()
> > > >
> > > > If anyone could help me understand this I would be very thankful.
> > > >
> > > > -Ted
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > >
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
I've only been working with Epicor for about 2months, you're referring to the ICE Tools handbook?



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 3:50 PM
Subject: Re: [Vantage] Epicor 9 Adapters

There are bits of info here and there across various documents. I don't know
of any comprehensive source outside of this list. There is a customization
handbook. If you're already writing straight to the adapters, I'd wager
you've eclipsed the vast majority of what's in that book.

If you want it, I think it's available on EpicWeb; that failing, your CAM
should be able to hook you up.

On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Yes me too. I am very new to Epicor, still learning how some of the coding
> works. Is there an Epicor dev book or anything like that with references for
> some of this stuff?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 2:08 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> Ah! I missed that! Glad you got it figured out.
>
> On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I figured out what my problem was, apparently the P in Project in
> > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> worked
> > fine. Before I did this oTrans_ProjectAdapter was returning nothing, now
> it
> > returns the ProjectAdapter.
> >
> > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"), ProjectAdapter)
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 10:02 AM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > If I'm following correctly, you're running this code on the project
> screen.
> > If so, the problem is coming because you're creating a new adapter.
> What's
> > happening is that you ARE creating the new project, but because your
> > adapter
> > is not associated with the UI, nothing is updating.
> >
> > For this to work properly you need to use an adapter that is connected to
> > the dataviews and such. While it's technically possible to do this with a
> > new adapter; it is far and away easier to just use the existing Epicor
> > adapter. You can fetch it with the following code:
> >
> > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > "oTrans_adapter"];
> >
> > Obviously, that's for a quote but it should be pretty straight forward to
> > switch it over to a project or what have you.
> >
> > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I am passing a value from the quote form to the project form with
> > > launchformoptions.contextvalue. I would like when the page has loaded
> for
> > it
> > > to create a new project (what would happen if you clicked new on the
> > > standard toolbar) and then place that variable into the project ID
> > textbox.
> > > I'm okay up until the point of creating a new project using some code,
> I
> > > used what was in the Object Explorer, but I'm guessing that has to be
> > > modified so it will create a new project?
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 9:24 AM
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > >
> > > Sure, we use them all the time?
> > >
> > > What are you expecting/wanting that code to do? Also, where are you
> > running
> > > it from?
> > >
> > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Does anyone have experience with coding Epicor adapters? I can't seem
> > to
> > > > get them to work. I want to create a new Project with code. So far
> this
> > > is
> > > > what I have, it doesn't give any errors, but it doesn't do anything.
> > > >
> > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > ProjectAdapter(ProjectEntryForm)
> > > > oTrans_ProjectAdapter.BOConnect()
> > > >
> > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > >
> > > > oTrans_ProjectAdapter.Dispose()
> > > >
> > > > If anyone could help me understand this I would be very thankful.
> > > >
> > > > -Ted
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > >
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Yeah. There is another document floating around that documents the BOs, but
I honestly haven't looked at it much. By the time it was available, I'd
already learned most of the hard way. It's generally easier/preferable to
run a trace as opposed to building your own process.

On Thu, Aug 18, 2011 at 3:53 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I've only been working with Epicor for about 2months, you're referring to
> the ICE Tools handbook?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 3:50 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> There are bits of info here and there across various documents. I don't
> know
> of any comprehensive source outside of this list. There is a customization
> handbook. If you're already writing straight to the adapters, I'd wager
> you've eclipsed the vast majority of what's in that book.
>
> If you want it, I think it's available on EpicWeb; that failing, your CAM
> should be able to hook you up.
>
> On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > Yes me too. I am very new to Epicor, still learning how some of the
> coding
> > works. Is there an Epicor dev book or anything like that with references
> for
> > some of this stuff?
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 2:08 PM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > Ah! I missed that! Glad you got it figured out.
> >
> > On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I figured out what my problem was, apparently the P in Project in
> > > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> > worked
> > > fine. Before I did this oTrans_ProjectAdapter was returning nothing,
> now
> > it
> > > returns the ProjectAdapter.
> > >
> > > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"),
> ProjectAdapter)
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 10:02 AM
> > >
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > > If I'm following correctly, you're running this code on the project
> > screen.
> > > If so, the problem is coming because you're creating a new adapter.
> > What's
> > > happening is that you ARE creating the new project, but because your
> > > adapter
> > > is not associated with the UI, nothing is updating.
> > >
> > > For this to work properly you need to use an adapter that is connected
> to
> > > the dataviews and such. While it's technically possible to do this with
> a
> > > new adapter; it is far and away easier to just use the existing Epicor
> > > adapter. You can fetch it with the following code:
> > >
> > > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > > "oTrans_adapter"];
> > >
> > > Obviously, that's for a quote but it should be pretty straight forward
> to
> > > switch it over to a project or what have you.
> > >
> > > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I am passing a value from the quote form to the project form with
> > > > launchformoptions.contextvalue. I would like when the page has loaded
> > for
> > > it
> > > > to create a new project (what would happen if you clicked new on the
> > > > standard toolbar) and then place that variable into the project ID
> > > textbox.
> > > > I'm okay up until the point of creating a new project using some
> code,
> > I
> > > > used what was in the Object Explorer, but I'm guessing that has to be
> > > > modified so it will create a new project?
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Thursday, August 18, 2011 9:24 AM
> > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > >
> > > >
> > > > Sure, we use them all the time?
> > > >
> > > > What are you expecting/wanting that code to do? Also, where are you
> > > running
> > > > it from?
> > > >
> > > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Does anyone have experience with coding Epicor adapters? I can't
> seem
> > > to
> > > > > get them to work. I want to create a new Project with code. So far
> > this
> > > > is
> > > > > what I have, it doesn't give any errors, but it doesn't do
> anything.
> > > > >
> > > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > > ProjectAdapter(ProjectEntryForm)
> > > > > oTrans_ProjectAdapter.BOConnect()
> > > > >
> > > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > > >
> > > > > oTrans_ProjectAdapter.Dispose()
> > > > >
> > > > > If anyone could help me understand this I would be very thankful.
> > > > >
> > > > > -Ted
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > *Waffqle Driggers*
> > > >
> > > > *High End Dev, System Design, Profit Drinking
> > > > *
> > > > *:: 904.962.2887*
> > > > *:: waffqle@...*
> > > > *:: NO FAXES*
> > > >
> > > > *
> > > >
> > > > *
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > ------------------------------------
> > > >
> > > >
> > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> must
> > > have
> > > > already linked your email address to a yahoo id to enable access. )
> > > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and
> > > > Crystal Reports and other 'goodies', please goto:
> > > > http://groups.yahoo.com/group/vantage/files/.
> > > > (2) To search through old msg's goto:
> > > > http://groups.yahoo.com/group/vantage/messages
> > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
By run a trace, you mean enabling trace logging and looking over the output?



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, August 18, 2011 3:55 PM
Subject: Re: [Vantage] Epicor 9 Adapters

Yeah. There is another document floating around that documents the BOs, but
I honestly haven't looked at it much. By the time it was available, I'd
already learned most of the hard way. It's generally easier/preferable to
run a trace as opposed to building your own process.

On Thu, Aug 18, 2011 at 3:53 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I've only been working with Epicor for about 2months, you're referring to
> the ICE Tools handbook?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 3:50 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> There are bits of info here and there across various documents. I don't
> know
> of any comprehensive source outside of this list. There is a customization
> handbook. If you're already writing straight to the adapters, I'd wager
> you've eclipsed the vast majority of what's in that book.
>
> If you want it, I think it's available on EpicWeb; that failing, your CAM
> should be able to hook you up.
>
> On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > Yes me too. I am very new to Epicor, still learning how some of the
> coding
> > works. Is there an Epicor dev book or anything like that with references
> for
> > some of this stuff?
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 2:08 PM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > Ah! I missed that! Glad you got it figured out.
> >
> > On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I figured out what my problem was, apparently the P in Project in
> > > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> > worked
> > > fine. Before I did this oTrans_ProjectAdapter was returning nothing,
> now
> > it
> > > returns the ProjectAdapter.
> > >
> > > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"),
> ProjectAdapter)
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 10:02 AM
> > >
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > > If I'm following correctly, you're running this code on the project
> > screen.
> > > If so, the problem is coming because you're creating a new adapter.
> > What's
> > > happening is that you ARE creating the new project, but because your
> > > adapter
> > > is not associated with the UI, nothing is updating.
> > >
> > > For this to work properly you need to use an adapter that is connected
> to
> > > the dataviews and such. While it's technically possible to do this with
> a
> > > new adapter; it is far and away easier to just use the existing Epicor
> > > adapter. You can fetch it with the following code:
> > >
> > > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > > "oTrans_adapter"];
> > >
> > > Obviously, that's for a quote but it should be pretty straight forward
> to
> > > switch it over to a project or what have you.
> > >
> > > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I am passing a value from the quote form to the project form with
> > > > launchformoptions.contextvalue. I would like when the page has loaded
> > for
> > > it
> > > > to create a new project (what would happen if you clicked new on the
> > > > standard toolbar) and then place that variable into the project ID
> > > textbox.
> > > > I'm okay up until the point of creating a new project using some
> code,
> > I
> > > > used what was in the Object Explorer, but I'm guessing that has to be
> > > > modified so it will create a new project?
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Thursday, August 18, 2011 9:24 AM
> > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > >
> > > >
> > > > Sure, we use them all the time?
> > > >
> > > > What are you expecting/wanting that code to do? Also, where are you
> > > running
> > > > it from?
> > > >
> > > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Does anyone have experience with coding Epicor adapters? I can't
> seem
> > > to
> > > > > get them to work. I want to create a new Project with code. So far
> > this
> > > > is
> > > > > what I have, it doesn't give any errors, but it doesn't do
> anything.
> > > > >
> > > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > > ProjectAdapter(ProjectEntryForm)
> > > > > oTrans_ProjectAdapter.BOConnect()
> > > > >
> > > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > > >
> > > > > oTrans_ProjectAdapter.Dispose()
> > > > >
> > > > > If anyone could help me understand this I would be very thankful.
> > > > >
> > > > > -Ted
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > *Waffqle Driggers*
> > > >
> > > > *High End Dev, System Design, Profit Drinking
> > > > *
> > > > *:: 904.962.2887*
> > > > *:: waffqle@...*
> > > > *:: NO FAXES*
> > > >
> > > > *
> > > >
> > > > *
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > ------------------------------------
> > > >
> > > >
> > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You
> must
> > > have
> > > > already linked your email address to a yahoo id to enable access. )
> > > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and
> > > > Crystal Reports and other 'goodies', please goto:
> > > > http://groups.yahoo.com/group/vantage/files/.
> > > > (2) To search through old msg's goto:
> > > > http://groups.yahoo.com/group/vantage/messages
> > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



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

On Thu, Aug 18, 2011 at 4:16 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> By run a trace, you mean enabling trace logging and looking over the
> output?
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, August 18, 2011 3:55 PM
>
> Subject: Re: [Vantage] Epicor 9 Adapters
>
> Yeah. There is another document floating around that documents the BOs, but
> I honestly haven't looked at it much. By the time it was available, I'd
> already learned most of the hard way. It's generally easier/preferable to
> run a trace as opposed to building your own process.
>
> On Thu, Aug 18, 2011 at 3:53 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I've only been working with Epicor for about 2months, you're referring to
> > the ICE Tools handbook?
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, August 18, 2011 3:50 PM
> >
> > Subject: Re: [Vantage] Epicor 9 Adapters
> >
> > There are bits of info here and there across various documents. I don't
> > know
> > of any comprehensive source outside of this list. There is a
> customization
> > handbook. If you're already writing straight to the adapters, I'd wager
> > you've eclipsed the vast majority of what's in that book.
> >
> > If you want it, I think it's available on EpicWeb; that failing, your CAM
> > should be able to hook you up.
> >
> > On Thu, Aug 18, 2011 at 3:45 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Yes me too. I am very new to Epicor, still learning how some of the
> > coding
> > > works. Is there an Epicor dev book or anything like that with
> references
> > for
> > > some of this stuff?
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, August 18, 2011 2:08 PM
> > >
> > > Subject: Re: [Vantage] Epicor 9 Adapters
> > >
> > > Ah! I missed that! Glad you got it figured out.
> > >
> > > On Thu, Aug 18, 2011 at 2:02 PM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I figured out what my problem was, apparently the P in Project in
> > > > ("oTrans_ProjectAdapter") needed to be lowercase. Once I did this it
> > > worked
> > > > fine. Before I did this oTrans_ProjectAdapter was returning nothing,
> > now
> > > it
> > > > returns the ProjectAdapter.
> > > >
> > > > Dim oTrans_ProjectAdapter As ProjectAdapter =
> > > > DirectCast(csm.TransAdaptersHT("oTrans_projectAdapter"),
> > ProjectAdapter)
> > > >
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Thursday, August 18, 2011 10:02 AM
> > > >
> > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > >
> > > > If I'm following correctly, you're running this code on the project
> > > screen.
> > > > If so, the problem is coming because you're creating a new adapter.
> > > What's
> > > > happening is that you ARE creating the new project, but because your
> > > > adapter
> > > > is not associated with the UI, nothing is updating.
> > > >
> > > > For this to work properly you need to use an adapter that is
> connected
> > to
> > > > the dataviews and such. While it's technically possible to do this
> with
> > a
> > > > new adapter; it is far and away easier to just use the existing
> Epicor
> > > > adapter. You can fetch it with the following code:
> > > >
> > > > QuoteAdapter oTrans_adapter = (QuoteAdapter)csm.TransAdaptersHT[
> > > > "oTrans_adapter"];
> > > >
> > > > Obviously, that's for a quote but it should be pretty straight
> forward
> > to
> > > > switch it over to a project or what have you.
> > > >
> > > > On Thu, Aug 18, 2011 at 9:31 AM, Ted Koch <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > I am passing a value from the quote form to the project form with
> > > > > launchformoptions.contextvalue. I would like when the page has
> loaded
> > > for
> > > > it
> > > > > to create a new project (what would happen if you clicked new on
> the
> > > > > standard toolbar) and then place that variable into the project ID
> > > > textbox.
> > > > > I'm okay up until the point of creating a new project using some
> > code,
> > > I
> > > > > used what was in the Object Explorer, but I'm guessing that has to
> be
> > > > > modified so it will create a new project?
> > > > >
> > > > > ________________________________
> > > > > From: Waffqle <waffqle@...>
> > > > > To: vantage@yahoogroups.com
> > > > > Sent: Thursday, August 18, 2011 9:24 AM
> > > > > Subject: Re: [Vantage] Epicor 9 Adapters
> > > > >
> > > > >
> > > > > Sure, we use them all the time?
> > > > >
> > > > > What are you expecting/wanting that code to do? Also, where are you
> > > > running
> > > > > it from?
> > > > >
> > > > > On Thu, Aug 18, 2011 at 8:25 AM, tkoch77 <tkoch77@...>
> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Does anyone have experience with coding Epicor adapters? I can't
> > seem
> > > > to
> > > > > > get them to work. I want to create a new Project with code. So
> far
> > > this
> > > > > is
> > > > > > what I have, it doesn't give any errors, but it doesn't do
> > anything.
> > > > > >
> > > > > > Dim oTrans_ProjectAdapter As ProjectAdapter = New
> > > > > > ProjectAdapter(ProjectEntryForm)
> > > > > > oTrans_ProjectAdapter.BOConnect()
> > > > > >
> > > > > > Dim NewProject As Boolean = oTrans_ProjectAdapter.GetNewProject()
> > > > > >
> > > > > > oTrans_ProjectAdapter.Dispose()
> > > > > >
> > > > > > If anyone could help me understand this I would be very thankful.
> > > > > >
> > > > > > -Ted
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > *Waffqle Driggers*
> > > > >
> > > > > *High End Dev, System Design, Profit Drinking
> > > > > *
> > > > > *:: 904.962.2887*
> > > > > *:: waffqle@...*
> > > > > *:: NO FAXES*
> > > > >
> > > > > *
> > > > >
> > > > > *
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > > ------------------------------------
> > > > >
> > > > >
> > > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> > must
> > > > have
> > > > > already linked your email address to a yahoo id to enable access. )
> > > > > (1) To access the Files Section of our Yahoo!Group for Report
> Builder
> > > and
> > > > > Crystal Reports and other 'goodies', please goto:
> > > > > http://groups.yahoo.com/group/vantage/files/.
> > > > > (2) To search through old msg's goto:
> > > > > http://groups.yahoo.com/group/vantage/messages
> > > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > *Waffqle Driggers*
> > > > *High End Dev, System Design, Profit Drinking
> > > > *
> > > > *:: 904.962.2887*
> > > > *:: waffqle@...*
> > > > *:: NO FAXES*
> > > >
> > > > *
> > > >
> > > > *
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > ------------------------------------
> > > >
> > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> must
> > > have
> > > > already linked your email address to a yahoo id to enable access. )
> > > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and
> > > > Crystal Reports and other 'goodies', please goto:
> > > > http://groups.yahoo.com/group/vantage/files/.
> > > > (2) To search through old msg's goto:
> > > > http://groups.yahoo.com/group/vantage/messages
> > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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