Prohibiting shipments on non-production days

I love using Access to come up with solutions for Vantage but a BAM
could be a warning solution for this item. I added the following to my
existing BAM that checks for the need date greater than the ship date:



FOR EACH ProdCal no-lock:



if Lookup (string(OrderHed.RequestDate - Date("1/1/99")),
ProdCal.DaysOff, "~~") > 0 then DO:

Message "The Ship Date occurs on a Production Calendar
non-workday." View-as alert-box information buttons ok.

Leave.

END.

END.



Return "Cancel Send":U.



Butch

________________________________

From: Brian Stenglein [mailto:bstenglein@...]
Sent: Monday, November 15, 2004 10:58 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Prohibiting shipments on non-production days




I don't think you can prevent it, and I don't think you can use the
production calendar in a report or query.

What I did here was create a simple Access DB and list all the dates
that we consider holiday's in there. Then I created a sub-report in
the Sales Order Acknowledgement that shows a Warning when a ship date
matches the dates in the Holiday database.

Brian Stenglein
Clow Stamping Co.

--- In vantage@yahoogroups.com, "Tom Ford" <tford@m...> wrote:
> My production group wants to know if there is a way to prevent
shipments on sales order to be due on Holidays. The production
calendar prevents production from being scheduled on non-production
days. Is there a way in Vantage to prevent entry of shipment dates
on Holiday. Thanks for any help you can provide. We are on 6.0.
>
> Tom Ford
> Cost Accountant
> Mid-West Spring & Stamping
> Phone (800) 424-0244
> Fax (574) 353-7388
> Visit us at www.mwspring.com






[Non-text portions of this message have been removed]
My production group wants to know if there is a way to prevent shipments on sales order to be due on Holidays. The production calendar prevents production from being scheduled on non-production days. Is there a way in Vantage to prevent entry of shipment dates on Holiday. Thanks for any help you can provide. We are on 6.0.

Tom Ford
Cost Accountant
Mid-West Spring & Stamping
Phone (800) 424-0244
Fax (574) 353-7388
Visit us at www.mwspring.com
I don't know if you can prevent it, but you may be able to write a BAM
to display a warning message if the ship date entered is in the ProdCal
table.

Butch

________________________________

From: Tom Ford [mailto:tford@...]
Sent: Monday, November 15, 2004 6:57 AM
To: Vantage (E-mail)
Subject: [Vantage] Prohibiting shipments on non-production days


My production group wants to know if there is a way to prevent shipments
on sales order to be due on Holidays. The production calendar prevents
production from being scheduled on non-production days. Is there a way
in Vantage to prevent entry of shipment dates on Holiday. Thanks for
any help you can provide. We are on 6.0.

Tom Ford
Cost Accountant
Mid-West Spring & Stamping
Phone (800) 424-0244
Fax (574) 353-7388
Visit us at www.mwspring.com




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/links



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129igr5nr/M=298184.5584357.6650215.3001176/
D=groups/S=1705007183:HM/EXP=1100616921/A=2426683/R=0/SIG=11eeoolb0/*htt
p://www.netflix.com/Default?mqso=60185400>

<http://us.adserver.yahoo.com/l?M=298184.5584357.6650215.3001176/D=group
s/S=:HM/A=2426683/rand=726788172>

________________________________

Yahoo! Groups Links


* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]
I don't think you can prevent it, and I don't think you can use the
production calendar in a report or query.

What I did here was create a simple Access DB and list all the dates
that we consider holiday's in there. Then I created a sub-report in
the Sales Order Acknowledgement that shows a Warning when a ship date
matches the dates in the Holiday database.

Brian Stenglein
Clow Stamping Co.

--- In vantage@yahoogroups.com, "Tom Ford" <tford@m...> wrote:
> My production group wants to know if there is a way to prevent
shipments on sales order to be due on Holidays. The production
calendar prevents production from being scheduled on non-production
days. Is there a way in Vantage to prevent entry of shipment dates
on Holiday. Thanks for any help you can provide. We are on 6.0.
>
> Tom Ford
> Cost Accountant
> Mid-West Spring & Stamping
> Phone (800) 424-0244
> Fax (574) 353-7388
> Visit us at www.mwspring.com