Nice, yeah I figured. Thanks for all of the help!
--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> LoL no, their manual sucks, it is on the website though. But it doesn't
> really cover stuff like this.
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *checkout my new blog <http://www.usdoingstuff.com> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
>
>
> On Fri, Aug 5, 2011 at 1:07 PM, sanfordm99 <sanfordm99@...> wrote:
>
> > **
> >
> >
> > Sweet, ClearDataSets was the main thing that did the trick. :) Thanks so
> > much. There is only 1 small UI issue, but it shouldn't be a big deal for me
> > to work out. So, is there a manual/pdf somewhere that is a developer
> > reference for all of this stuff? Perhaps on the epicore site?
> >
> > Thanks again,
> >
> > Mike
> >
> > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > >
> > > All right I wrote this form scratch and tested it this
> > >
> > > oTrans.ClearDataSets();
> > > UD01Adapter oTrans_adapter = (UD01Adapter
> > > )csm.TransAdaptersHT["oTrans_adapter"];
> > > oTrans_adapter.GetByID("monkeys","monkeys","monkeys","","");
> > > oTrans.NotifyAll(EpiTransaction.NotifyType.Initialize, edvUD01);
> > >
> > >
> > > its in C# but easy enough to translate.
> > >
> > > Good luck
> > >
> > > *Jose C Gomez*
> > > *Software Engineer*
> > > *
> > > *
> > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@
> > > http://www.josecgomez.com
> > > <http://www.linkedin.com/in/josecgomez> <
> > http://www.facebook.com/josegomez>
> > > <http://www.google.com/profiles/jose.gomez> <
> > http://www.twitter.com/joc85>
> > > <http://www.josecgomez.com/professional-resume/>
> > > <http://www.josecgomez.com/feed/>
> > > <http://www.usdoingstuff.com>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > >
> > >
> > > On Fri, Aug 5, 2011 at 12:09 PM, sanfordm99 <sanfordm99@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Yes, it does look weird, but basically the other 4 keys are used
> > elsewhere
> > > > and down the road the data gets merged... hence all 5 keys are used,
> > but I
> > > > can't overlap the keys or it will make the mapping harder.
> > > >
> > > > The GetByID gives the same result. I tried it again just now to make
> > sure.
> > > >
> > > >
> > > > Thanks,
> > > > Mike
> > > >
> > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > >
> > > > > You have records with all the first 4 Keys empty?
> > > > > Odd
> > > > >
> > > > > Try using get by ID instead of get Data.
> > > > >
> > > > > *Jose C Gomez*
> > > > > *Software Engineer*
> > > > > *
> > > > > *
> > > > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > > > *
> > > > > *T: 904.469.1524 mobile
> > > > > E: jose@
> > > > > http://www.josecgomez.com
> > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > http://www.facebook.com/josegomez>
> > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > http://www.twitter.com/joc85>
> > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > <http://www.josecgomez.com/feed/>
> > > > > <http://www.usdoingstuff.com>
> > > > >
> > > > > *Quis custodiet ipsos custodes?*
> > > > >
> > > > >
> > > > >
> > > > > On Fri, Aug 5, 2011 at 11:44 AM, sanfordm99 <sanfordm99@> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > I see, yes "calling" the clear button on the form would be the
> > desired
> > > > > > result. I am calling the notify method. Here is my current code.
> > > > > >
> > > > > > dim oTrans_UD101Adapter as UD101Adapter
> > > > > > dim edvUD101 as EpiDataView
> > > > > > edvUD101 = CType(oTrans.EpiDataViews("UD101"), EpiDataView)
> > > > > > oTrans_UD101Adapter = csm.TransAdaptersHT("oTrans_adapter")
> > > > > > oTrans_UD101Adapter.GetData("","","","",Key5)
> > > > > > edvUD101.Notify(new EpiNotifyArgs(oTrans,edvUD101.dataView.Count,
> > > > > > edvUD101.Column))
> > > > > > oTrans.NotifyAll
> > > > > >
> > > > > > Perhaps I am just missing something simple here. I am guessing that
> > I
> > > > don't
> > > > > > need both of those notify method either?
> > > > > >
> > > > > > Thanks,
> > > > > > Mike
> > > > > >
> > > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > > > >
> > > > > > > I meant the actual Clear Button to clear the form, Have you tried
> > > > > > Notifying
> > > > > > > the adapter when there is a change? on the dataview? As shown
> > below ?
> > > > > > >
> > > > > > > where edvThimePahs is the name of your data view.
> > > > > > > oTrans.NotifyAll(EpiTransaction.NotifyType.Initialize,
> > edvTimePhas);
> > > > > > >
> > > > > > >
> > > > > > > *Jose C Gomez*
> > > > > > > *Software Engineer*
> > > > > > > *
> > > > > > > *
> > > > > > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > > > > > *
> > > > > > > *T: 904.469.1524 mobile
> > > > > > > E: jose@
> > > > > > > http://www.josecgomez.com
> > > > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > > > http://www.facebook.com/josegomez>
> > > > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > > > http://www.twitter.com/joc85>
> > > > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > > > <http://www.josecgomez.com/feed/>
> > > > > > > <http://www.usdoingstuff.com>
> > > > > > >
> > > > > > > *Quis custodiet ipsos custodes?*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Fri, Aug 5, 2011 at 9:33 AM, sanfordm99 <sanfordm99@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > > > >
> > > > > > > >
> > > > > > > > Jose,
> > > > > > > >
> > > > > > > > I wanted to follow up on the "clear tool" that you mentioned.
> > Were
> > > > you
> > > > > > > > refering to the .Clear method on the adapter? I have tried
> > varoius
> > > > > > clear
> > > > > > > > type methods with no luck. Any enlightenment on this topic
> > would be
> > > > > > > > appreciated.
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Mike
> > > > > > > >
> > > > > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > > > > > >
> > > > > > > > > Oh the dreaded version 8 :-(
> > > > > > > > >
> > > > > > > > > Easiest thing (if you can call it easy) Would be to call the
> > > > clear
> > > > > > tool,
> > > > > > > > > then call Get By ID with our new key. However in 8 this is
> > more a
> > > > > > feat
> > > > > > > > than
> > > > > > > > > it should be. I'll see if I can throw something together for
> > you
> > > > in a
> > > > > > > > bit,
> > > > > > > > > but I am slammed today!
> > > > > > > > >
> > > > > > > > > On the for what is worth category, you could try something
> > like I
> > > > > > > > outlined
> > > > > > > > > here
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://www.usdoingstuff.com/2011/05/26/epicor-9-get-new-record-custom-code/
> > > > > > > > >
> > > > > > > > > Basically get the information you want to keep into some
> > > > variables
> > > > > > and
> > > > > > > > then
> > > > > > > > > call a GetNew passing it the new information you've stored in
> > > > > > variables.
> > > > > > > > >
> > > > > > > > > Say what you want to copy is Char1 -10 create a simple array
> > > > where
> > > > > > you
> > > > > > > > store
> > > > > > > > > it all then create a new record as shown, it will load in the
> > > > record
> > > > > > into
> > > > > > > > > the current form and all you have to do is plug in the
> > values.
> > > > > > > > >
> > > > > > > > > Hope this helps!
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks!
> > > > > > > > >
> > > > > > > > > *Jose C Gomez*
> > > > > > > > > *Software Engineer*
> > > > > > > > > *
> > > > > > > > > *
> > > > > > > > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > > > > > > > *
> > > > > > > > > *T: 904.469.1524 mobile
> > > > > > > > > E: jose@
> > > > > > > > > http://www.josecgomez.com
> > > > > > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > > > > > http://www.facebook.com/josegomez>
> > > > > > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > > > > > http://www.twitter.com/joc85>
> > > > > > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > > > > > <http://www.josecgomez.com/feed/>
> > > > > > > > > <http://www.usdoingstuff.com>
> > > > > > > > >
> > > > > > > > > *Quis custodiet ipsos custodes?*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Mon, Aug 1, 2011 at 3:52 PM, sanfordm99 <sanfordm99@>
> > wrote:
> > > > > > > > >
> > > > > > > > > > **
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Also, by the way, I am on version 8.03 if that makes a
> > > > difference.
> > > > > > Your
> > > > > > > > > > blog was useful too! Thanks.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- In vantage@yahoogroups.com, "sanfordm99" <sanfordm99@>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Thank you for the help. I have just tried this, but am
> > not
> > > > quite
> > > > > > > > there
> > > > > > > > > > yet. The List/explorer like view on the left updates and
> > shows
> > > > the
> > > > > > new
> > > > > > > > key.
> > > > > > > > > > The form doesn't seem to update. The datacontrol above now
> > has
> > > > 2
> > > > > > > > records in
> > > > > > > > > > it. I can use that to navigate to the new row. It seems
> > like I
> > > > need
> > > > > > to
> > > > > > > > clear
> > > > > > > > > > out the old data first? Any ideas?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Mike
> > > > > > > > > > >
> > > > > > > > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@>
> > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > If you have the new key simply call adapter.GetByID()
> > > > > > > > > > > > and then oTrans.NotifyAll();
> > > > > > > > > > > > *Jose C Gomez*
> > > > > > > > > > > > *Software Engineer*
> > > > > > > > > > > > *
> > > > > > > > > > > > *
> > > > > > > > > > > > *checkout my new blog <http://www.usdoingstuff.com> *
> > > > > > > > > > > > *
> > > > > > > > > > > > *T: 904.469.1524 mobile
> > > > > > > > > > > > E: jose@
> > > > > > > > > > > > http://www.josecgomez.com
> > > > > > > > > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > > > > > > > http://www.facebook.com/josegomez>
> > > > > > > > > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > > > > > > > http://www.twitter.com/joc85>
> > > > > > > > > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > > > > > > > > <http://www.josecgomez.com/feed/>
> > > > > > > > > > > > <http://www.usdoingstuff.com>
> > > > > > > > > > > >
> > > > > > > > > > > > *Quis custodiet ipsos custodes?*
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Aug 1, 2011 at 9:10 AM, sanfordm99 <sanfordm99@
> > >
> > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > **
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have a UD01 custom form that I am trying to load
> > > > > > "manually". My
> > > > > > > > > > process
> > > > > > > > > > > > > is the following:
> > > > > > > > > > > > >
> > > > > > > > > > > > > 1. The UD01 form is loaded and a user selects a
> > record
> > > > and/or
> > > > > > > > enters
> > > > > > > > > > some
> > > > > > > > > > > > > data.
> > > > > > > > > > > > > 2. The user if finished, but wants to make a second
> > copy.
> > > > > > > > > > > > > 3. I have provided a copy button which creates a new
> > > > > > duplicate
> > > > > > > > UD01
> > > > > > > > > > record
> > > > > > > > > > > > > with a new key.
> > > > > > > > > > > > > 4. I now wish to load this new record to the form,
> > > > replacing
> > > > > > what
> > > > > > > > is
> > > > > > > > > > > > > currently showing.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Does anyone know how to do this? I have been playing
> > > > around
> > > > > > with
> > > > > > > > some
> > > > > > > > > > > > > ideas, but haven't had much luck yet.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > Mike
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>