We have a customer that requires that we notify them 24 hours ahead of time regarding any price changes (even reductions). Whenever a price change occurs to one of the items in their authorization list (another story), I use a trigger to (a) log the change for an end-of-day report, (b) suspend the item from the list, and (c) send a break message to the person responsible for the account. As James said, it can be irritating if there are a lot, but in this case it was determined that the reason justified the pain (of course, the person making that judgment was *not* the person who received the break messages).
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Salter, James
Sent: Friday, May 16, 2008 8:15 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Trigger Question
Yes you can use triggers to notify you on file additions, if you wish.
If you receive a lot of additions to the file, this will probably
overwhelm you.
You will get notified for each and every record added to the log file.
Another method would be to change the EDI programs to notify you as they
are writing to the log files.
If several records are written to the log files at once, you probably
could group them and send them as a single notification instead of
several.
Thanks.
James Salter
Systems Programmer
American Cast Iron Pipe Co
Email: jsalter@xxxxxxxxxx
from: Adam West <adamster@xxxxxxxxx>
subject: Trigger question
HI I am new to Triggers. I have some programs that maintain very
sensitive EDI data. I have on these programs log files that record
what
was done ( we don't do Journaling here). I am interested to receive a
notification, whenever these logfiles have new records addede.
Is this something that Triggers do?
Thanks,
Adam
_________Confidentiality Notice_______________________
This e-mail and any files transmitted with it is
confidential and is intended solely for the use of
the individual(s) or entity(ies) to whom this e-mail
is addressed. If you are not the intended recipient
or the person responsible for delivering the e-mail
to the intended recipient, be advised that you have
received this e-mail in error, and that any use,
disclosure, dissemination, forwarding, printing,
retention or copying of this e-mail is strictly
prohibited. If you have received this e-mail in
error, please immediately return this e-mail to
the sender and delete the e-mail from your system.
Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.