Alert with the new record informations in the txt message (new

Thank you very very much Rob and Steven for your answers.
I've tried the ud/GlbAlert. i as you explained, by creating the .p file and it worked. I received my email with all the new record informations. I was trying to find a solution since one day and a half. Thank you so much!!!



--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> The first thing you have to do is create a .p file using any ascii editor, even notepad will work. This .p program would go into your server directory of epicor\mfgsys803\server\filename.p (assuming you have a default directory structure). On your BAM under actions you would check "Send Alert" and fill out the various fields along with putting in filename.p in the Alert Program field (substitute your file name for filename.p). The .p file will look something like this: (this is only an untested example):
>
> {ud/GlbAlert.i &TableName = "JobHead"}
> Assign Email-Text = "Job Number: " + string(JobHead.JobNum)
> + "~nPart Number: " + string(JobHead.PartNum)
> + "~nRevision: " + string(JobHead.Revision).
>
> Don't forget the period at the end.
>
> Of course it can get a lot more complicated then this, but this gives you a general idea on how to get started.
>
>
> ________________________________
> From: fnaslis <mirtech2009@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, March 31, 2009 4:44:32 PM
> Subject: [Vantage] Re: alert with the new record informations in the txt message (new vantage user)
>
>
> Thank you for your answer.
> Excuse me may be my question is too basic but
> If I use the 'ud/GlbAlert. i' file during the alert,
> witch function do i need to modify if my table is Jobhead
> and I need to display the fields JobHead.JobNum, JobHead.PartNum, JobHead.Revision Num
>
> Thanks.
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > I've never gotten the mfgsys file attachment to work, but I haven't tried that hard either. From what I understand, if it has been set up and configured right then you should be able to double click on it and Vantage will open and take you to the record in question.
> >
> > What I do instead is attach a Progess file to the BAM to insert data into the body of the email. Of course you need to have some understanding of Progress programming to do this, but with a little effort it can do quite a lot. I use it to send email notification for PO receipts and advance shipping notifications.
> >
> > If you are interested in following this route, a good place to start is the help file. Search for ud/GlbAlert. i
> >
> >
> >
> >
> > ____________ _________ _________ __
> > From: fnaslis <mirtech2009@ ...>
> > To: vantage@yahoogroups .com
> > Sent: Tuesday, March 31, 2009 3:51:40 PM
> > Subject: [Vantage] alert with the new record informations in the txt message (new vantage user)
> >
> >
> > Hi,
> > I'm new in vantage,
> > I've created an alert with the BAM tool to receive an email each time that I have a new record in the 'JobHead' table.
> > I can receive the email but I have no information on the new record..
> > I need to insert in the alert message the informations of the record that causes the alert, for example the job number, the part number,...related to the new record .I don't know how to use the .mfgsys file to have informations of the new record.
> >
> > thanks.
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Hi,
I'm new in vantage,
I've created an alert with the BAM tool to receive an email each time that I have a new record in the 'JobHead' table.
I can receive the email but I have no information on the new record.
I need to insert in the alert message the informations of the record that causes the alert, for example the job number, the part number,...related to the new record .I don't know how to use the .mfgsys file to have informations of the new record.

thanks.
From what I know bams have a limited ability to get information into the
emails (aside what comes from the log file if you append). If you want
to really target specific fields etc, try a BPM instead.



Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of fnaslis
Sent: Tuesday, March 31, 2009 2:52 PM
To: vantage@yahoogroups.com
Subject: [Vantage] alert with the new record informations in the txt
message (new vantage user)



Hi,
I'm new in vantage,
I've created an alert with the BAM tool to receive an email each time
that I have a new record in the 'JobHead' table.
I can receive the email but I have no information on the new record.
I need to insert in the alert message the informations of the record
that causes the alert, for example the job number, the part
number,...related to the new record .I don't know how to use the .mfgsys
file to have informations of the new record.

thanks.





[Non-text portions of this message have been removed]
I've never gotten the mfgsys file attachment to work, but I haven't tried that hard either. From what I understand, if it has been set up and configured right then you should be able to double click on it and Vantage will open and take you to the record in question.

What I do instead is attach a Progess file to the BAM to insert data into the body of the email. Of course you need to have some understanding of Progress programming to do this, but with a little effort it can do quite a lot. I use it to send email notification for PO receipts and advance shipping notifications.

If you are interested in following this route, a good place to start is the help file. Search for ud/GlbAlert.i




________________________________
From: fnaslis <mirtech2009@...>
To: vantage@yahoogroups.com
Sent: Tuesday, March 31, 2009 3:51:40 PM
Subject: [Vantage] alert with the new record informations in the txt message (new vantage user)


Hi,
I'm new in vantage,
I've created an alert with the BAM tool to receive an email each time that I have a new record in the 'JobHead' table.
I can receive the email but I have no information on the new record..
I need to insert in the alert message the informations of the record that causes the alert, for example the job number, the part number,...related to the new record .I don't know how to use the .mfgsys file to have informations of the new record.

thanks.







[Non-text portions of this message have been removed]
Thank you for your answer.
Excuse me may be my question is too basic but
If I use the 'ud/GlbAlert.i' file during the alert,
witch function do i need to modify if my table is Jobhead
and I need to display the fields JobHead.JobNum,JobHead.PartNum,JobHead.RevisionNum

Thanks.



--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> I've never gotten the mfgsys file attachment to work, but I haven't tried that hard either. From what I understand, if it has been set up and configured right then you should be able to double click on it and Vantage will open and take you to the record in question.
>
> What I do instead is attach a Progess file to the BAM to insert data into the body of the email. Of course you need to have some understanding of Progress programming to do this, but with a little effort it can do quite a lot. I use it to send email notification for PO receipts and advance shipping notifications.
>
> If you are interested in following this route, a good place to start is the help file. Search for ud/GlbAlert.i
>
>
>
>
> ________________________________
> From: fnaslis <mirtech2009@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, March 31, 2009 3:51:40 PM
> Subject: [Vantage] alert with the new record informations in the txt message (new vantage user)
>
>
> Hi,
> I'm new in vantage,
> I've created an alert with the BAM tool to receive an email each time that I have a new record in the 'JobHead' table.
> I can receive the email but I have no information on the new record..
> I need to insert in the alert message the informations of the record that causes the alert, for example the job number, the part number,...related to the new record .I don't know how to use the .mfgsys file to have informations of the new record.
>
> thanks.
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
The first thing you have to do is create a .p file using any ascii editor, even notepad will work. This .p program would go into your server directory of epicor\mfgsys803\server\filename.p (assuming you have a default directory structure). On your BAM under actions you would check "Send Alert" and fill out the various fields along with putting in filename.p in the Alert Program field (substitute your file name for filename.p). The .p file will look something like this: (this is only an untested example):

{ud/GlbAlert.i &TableName = "JobHead"}
Assign Email-Text = "Job Number: " + string(JobHead.JobNum)
+ "~nPart Number: " + string(JobHead.PartNum)
+ "~nRevision: " + string(JobHead.Revision).

Don't forget the period at the end.

Of course it can get a lot more complicated then this, but this gives you a general idea on how to get started.


________________________________
From: fnaslis <mirtech2009@...>
To: vantage@yahoogroups.com
Sent: Tuesday, March 31, 2009 4:44:32 PM
Subject: [Vantage] Re: alert with the new record informations in the txt message (new vantage user)


Thank you for your answer.
Excuse me may be my question is too basic but
If I use the 'ud/GlbAlert. i' file during the alert,
witch function do i need to modify if my table is Jobhead
and I need to display the fields JobHead.JobNum, JobHead.PartNum, JobHead.Revision Num

Thanks.

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
>
> I've never gotten the mfgsys file attachment to work, but I haven't tried that hard either. From what I understand, if it has been set up and configured right then you should be able to double click on it and Vantage will open and take you to the record in question.
>
> What I do instead is attach a Progess file to the BAM to insert data into the body of the email. Of course you need to have some understanding of Progress programming to do this, but with a little effort it can do quite a lot. I use it to send email notification for PO receipts and advance shipping notifications.
>
> If you are interested in following this route, a good place to start is the help file. Search for ud/GlbAlert. i
>
>
>
>
> ____________ _________ _________ __
> From: fnaslis <mirtech2009@ ...>
> To: vantage@yahoogroups .com
> Sent: Tuesday, March 31, 2009 3:51:40 PM
> Subject: [Vantage] alert with the new record informations in the txt message (new vantage user)
>
>
> Hi,
> I'm new in vantage,
> I've created an alert with the BAM tool to receive an email each time that I have a new record in the 'JobHead' table.
> I can receive the email but I have no information on the new record..
> I need to insert in the alert message the informations of the record that causes the alert, for example the job number, the part number,...related to the new record .I don't know how to use the .mfgsys file to have informations of the new record.
>
> thanks.
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>







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