BAM Help Blank Title 53953

Have you set up your rules and conditions in the report data definition associated with the report you're trying to autoprint?

Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
[Description: cid:1.234354861@...]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of carl.heeder
Sent: Tuesday, June 12, 2012 5:21 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Help



I don't have much experience with BAM's and BAM reports.
I have one created and it fires sending the task to the System Monitor and then shows it in the History of tasks but nothing prints.

Any idea what's going wrong??



[Non-text portions of this message have been removed]
I've been trying to set up a BAM global alert/email to occur when our
receiving dept attempts to receive items on a PO that is unapproved.
I have no experience with BAM and from an earlier post I got some help
from another user who sent me some code he uses on his system. He is
using 6.1 however and I'm on 8.0 and his instructions didn't seem to
follow my version. So, I'm asking anyone with knowledge of how to
setup a global alert/email to help me with detailed instructions.
I've been fighting this for several days now and I'm stumped. There
is a little more to the story I'll be glad to tell to anyone willing
to help me.
Thanks,
Mike
--- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@...> wrote:
>
> I've been trying to set up a BAM global alert/email to occur when
our
> receiving dept attempts to receive items on a PO that is
unapproved.
> I have no experience with BAM and from an earlier post I got some
help
> from another user who sent me some code he uses on his system. He
is
> using 6.1 however and I'm on 8.0 and his instructions didn't seem
to
> follow my version. So, I'm asking anyone with knowledge of how to
> setup a global alert/email to help me with detailed instructions.
> I've been fighting this for several days now and I'm stumped.
There
> is a little more to the story I'll be glad to tell to anyone
willing
> to help me.
One way to use the BAM is to send an email, or update a csv file
when a field changes. If you want to perform some action on a
receipt, you need to select a field that will change when you make a
receipt. If you only want one action per receipt, not one for each
line, you would have to use the RcvHead file. Pick some field to
use so that when this field is populated, the information you need
is already in the database. Otherwise, it may perform the action you
want before any useful information has been filled in. I would
recommend the packing slip number. So you would send an email when
the Packing Slip > "". In your code, you would get the PO number
and through the POHeader file, check the ApprovalStatus. If it is
<> "A", then you would send the email. In the email you can include
the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and he
was very kind to send me samples of his work. I can send you some
sample code if you want.
> Thanks,
> Mike
>
Could you send me some sample code as well? I would really appreciate it.


> One way to use the BAM is to send an email, or update a csv file
> when a field changes. If you want to perform some action on a
> receipt, you need to select a field that will change when you make a
> receipt. If you only want one action per receipt, not one for each
> line, you would have to use the RcvHead file. Pick some field to
> use so that when this field is populated, the information you need
> is already in the database. Otherwise, it may perform the action you
> want before any useful information has been filled in. I would
> recommend the packing slip number. So you would send an email when
> the Packing Slip > "". In your code, you would get the PO number
> and through the POHeader file, check the ApprovalStatus. If it is
> <> "A", then you would send the email. In the email you can include
> the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and he
> was very kind to send me samples of his work. I can send you some
> sample code if you want.
--- In vantage@yahoogroups.com, "laidig.systems" <laidig.systems@...>
wrote:
>
> Could you send me some sample code as well? I would really
appreciate it.
I guess we can't send attachments over this system. If you will email
me at kfmonico@... I will get your complete email address.
Thank you for the kind comments "kfmonico".
I wouldn't call myself the guru, but I will be happy to help if I can be of
help as well.
My experience with 8.0 is very limited though. It's about to start ramping
up in the next couple of months.
Mike, what exactly are the goals of the project and what have been the
results so far?
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of
kfmonico
Sent: Friday, January 05, 2007 12:38 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BAM Help


--- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@...> wrote:
>
> I've been trying to set up a BAM global alert/email to occur when
our
> receiving dept attempts to receive items on a PO that is
unapproved.
> I have no experience with BAM and from an earlier post I got some
help
> from another user who sent me some code he uses on his system. He
is
> using 6.1 however and I'm on 8.0 and his instructions didn't seem
to
> follow my version. So, I'm asking anyone with knowledge of how to
> setup a global alert/email to help me with detailed instructions.
> I've been fighting this for several days now and I'm stumped.
There
> is a little more to the story I'll be glad to tell to anyone
willing
> to help me.
One way to use the BAM is to send an email, or update a csv file
when a field changes. If you want to perform some action on a
receipt, you need to select a field that will change when you make a
receipt. If you only want one action per receipt, not one for each
line, you would have to use the RcvHead file. Pick some field to
use so that when this field is populated, the information you need
is already in the database. Otherwise, it may perform the action you
want before any useful information has been filled in. I would
recommend the packing slip number. So you would send an email when
the Packing Slip > "". In your code, you would get the PO number
and through the POHeader file, check the ApprovalStatus. If it is
<> "A", then you would send the email. In the email you can include
the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and he
was very kind to send me samples of his work. I can send you some
sample code if you want.
> Thanks,
> Mike
>






[Non-text portions of this message have been removed]
I am trying to pop up a box at the time of receiving if the PO is
unapproved. We will sometimes issue a PO without knowing the cost
up front so the purchasing agent will leave it at zero. When the
items show up at the dock the receiving department will receive the
goods to the PO and that causes a problem in accounting. This is
what I'm trying to prevent. The code that another user sent me
looked exactly like what I want to do but I can't make it work. I
could really use some detailed help to do this thing if anyone would
be willing. So far, I have created a .p file with the code and
entered it onto the line for custom program on the BAM screen but it
doesn't work. Maybe I should be looking for another answer instead
of BAM.
Thanks,
Mike

> Mike, what exactly are the goals of the project and what have been
the
> results so far?
> Aaron Hoyt
> Vantage Plastics
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On
Behalf Of
> kfmonico
> Sent: Friday, January 05, 2007 12:38 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BAM Help
>
>
> --- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@> wrote:
> >
> > I've been trying to set up a BAM global alert/email to occur
when
> our
> > receiving dept attempts to receive items on a PO that is
> unapproved.
> > I have no experience with BAM and from an earlier post I got
some
> help
> > from another user who sent me some code he uses on his system.
He
> is
> > using 6.1 however and I'm on 8.0 and his instructions didn't
seem
> to
> > follow my version. So, I'm asking anyone with knowledge of how
to
> > setup a global alert/email to help me with detailed
instructions.
> > I've been fighting this for several days now and I'm stumped.
> There
> > is a little more to the story I'll be glad to tell to anyone
> willing
> > to help me.
> One way to use the BAM is to send an email, or update a csv file
> when a field changes. If you want to perform some action on a
> receipt, you need to select a field that will change when you
make a
> receipt. If you only want one action per receipt, not one for
each
> line, you would have to use the RcvHead file. Pick some field to
> use so that when this field is populated, the information you
need
> is already in the database. Otherwise, it may perform the action
you
> want before any useful information has been filled in. I would
> recommend the packing slip number. So you would send an email
when
> the Packing Slip > "". In your code, you would get the PO number
> and through the POHeader file, check the ApprovalStatus. If it is
> <> "A", then you would send the email. In the email you can
include
> the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and
he
> was very kind to send me samples of his work. I can send you some
> sample code if you want.
> > Thanks,
> > Mike
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Can you not write a customization. Use the POHeader table to find the
ApprovalStatus field. You could use wizards to create an event (ie.
upon save) to show your popup box. Your code under the event would be
something like:

If ApprovalStatus <> "A" Then
If ApprovalStatus = "R" Then
otrans.Undo()
Messagebox.Show("This PO has been rejected","Rejected PO")
Else
otrans.Undo()
Messagebox.Show("This PO is not yet approved","Unapproved PO")
End If
End If

If that's not what you are looking for, let me know, and i'll try to
understand what you want.

--- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@...> wrote:
>
> I am trying to pop up a box at the time of receiving if the PO is
> unapproved. We will sometimes issue a PO without knowing the cost
> up front so the purchasing agent will leave it at zero. When the
> items show up at the dock the receiving department will receive the
> goods to the PO and that causes a problem in accounting. This is
> what I'm trying to prevent. The code that another user sent me
> looked exactly like what I want to do but I can't make it work. I
> could really use some detailed help to do this thing if anyone would
> be willing. So far, I have created a .p file with the code and
> entered it onto the line for custom program on the BAM screen but it
> doesn't work. Maybe I should be looking for another answer instead
> of BAM.
> Thanks,
> Mike
>
> > Mike, what exactly are the goals of the project and what have been
> the
> > results so far?
> > Aaron Hoyt
> > Vantage Plastics
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On
> Behalf Of
> > kfmonico
> > Sent: Friday, January 05, 2007 12:38 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: BAM Help
> >
> >
> > --- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@> wrote:
> > >
> > > I've been trying to set up a BAM global alert/email to occur
> when
> > our
> > > receiving dept attempts to receive items on a PO that is
> > unapproved.
> > > I have no experience with BAM and from an earlier post I got
> some
> > help
> > > from another user who sent me some code he uses on his system.
> He
> > is
> > > using 6.1 however and I'm on 8.0 and his instructions didn't
> seem
> > to
> > > follow my version. So, I'm asking anyone with knowledge of how
> to
> > > setup a global alert/email to help me with detailed
> instructions.
> > > I've been fighting this for several days now and I'm stumped.
> > There
> > > is a little more to the story I'll be glad to tell to anyone
> > willing
> > > to help me.
> > One way to use the BAM is to send an email, or update a csv file
> > when a field changes. If you want to perform some action on a
> > receipt, you need to select a field that will change when you
> make a
> > receipt. If you only want one action per receipt, not one for
> each
> > line, you would have to use the RcvHead file. Pick some field to
> > use so that when this field is populated, the information you
> need
> > is already in the database. Otherwise, it may perform the action
> you
> > want before any useful information has been filled in. I would
> > recommend the packing slip number. So you would send an email
> when
> > the Packing Slip > "". In your code, you would get the PO number
> > and through the POHeader file, check the ApprovalStatus. If it is
> > <> "A", then you would send the email. In the email you can
> include
> > the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and
> he
> > was very kind to send me samples of his work. I can send you some
> > sample code if you want.
> > > Thanks,
> > > Mike
> > >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
You cannot utilize message boxes and the like within a BAM on Vantage 8,
as the progress code is executed by the app servers and not on the
client.



Regards,

Stephen

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mike Haynes
Sent: 08 January 2007 15:50
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BAM Help



I am trying to pop up a box at the time of receiving if the PO is
unapproved. We will sometimes issue a PO without knowing the cost
up front so the purchasing agent will leave it at zero. When the
items show up at the dock the receiving department will receive the
goods to the PO and that causes a problem in accounting. This is
what I'm trying to prevent. The code that another user sent me
looked exactly like what I want to do but I can't make it work. I
could really use some detailed help to do this thing if anyone would
be willing. So far, I have created a .p file with the code and
entered it onto the line for custom program on the BAM screen but it
doesn't work. Maybe I should be looking for another answer instead
of BAM.
Thanks,
Mike

> Mike, what exactly are the goals of the project and what have been
the
> results so far?
> Aaron Hoyt
> Vantage Plastics
>
> -----Original Message-----
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ]On
Behalf Of
> kfmonico
> Sent: Friday, January 05, 2007 12:38 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: BAM Help
>
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Mike Haynes" <mikeh@> wrote:
> >
> > I've been trying to set up a BAM global alert/email to occur
when
> our
> > receiving dept attempts to receive items on a PO that is
> unapproved.
> > I have no experience with BAM and from an earlier post I got
some
> help
> > from another user who sent me some code he uses on his system.
He
> is
> > using 6.1 however and I'm on 8.0 and his instructions didn't
seem
> to
> > follow my version. So, I'm asking anyone with knowledge of how
to
> > setup a global alert/email to help me with detailed
instructions.
> > I've been fighting this for several days now and I'm stumped.
> There
> > is a little more to the story I'll be glad to tell to anyone
> willing
> > to help me.
> One way to use the BAM is to send an email, or update a csv file
> when a field changes. If you want to perform some action on a
> receipt, you need to select a field that will change when you
make a
> receipt. If you only want one action per receipt, not one for
each
> line, you would have to use the RcvHead file. Pick some field to
> use so that when this field is populated, the information you
need
> is already in the database. Otherwise, it may perform the action
you
> want before any useful information has been filled in. I would
> recommend the packing slip number. So you would send an email
when
> the Packing Slip > "". In your code, you would get the PO number
> and through the POHeader file, check the ApprovalStatus. If it is
> <> "A", then you would send the email. In the email you can
include
> the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and
he
> was very kind to send me samples of his work. I can send you some
> sample code if you want.
> > Thanks,
> > Mike
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
We could use the same exact thing for the same exact purpose.



Mike,



I would be grateful if you could share any info you had on this.



Thanks,



Bruce Butler

IT Manager

Knappe & Koester, Inc.

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mike Haynes
Sent: Monday, January 08, 2007 10:50 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BAM Help



I am trying to pop up a box at the time of receiving if the PO is
unapproved. We will sometimes issue a PO without knowing the cost
up front so the purchasing agent will leave it at zero. When the
items show up at the dock the receiving department will receive the
goods to the PO and that causes a problem in accounting. This is
what I'm trying to prevent. The code that another user sent me
looked exactly like what I want to do but I can't make it work. I
could really use some detailed help to do this thing if anyone would
be willing. So far, I have created a .p file with the code and
entered it onto the line for custom program on the BAM screen but it
doesn't work. Maybe I should be looking for another answer instead
of BAM.
Thanks,
Mike

> Mike, what exactly are the goals of the project and what have been
the
> results so far?
> Aaron Hoyt
> Vantage Plastics
>
> -----Original Message-----
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ]On
Behalf Of
> kfmonico
> Sent: Friday, January 05, 2007 12:38 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: BAM Help
>
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Mike Haynes" <mikeh@> wrote:
> >
> > I've been trying to set up a BAM global alert/email to occur
when
> our
> > receiving dept attempts to receive items on a PO that is
> unapproved.
> > I have no experience with BAM and from an earlier post I got
some
> help
> > from another user who sent me some code he uses on his system.
He
> is
> > using 6.1 however and I'm on 8.0 and his instructions didn't
seem
> to
> > follow my version. So, I'm asking anyone with knowledge of how
to
> > setup a global alert/email to help me with detailed
instructions.
> > I've been fighting this for several days now and I'm stumped.
> There
> > is a little more to the story I'll be glad to tell to anyone
> willing
> > to help me.
> One way to use the BAM is to send an email, or update a csv file
> when a field changes. If you want to perform some action on a
> receipt, you need to select a field that will change when you
make a
> receipt. If you only want one action per receipt, not one for
each
> line, you would have to use the RcvHead file. Pick some field to
> use so that when this field is populated, the information you
need
> is already in the database. Otherwise, it may perform the action
you
> want before any useful information has been filled in. I would
> recommend the packing slip number. So you would send an email
when
> the Packing Slip > "". In your code, you would get the PO number
> and through the POHeader file, check the ApprovalStatus. If it is
> <> "A", then you would send the email. In the email you can
include
> the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and
he
> was very kind to send me samples of his work. I can send you some
> sample code if you want.
> > Thanks,
> > Mike
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
I didn't mean my last post to be rude...i just read it over and it
didn't say what i meant it to. I meant to say, "Do you want to just
write a customization?" My apologies.


> Can you not write a customization. Use the POHeader table to find the
> ApprovalStatus field. You could use wizards to create an event (ie.
> upon save) to show your popup box. Your code under the event would be
> something like:
>
> If ApprovalStatus <> "A" Then
> If ApprovalStatus = "R" Then
> otrans.Undo()
> Messagebox.Show("This PO has been rejected","Rejected PO")
> Else
> otrans.Undo()
> Messagebox.Show("This PO is not yet approved","Unapproved PO")
> End If
> End If
>
> If that's not what you are looking for, let me know, and i'll try to
> understand what you want.
>
> --- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@> wrote:
> >
> > I am trying to pop up a box at the time of receiving if the PO is
> > unapproved. We will sometimes issue a PO without knowing the cost
> > up front so the purchasing agent will leave it at zero. When the
> > items show up at the dock the receiving department will receive the
> > goods to the PO and that causes a problem in accounting. This is
> > what I'm trying to prevent. The code that another user sent me
> > looked exactly like what I want to do but I can't make it work. I
> > could really use some detailed help to do this thing if anyone would
> > be willing. So far, I have created a .p file with the code and
> > entered it onto the line for custom program on the BAM screen but it
> > doesn't work. Maybe I should be looking for another answer instead
> > of BAM.
> > Thanks,
> > Mike
> >
> > > Mike, what exactly are the goals of the project and what have been
> > the
> > > results so far?
> > > Aaron Hoyt
> > > Vantage Plastics
> > >
> > > -----Original Message-----
> > > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On
> > Behalf Of
> > > kfmonico
> > > Sent: Friday, January 05, 2007 12:38 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: BAM Help
> > >
> > >
> > > --- In vantage@yahoogroups.com, "Mike Haynes" <mikeh@> wrote:
> > > >
> > > > I've been trying to set up a BAM global alert/email to occur
> > when
> > > our
> > > > receiving dept attempts to receive items on a PO that is
> > > unapproved.
> > > > I have no experience with BAM and from an earlier post I got
> > some
> > > help
> > > > from another user who sent me some code he uses on his system.
> > He
> > > is
> > > > using 6.1 however and I'm on 8.0 and his instructions didn't
> > seem
> > > to
> > > > follow my version. So, I'm asking anyone with knowledge of how
> > to
> > > > setup a global alert/email to help me with detailed
> > instructions.
> > > > I've been fighting this for several days now and I'm stumped.
> > > There
> > > > is a little more to the story I'll be glad to tell to anyone
> > > willing
> > > > to help me.
> > > One way to use the BAM is to send an email, or update a csv file
> > > when a field changes. If you want to perform some action on a
> > > receipt, you need to select a field that will change when you
> > make a
> > > receipt. If you only want one action per receipt, not one for
> > each
> > > line, you would have to use the RcvHead file. Pick some field to
> > > use so that when this field is populated, the information you
> > need
> > > is already in the database. Otherwise, it may perform the action
> > you
> > > want before any useful information has been filled in. I would
> > > recommend the packing slip number. So you would send an email
> > when
> > > the Packing Slip > "". In your code, you would get the PO number
> > > and through the POHeader file, check the ApprovalStatus. If it is
> > > <> "A", then you would send the email. In the email you can
> > include
> > > the PO#, Vendor, etc. Aaron Hoyt is the guru on this stuff, and
> > he
> > > was very kind to send me samples of his work. I can send you some
> > > sample code if you want.
> > > > Thanks,
> > > > Mike
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>
I am trying to create my first BAM. I selected my table, and saved it.
Then when I try to select the field I want to monitor, I get "Field can
not be deleted because it has a related Rule." Where do I go to see
these related rules? We have no other BAMs created at this time. Any
Suggestions?





Matt Caldwell
Technical Support Analyst

KERUSSO
P.O. Box 32
Berryville, AR 72616
Phone: 800-424-0943 Ext. 231
Fax: 870-423-3568
Web Site: http://www.kerusso.com
******************************************************************
CONFIDENTIALITY STATEMENT:
This message, from Kerusso Inc., contains information
which is privileged and confidential and is solely for the use of
the intended recipient. If you are not the intended recipient, be
aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have
received this in error, please destroy it and notify us immediately
at: 800-424-0943
******************************************************************





[Non-text portions of this message have been removed]
Purely a guess: Possibly someone has done an app customization and created a Row Rule implicating the specific field you wish your BAM to delete.

Other possibility: A system level BAM (that you might not have visibility to - or at least might not be obviously accessible) is tied to the field... If I remember correctly Change Logs are BAM events in a different wrapper - so it could be a change log process.

Rob Brown

Matt Caldwell <matt@...> wrote:
I am trying to create my first BAM. I selected my table, and saved it.
Then when I try to select the field I want to monitor, I get "Field can
not be deleted because it has a related Rule." Where do I go to see
these related rules? We have no other BAMs created at this time. Any
Suggestions?

Matt Caldwell
Technical Support Analyst

KERUSSO
P.O. Box 32
Berryville, AR 72616
Phone: 800-424-0943 Ext. 231
Fax: 870-423-3568
Web Site: http://www.kerusso.com
******************************************************************
CONFIDENTIALITY STATEMENT:
This message, from Kerusso Inc., contains information
which is privileged and confidential and is solely for the use of
the intended recipient. If you are not the intended recipient, be
aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have
received this in error, please destroy it and notify us immediately
at: 800-424-0943
******************************************************************

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






---------------------------------
Never miss a thing. Make Yahoo your homepage.

[Non-text portions of this message have been removed]
I don't have much experience with BAM's and BAM reports.
I have one created and it fires sending the task to the System Monitor and then shows it in the History of tasks but nothing prints.

Any idea what's going wrong??