DB not updating after data directive

I am executing ABL code through a data directive which is triggered when a new attachment is added to a material. The ABL code is writing the data to user defined fields in the JobMtl table, but the data is not available until I manually hit refresh on the standard toolbar, or reload the job. Is there a way to get the dataview to update after the ABL code has executed? I havent visited this in awhile and still at a standstill.

Thanks in advance,
Ted

--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> I'm not sure which notification i should run my code with, I only want to send an email if an attachment has been added. I had tried edvAutoAttachJobMtlAttchOperationMaterial_EpiViewNotification, edvAutoAttachJobOperAttchOperation_EpiViewNotification, edvAutoAttachJobMtlAttchMaterial_EpiViewNotification. None of which did anything.
>
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, September 29, 2011 9:29 AM
> Subject: Re: [Vantage] DB not updating after data directive
>
> Try running your code on a notification instead of a method call. If that
> doesn't work, we probably need to see the rest of the code to figure out
> what's up.
>
> On Thu, Sep 29, 2011 at 9:25 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I had tried that before you posted and it didn't do anything different.
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, September 29, 2011 9:16 AM
> >
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> > Oops! My fault, try this:
> > rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.Row, rsJobMtl.Column))
> >
> > On Thu, Sep 29, 2011 at 9:11 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > It fails to compile this, Row is not a member of System.Data.DataView
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Thursday, September 29, 2011 9:00 AM
> > >
> > > Subject: Re: [Vantage] DB not updating after data directive
> > >
> > > Try this:
> > > rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
> > > rsJobMtl.Column));
> > >
> > > On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > >
> > > >
> > > >
> > > > I have tried using this to notify the dataview. I am using the JobHead
> > > > table because I had started to use the character fields there to save
> > the
> > > > temp data.
> > > >
> > > >Â Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> > > > EpiDataView)
> > > >Â rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> > > > rsJobMtl.Column))
> > > >
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Wednesday, September 28, 2011 11:44 AM
> > > >
> > > > Subject: Re: [Vantage] DB not updating after data directive
> > > >
> > > > Are you notifying the dataview of the changes?
> > > >
> > > > On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
> > > >
> > > > > **
> > > >
> > > > >
> > > > >
> > > > > I placed the code before the GetNewJobMtlAttch method and it is still
> > > > > producing the same results. The email code I am executing is actually
> > > in
> > > > a
> > > > > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am
> > > only
> > > > > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > > > > filename from the XFileAttch table and transferring it to a UD table
> > > > which
> > > > > works fine. It seems like it doesn't commit the new data in time for
> > > the
> > > > > dataview to see it. Just the previous attachment information is
> > pulled
> > > in
> > > > > each time.
> > > > >
> > > > > ________________________________
> > > > > From: Waffqle <waffqle@...>
> > > > > To: vantage@yahoogroups.com
> > > > > Sent: Wednesday, September 28, 2011 9:12 AM
> > > > > Subject: Re: [Vantage] DB not updating after data directive
> > > > >
> > > > >
> > > > > Run it before the method.
> > > > >
> > > > > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Good Morning,
> > > > > >
> > > > > > I have been trying to create a workflow to allow the sending of
> > > > > attachment
> > > > > > information when an attachment is added to a job material. I have
> > all
> > > > the
> > > > > > code wrote for it, the only problem I am having is with the data
> > > > > directive
> > > > > > to store information from the XFileAttch table so it is available
> > to
> > > > me.
> > > > > I
> > > > > > am executing some ABL code to store XFileAttch values in
> > > Character01-04
> > > > > on a
> > > > > > UD table. It picks up the data I want, but not until I do a refresh
> > > on
> > > > > the
> > > > > > form. Is there a way around this refresh step so the data will be
> > > > > available
> > > > > > right after the ABL code has executed, or even code to force the
> > form
> > > > to
> > > > > > refresh? Currently when it is sendng the email, it is sending the
> > > data
> > > > > from
> > > > > > the last previous added attachment, not the current attachment.
> > Also,
> > > I
> > > > > am
> > > > > > executing the code to send the email after the GetNewJobMtlAttch
> > > method
> > > > > on
> > > > > > the JobEntry BO.
> > > > > >
> > > > > > Thanks,
> > > > > > 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]
>
Good Morning,

I have been trying to create a workflow to allow the sending of attachment information when an attachment is added to a job material. I have all the code wrote for it, the only problem I am having is with the data directive to store information from the XFileAttch table so it is available to me. I am executing some ABL code to store XFileAttch values in Character01-04 on a UD table. It picks up the data I want, but not until I do a refresh on the form. Is there a way around this refresh step so the data will be available right after the ABL code has executed, or even code to force the form to refresh? Currently when it is sendng the email, it is sending the data from the last previous added attachment, not the current attachment. Also, I am executing the code to send the email after the GetNewJobMtlAttch method on the JobEntry BO.

Thanks,
Ted
Run it before the method.

On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:

> **
>
>
> Good Morning,
>
> I have been trying to create a workflow to allow the sending of attachment
> information when an attachment is added to a job material. I have all the
> code wrote for it, the only problem I am having is with the data directive
> to store information from the XFileAttch table so it is available to me. I
> am executing some ABL code to store XFileAttch values in Character01-04 on a
> UD table. It picks up the data I want, but not until I do a refresh on the
> form. Is there a way around this refresh step so the data will be available
> right after the ABL code has executed, or even code to force the form to
> refresh? Currently when it is sendng the email, it is sending the data from
> the last previous added attachment, not the current attachment. Also, I am
> executing the code to send the email after the GetNewJobMtlAttch method on
> the JobEntry BO.
>
> Thanks,
> 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 placed the code before the GetNewJobMtlAttch method and it is still producing the same results. The email code I am executing is actually in a customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am only using a BPM data directive to get the Job Number, Asm, and MtlSeq and filename from the XFileAttch table and transferring it to a UD table which works fine. It seems like it doesn't commit the new data in time for the dataview to see it. Just the previous attachment information is pulled in each time.



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Wednesday, September 28, 2011 9:12 AM
Subject: Re: [Vantage] DB not updating after data directive

Run it before the method.

On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:

> **
>
>
> Good Morning,
>
> I have been trying to create a workflow to allow the sending of attachment
> information when an attachment is added to a job material. I have all the
> code wrote for it, the only problem I am having is with the data directive
> to store information from the XFileAttch table so it is available to me. I
> am executing some ABL code to store XFileAttch values in Character01-04 on a
> UD table. It picks up the data I want, but not until I do a refresh on the
> form. Is there a way around this refresh step so the data will be available
> right after the ABL code has executed, or even code to force the form to
> refresh? Currently when it is sendng the email, it is sending the data from
> the last previous added attachment, not the current attachment. Also, I am
> executing the code to send the email after the GetNewJobMtlAttch method on
> the JobEntry BO.
>
> Thanks,
> 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]
Are you notifying the dataview of the changes?

On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I placed the code before the GetNewJobMtlAttch method and it is still
> producing the same results. The email code I am executing is actually in a
> customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am only
> using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> filename from the XFileAttch table and transferring it to a UD table which
> works fine. It seems like it doesn't commit the new data in time for the
> dataview to see it. Just the previous attachment information is pulled in
> each time.
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Wednesday, September 28, 2011 9:12 AM
> Subject: Re: [Vantage] DB not updating after data directive
>
>
> Run it before the method.
>
> On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
>
> > **
> >
> >
> > Good Morning,
> >
> > I have been trying to create a workflow to allow the sending of
> attachment
> > information when an attachment is added to a job material. I have all the
> > code wrote for it, the only problem I am having is with the data
> directive
> > to store information from the XFileAttch table so it is available to me.
> I
> > am executing some ABL code to store XFileAttch values in Character01-04
> on a
> > UD table. It picks up the data I want, but not until I do a refresh on
> the
> > form. Is there a way around this refresh step so the data will be
> available
> > right after the ABL code has executed, or even code to force the form to
> > refresh? Currently when it is sendng the email, it is sending the data
> from
> > the last previous added attachment, not the current attachment. Also, I
> am
> > executing the code to send the email after the GetNewJobMtlAttch method
> on
> > the JobEntry BO.
> >
> > Thanks,
> > 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]
I have tried using this to notify the dataview. I am using the JobHead table because I had started to use the character fields there to save the temp data.
Â
  Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"), EpiDataView)
  rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count, rsJobMtl.Column))


________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Wednesday, September 28, 2011 11:44 AM
Subject: Re: [Vantage] DB not updating after data directive

Are you notifying the dataview of the changes?

On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I placed the code before the GetNewJobMtlAttch method and it is still
> producing the same results. The email code I am executing is actually in a
> customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am only
> using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> filename from the XFileAttch table and transferring it to a UD table which
> works fine. It seems like it doesn't commit the new data in time for the
> dataview to see it. Just the previous attachment information is pulled in
> each time.
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Wednesday, September 28, 2011 9:12 AM
> Subject: Re: [Vantage] DB not updating after data directive
>
>
> Run it before the method.
>
> On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
>
> > **
> >
> >
> > Good Morning,
> >
> > I have been trying to create a workflow to allow the sending of
> attachment
> > information when an attachment is added to a job material. I have all the
> > code wrote for it, the only problem I am having is with the data
> directive
> > to store information from the XFileAttch table so it is available to me.
> I
> > am executing some ABL code to store XFileAttch values in Character01-04
> on a
> > UD table. It picks up the data I want, but not until I do a refresh on
> the
> > form. Is there a way around this refresh step so the data will be
> available
> > right after the ABL code has executed, or even code to force the form to
> > refresh? Currently when it is sendng the email, it is sending the data
> from
> > the last previous added attachment, not the current attachment. Also, I
> am
> > executing the code to send the email after the GetNewJobMtlAttch method
> on
> > the JobEntry BO.
> >
> > Thanks,
> > 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]
Try this:
rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
rsJobMtl.Column));

On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I have tried using this to notify the dataview. I am using the JobHead
> table because I had started to use the character fields there to save the
> temp data.
>
> Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> EpiDataView)
> rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> rsJobMtl.Column))
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Wednesday, September 28, 2011 11:44 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Are you notifying the dataview of the changes?
>
> On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > I placed the code before the GetNewJobMtlAttch method and it is still
> > producing the same results. The email code I am executing is actually in
> a
> > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am only
> > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > filename from the XFileAttch table and transferring it to a UD table
> which
> > works fine. It seems like it doesn't commit the new data in time for the
> > dataview to see it. Just the previous attachment information is pulled in
> > each time.
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Wednesday, September 28, 2011 9:12 AM
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> >
> > Run it before the method.
> >
> > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Good Morning,
> > >
> > > I have been trying to create a workflow to allow the sending of
> > attachment
> > > information when an attachment is added to a job material. I have all
> the
> > > code wrote for it, the only problem I am having is with the data
> > directive
> > > to store information from the XFileAttch table so it is available to
> me.
> > I
> > > am executing some ABL code to store XFileAttch values in Character01-04
> > on a
> > > UD table. It picks up the data I want, but not until I do a refresh on
> > the
> > > form. Is there a way around this refresh step so the data will be
> > available
> > > right after the ABL code has executed, or even code to force the form
> to
> > > refresh? Currently when it is sendng the email, it is sending the data
> > from
> > > the last previous added attachment, not the current attachment. Also, I
> > am
> > > executing the code to send the email after the GetNewJobMtlAttch method
> > on
> > > the JobEntry BO.
> > >
> > > Thanks,
> > > 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]
It fails to compile this, Row is not a member of System.Data.DataView



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, September 29, 2011 9:00 AM
Subject: Re: [Vantage] DB not updating after data directive

Try this:
rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
rsJobMtl.Column));

On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I have tried using this to notify the dataview. I am using the JobHead
> table because I had started to use the character fields there to save the
> temp data.
>
>Â Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> EpiDataView)
>Â rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> rsJobMtl.Column))
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Wednesday, September 28, 2011 11:44 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Are you notifying the dataview of the changes?
>
> On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > I placed the code before the GetNewJobMtlAttch method and it is still
> > producing the same results. The email code I am executing is actually in
> a
> > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am only
> > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > filename from the XFileAttch table and transferring it to a UD table
> which
> > works fine. It seems like it doesn't commit the new data in time for the
> > dataview to see it. Just the previous attachment information is pulled in
> > each time.
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Wednesday, September 28, 2011 9:12 AM
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> >
> > Run it before the method.
> >
> > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > Good Morning,
> > >
> > > I have been trying to create a workflow to allow the sending of
> > attachment
> > > information when an attachment is added to a job material. I have all
> the
> > > code wrote for it, the only problem I am having is with the data
> > directive
> > > to store information from the XFileAttch table so it is available to
> me.
> > I
> > > am executing some ABL code to store XFileAttch values in Character01-04
> > on a
> > > UD table. It picks up the data I want, but not until I do a refresh on
> > the
> > > form. Is there a way around this refresh step so the data will be
> > available
> > > right after the ABL code has executed, or even code to force the form
> to
> > > refresh? Currently when it is sendng the email, it is sending the data
> > from
> > > the last previous added attachment, not the current attachment. Also, I
> > am
> > > executing the code to send the email after the GetNewJobMtlAttch method
> > on
> > > the JobEntry BO.
> > >
> > > Thanks,
> > > 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]
Oops! My fault, try this:
rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.Row, rsJobMtl.Column))

On Thu, Sep 29, 2011 at 9:11 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> It fails to compile this, Row is not a member of System.Data.DataView
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, September 29, 2011 9:00 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Try this:
> rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
> rsJobMtl.Column));
>
> On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > I have tried using this to notify the dataview. I am using the JobHead
> > table because I had started to use the character fields there to save the
> > temp data.
> >
> > Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> > EpiDataView)
> > rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> > rsJobMtl.Column))
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Wednesday, September 28, 2011 11:44 AM
> >
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> > Are you notifying the dataview of the changes?
> >
> > On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > I placed the code before the GetNewJobMtlAttch method and it is still
> > > producing the same results. The email code I am executing is actually
> in
> > a
> > > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am
> only
> > > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > > filename from the XFileAttch table and transferring it to a UD table
> > which
> > > works fine. It seems like it doesn't commit the new data in time for
> the
> > > dataview to see it. Just the previous attachment information is pulled
> in
> > > each time.
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Wednesday, September 28, 2011 9:12 AM
> > > Subject: Re: [Vantage] DB not updating after data directive
> > >
> > >
> > > Run it before the method.
> > >
> > > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Good Morning,
> > > >
> > > > I have been trying to create a workflow to allow the sending of
> > > attachment
> > > > information when an attachment is added to a job material. I have all
> > the
> > > > code wrote for it, the only problem I am having is with the data
> > > directive
> > > > to store information from the XFileAttch table so it is available to
> > me.
> > > I
> > > > am executing some ABL code to store XFileAttch values in
> Character01-04
> > > on a
> > > > UD table. It picks up the data I want, but not until I do a refresh
> on
> > > the
> > > > form. Is there a way around this refresh step so the data will be
> > > available
> > > > right after the ABL code has executed, or even code to force the form
> > to
> > > > refresh? Currently when it is sendng the email, it is sending the
> data
> > > from
> > > > the last previous added attachment, not the current attachment. Also,
> I
> > > am
> > > > executing the code to send the email after the GetNewJobMtlAttch
> method
> > > on
> > > > the JobEntry BO.
> > > >
> > > > Thanks,
> > > > 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 had tried that before you posted and it didn't do anything different.



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, September 29, 2011 9:16 AM
Subject: Re: [Vantage] DB not updating after data directive

Oops! My fault, try this:
rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.Row, rsJobMtl.Column))

On Thu, Sep 29, 2011 at 9:11 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> It fails to compile this, Row is not a member of System.Data.DataView
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, September 29, 2011 9:00 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Try this:
> rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
> rsJobMtl.Column));
>
> On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > I have tried using this to notify the dataview. I am using the JobHead
> > table because I had started to use the character fields there to save the
> > temp data.
> >
> >Â Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> > EpiDataView)
> >Â rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> > rsJobMtl.Column))
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Wednesday, September 28, 2011 11:44 AM
> >
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> > Are you notifying the dataview of the changes?
> >
> > On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > I placed the code before the GetNewJobMtlAttch method and it is still
> > > producing the same results. The email code I am executing is actually
> in
> > a
> > > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am
> only
> > > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > > filename from the XFileAttch table and transferring it to a UD table
> > which
> > > works fine. It seems like it doesn't commit the new data in time for
> the
> > > dataview to see it. Just the previous attachment information is pulled
> in
> > > each time.
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Wednesday, September 28, 2011 9:12 AM
> > > Subject: Re: [Vantage] DB not updating after data directive
> > >
> > >
> > > Run it before the method.
> > >
> > > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Good Morning,
> > > >
> > > > I have been trying to create a workflow to allow the sending of
> > > attachment
> > > > information when an attachment is added to a job material. I have all
> > the
> > > > code wrote for it, the only problem I am having is with the data
> > > directive
> > > > to store information from the XFileAttch table so it is available to
> > me.
> > > I
> > > > am executing some ABL code to store XFileAttch values in
> Character01-04
> > > on a
> > > > UD table. It picks up the data I want, but not until I do a refresh
> on
> > > the
> > > > form. Is there a way around this refresh step so the data will be
> > > available
> > > > right after the ABL code has executed, or even code to force the form
> > to
> > > > refresh? Currently when it is sendng the email, it is sending the
> data
> > > from
> > > > the last previous added attachment, not the current attachment. Also,
> I
> > > am
> > > > executing the code to send the email after the GetNewJobMtlAttch
> method
> > > on
> > > > the JobEntry BO.
> > > >
> > > > Thanks,
> > > > 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]
Try running your code on a notification instead of a method call. If that
doesn't work, we probably need to see the rest of the code to figure out
what's up.

On Thu, Sep 29, 2011 at 9:25 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I had tried that before you posted and it didn't do anything different.
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, September 29, 2011 9:16 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Oops! My fault, try this:
> rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.Row, rsJobMtl.Column))
>
> On Thu, Sep 29, 2011 at 9:11 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > It fails to compile this, Row is not a member of System.Data.DataView
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, September 29, 2011 9:00 AM
> >
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> > Try this:
> > rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
> > rsJobMtl.Column));
> >
> > On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > I have tried using this to notify the dataview. I am using the JobHead
> > > table because I had started to use the character fields there to save
> the
> > > temp data.
> > >
> > > Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> > > EpiDataView)
> > > rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> > > rsJobMtl.Column))
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Wednesday, September 28, 2011 11:44 AM
> > >
> > > Subject: Re: [Vantage] DB not updating after data directive
> > >
> > > Are you notifying the dataview of the changes?
> > >
> > > On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > >
> > > >
> > > >
> > > > I placed the code before the GetNewJobMtlAttch method and it is still
> > > > producing the same results. The email code I am executing is actually
> > in
> > > a
> > > > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am
> > only
> > > > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > > > filename from the XFileAttch table and transferring it to a UD table
> > > which
> > > > works fine. It seems like it doesn't commit the new data in time for
> > the
> > > > dataview to see it. Just the previous attachment information is
> pulled
> > in
> > > > each time.
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Wednesday, September 28, 2011 9:12 AM
> > > > Subject: Re: [Vantage] DB not updating after data directive
> > > >
> > > >
> > > > Run it before the method.
> > > >
> > > > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Good Morning,
> > > > >
> > > > > I have been trying to create a workflow to allow the sending of
> > > > attachment
> > > > > information when an attachment is added to a job material. I have
> all
> > > the
> > > > > code wrote for it, the only problem I am having is with the data
> > > > directive
> > > > > to store information from the XFileAttch table so it is available
> to
> > > me.
> > > > I
> > > > > am executing some ABL code to store XFileAttch values in
> > Character01-04
> > > > on a
> > > > > UD table. It picks up the data I want, but not until I do a refresh
> > on
> > > > the
> > > > > form. Is there a way around this refresh step so the data will be
> > > > available
> > > > > right after the ABL code has executed, or even code to force the
> form
> > > to
> > > > > refresh? Currently when it is sendng the email, it is sending the
> > data
> > > > from
> > > > > the last previous added attachment, not the current attachment.
> Also,
> > I
> > > > am
> > > > > executing the code to send the email after the GetNewJobMtlAttch
> > method
> > > > on
> > > > > the JobEntry BO.
> > > > >
> > > > > Thanks,
> > > > > 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]
I'm not sure which notification i should run my code with, I only want to send an email if an attachment has been added. I had tried edvAutoAttachJobMtlAttchOperationMaterial_EpiViewNotification, edvAutoAttachJobOperAttchOperation_EpiViewNotification, edvAutoAttachJobMtlAttchMaterial_EpiViewNotification. None of which did anything.



________________________________
From: Waffqle <waffqle@...>
To: vantage@yahoogroups.com
Sent: Thursday, September 29, 2011 9:29 AM
Subject: Re: [Vantage] DB not updating after data directive

Try running your code on a notification instead of a method call. If that
doesn't work, we probably need to see the rest of the code to figure out
what's up.

On Thu, Sep 29, 2011 at 9:25 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I had tried that before you posted and it didn't do anything different.
>
>
> ________________________________
> From: Waffqle <waffqle@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, September 29, 2011 9:16 AM
>
> Subject: Re: [Vantage] DB not updating after data directive
>
> Oops! My fault, try this:
> rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.Row, rsJobMtl.Column))
>
> On Thu, Sep 29, 2011 at 9:11 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > It fails to compile this, Row is not a member of System.Data.DataView
> >
> >
> > ________________________________
> > From: Waffqle <waffqle@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, September 29, 2011 9:00 AM
> >
> > Subject: Re: [Vantage] DB not updating after data directive
> >
> > Try this:
> > rsJobMtl.Notify(new EpiNotifyArgs(oTrans, rsJobMtl.dataView.Row,
> > rsJobMtl.Column));
> >
> > On Wed, Sep 28, 2011 at 1:05 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > I have tried using this to notify the dataview. I am using the JobHead
> > > table because I had started to use the character fields there to save
> the
> > > temp data.
> > >
> > >Â Dim rsJobMtl As EpiDataView = CType(oTrans.EpiDataViews("JobHead"),
> > > EpiDataView)
> > >Â rsJobMtl.Notify(New EpiNotifyArgs(oTrans, rsJobMtl.dataView.Count,
> > > rsJobMtl.Column))
> > >
> > >
> > > ________________________________
> > > From: Waffqle <waffqle@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Wednesday, September 28, 2011 11:44 AM
> > >
> > > Subject: Re: [Vantage] DB not updating after data directive
> > >
> > > Are you notifying the dataview of the changes?
> > >
> > > On Wed, Sep 28, 2011 at 10:44 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > >
> > > >
> > > >
> > > > I placed the code before the GetNewJobMtlAttch method and it is still
> > > > producing the same results. The email code I am executing is actually
> > in
> > > a
> > > > customization using sub oTrans_jobAdapter_BeforeAdapterMethod, I am
> > only
> > > > using a BPM data directive to get the Job Number, Asm, and MtlSeq and
> > > > filename from the XFileAttch table and transferring it to a UD table
> > > which
> > > > works fine. It seems like it doesn't commit the new data in time for
> > the
> > > > dataview to see it. Just the previous attachment information is
> pulled
> > in
> > > > each time.
> > > >
> > > > ________________________________
> > > > From: Waffqle <waffqle@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Wednesday, September 28, 2011 9:12 AM
> > > > Subject: Re: [Vantage] DB not updating after data directive
> > > >
> > > >
> > > > Run it before the method.
> > > >
> > > > On Wed, Sep 28, 2011 at 8:12 AM, tkoch77 <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Good Morning,
> > > > >
> > > > > I have been trying to create a workflow to allow the sending of
> > > > attachment
> > > > > information when an attachment is added to a job material. I have
> all
> > > the
> > > > > code wrote for it, the only problem I am having is with the data
> > > > directive
> > > > > to store information from the XFileAttch table so it is available
> to
> > > me.
> > > > I
> > > > > am executing some ABL code to store XFileAttch values in
> > Character01-04
> > > > on a
> > > > > UD table. It picks up the data I want, but not until I do a refresh
> > on
> > > > the
> > > > > form. Is there a way around this refresh step so the data will be
> > > > available
> > > > > right after the ABL code has executed, or even code to force the
> form
> > > to
> > > > > refresh? Currently when it is sendng the email, it is sending the
> > data
> > > > from
> > > > > the last previous added attachment, not the current attachment.
> Also,
> > I
> > > > am
> > > > > executing the code to send the email after the GetNewJobMtlAttch
> > method
> > > > on
> > > > > the JobEntry BO.
> > > > >
> > > > > Thanks,
> > > > > 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]