BAM Procedure

Rich,



This is great. Thanks.



Regards,
Scott



-----Original Message-----
From: RICH WAGNER [mailto:rwagner@...]
Sent: Thursday, January 26, 2006 8:50 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BAM Procedure



Arron,

Here is the complete code, I used Mike's method and it worked. The pop
up message here is just text. You can also use this
STRING(Vendor.Character01)SKIP and it will display the value of the data
field.


Hope this answers you question.


{ud/GlbAlert.i &tablename = "OrderHed" }

IF OrderHed.Character02 = "" and (OrderHed.ShipViaCode = "UPST"

or OrderHed.ShipViaCode = "UP3T"

or OrderHed.ShipViaCode = "U2TP"

or OrderHed.ShipViaCode = "UPG"

or OrderHed.ShipViaCode = "UNST"

or OrderHed.ShipViaCode = "NDAT"

or OrderHed.ShipViaCode = "NDAM"

or OrderHed.ShipViaCode = "FXPT"

or OrderHed.ShipViaCode = "FNDA"

or OrderHed.ShipViaCode = "FDXT"

or OrderHed.ShipViaCode = "F2TP"

or OrderHed.ShipViaCode = "FDTP"

or OrderHed.ShipViaCode = "FEDT"

or OrderHed.ShipViaCode = "FDTT")

THEN DO:

MESSAGE STRING("") SKIP

STRING("PLEASE USE THE")SKIP

STRING("VB FORM TO INPUT")SKIP

STRING("THE CUSTOMER'S")SKIP

STRING("THIRD PARTY SHIPPING NUMBER")SKIP

VIEW-AS ALERT-BOX INFO

TITLE "VANTAGE ALERT".

END.

ELSE DO:

Return "Cancel Send":U.

END.


From: Aaron Hoyt [mailto:aaron.hoyt@...]
Sent: Thursday, January 26, 2006 8:37 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BAM Procedure

Rich,
I how exactly did you get the pop-up box? Can you use it to request
information? Do you need provision? I have had some difficulty getting
this function to work for me. Any assistance would be appreciated.

PS. an alternative to the Method Mike gave (either will work just fine)
is
to declare a variable and test against that keeping any items that need
changing over time to one area (where you declare you variables), for
instance...

DEFINE VARIABLE shipcode AS CHARACTER INITIAL "UPST,ABCD,WXYZ" NO-UNDO.

IF LOOKUP (OrderHed.ShipViaCode, shipcode) > 0 AND OrderHed.Character01
= ""
THEN DO:

Thanks,
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of RICH WAGNER
Sent: Wednesday, January 25, 2006 5:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Procedure

I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks

IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"

Rich Wagner
BAW Plastics
Phone: (412)384-3100
E-Mail: rwagner@...





[Non-text portions of this message have been removed]
I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks



IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"



Rich Wagner

BAW Plastics

Phone: (412)384-3100

E-Mail: rwagner@...





[Non-text portions of this message have been removed]
This should work:

IF OrderHed.Character01 = "" and (OrderHed.ShipViaCode = "UPST"
or OrderHed.ShipViaCode = "XXX"
or OrderHed.ShipViaCode = "YYY"
or OrderHed.ShipViaCode = "ETC") then do:

end.



-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of RICH WAGNER
Sent: Wednesday, January 25, 2006 4:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Procedure


I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks



IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"



Rich Wagner

BAW Plastics

Phone: (412)384-3100

E-Mail: rwagner@...
Rich,
I how exactly did you get the pop-up box? Can you use it to request
information? Do you need provision? I have had some difficulty getting
this function to work for me. Any assistance would be appreciated.

PS. an alternative to the Method Mike gave (either will work just fine) is
to declare a variable and test against that keeping any items that need
changing over time to one area (where you declare you variables), for
instance...

DEFINE VARIABLE shipcode AS CHARACTER INITIAL "UPST,ABCD,WXYZ" NO-UNDO.

IF LOOKUP (OrderHed.ShipViaCode, shipcode) > 0 AND OrderHed.Character01 = ""
THEN DO:

Thanks,
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of RICH WAGNER
Sent: Wednesday, January 25, 2006 5:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Procedure


I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks



IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"



Rich Wagner

BAW Plastics

Phone: (412)384-3100

E-Mail: rwagner@...





[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/links
Yahoo! Groups Links
Aaron,



OK, perhaps this is my turn to help you for a change! I'm not sure if
you're looking for general information on setting up pop-up messages or on
making them interactive (i.e. prompt for and accept input). If it is the
former, see below. If it is the latter, my turn must wait!



Here is the code that I use to remind job planners to schedule jobs...



/* This pop-up message is triggered when a job is released without a
scheduled finish date */

{ud/GlbAlert.i &TableName = "JobHead"}

IF JobHead.JobReleased = Yes AND JobHead.DueDate = ? THEN DO:

message "Job " + (JobHead.JobNum) + " does not have a scheduled finish date.
The job scheduling function should be run for this job." VIEW-AS ALERT-BOX
warning buttons ok.

END.

Return "Cancel Send":U.

Return.



HTH.



Regards,
Scott Lepley
Systems Administrator
Mauell Corporation
Phone: 717-432-8686, ext. 14
Fax: 717-432-8688
Email: sal@...
Vantage version: 6.10.532



-----Original Message-----
From: Aaron Hoyt [mailto:aaron.hoyt@...]
Sent: Thursday, January 26, 2006 8:37 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BAM Procedure



Rich,
I how exactly did you get the pop-up box? Can you use it to request
information? Do you need provision? I have had some difficulty getting
this function to work for me. Any assistance would be appreciated.

PS. an alternative to the Method Mike gave (either will work just fine) is
to declare a variable and test against that keeping any items that need
changing over time to one area (where you declare you variables), for
instance...

DEFINE VARIABLE shipcode AS CHARACTER INITIAL "UPST,ABCD,WXYZ" NO-UNDO.

IF LOOKUP (OrderHed.ShipViaCode, shipcode) > 0 AND OrderHed.Character01 = ""
THEN DO:

Thanks,
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of RICH WAGNER
Sent: Wednesday, January 25, 2006 5:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Procedure

I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks

IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"

Rich Wagner
BAW Plastics
Phone: (412)384-3100
E-Mail: rwagner@...





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



Here is the complete code, I used Mike's method and it worked. The pop
up message here is just text. You can also use this
STRING(Vendor.Character01)SKIP and it will display the value of the data
field.



Hope this answers you question.



{ud/GlbAlert.i &tablename = "OrderHed" }





IF OrderHed.Character02 = "" and (OrderHed.ShipViaCode = "UPST"

or OrderHed.ShipViaCode = "UP3T"

or OrderHed.ShipViaCode = "U2TP"

or OrderHed.ShipViaCode = "UPG"

or OrderHed.ShipViaCode = "UNST"

or OrderHed.ShipViaCode = "NDAT"

or OrderHed.ShipViaCode = "NDAM"

or OrderHed.ShipViaCode = "FXPT"

or OrderHed.ShipViaCode = "FNDA"

or OrderHed.ShipViaCode = "FDXT"

or OrderHed.ShipViaCode = "F2TP"

or OrderHed.ShipViaCode = "FDTP"

or OrderHed.ShipViaCode = "FEDT"

or OrderHed.ShipViaCode = "FDTT")


THEN DO:







MESSAGE STRING("") SKIP

STRING("PLEASE USE THE")SKIP

STRING("VB FORM TO INPUT")SKIP

STRING("THE CUSTOMER'S")SKIP

STRING("THIRD PARTY SHIPPING NUMBER")SKIP

VIEW-AS ALERT-BOX INFO

TITLE "VANTAGE ALERT".



END.



ELSE DO:



Return "Cancel Send":U.



END.



_____

From: Aaron Hoyt [mailto:aaron.hoyt@...]
Sent: Thursday, January 26, 2006 8:37 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BAM Procedure



Rich,
I how exactly did you get the pop-up box? Can you use it to request
information? Do you need provision? I have had some difficulty getting
this function to work for me. Any assistance would be appreciated.

PS. an alternative to the Method Mike gave (either will work just fine)
is
to declare a variable and test against that keeping any items that need
changing over time to one area (where you declare you variables), for
instance...

DEFINE VARIABLE shipcode AS CHARACTER INITIAL "UPST,ABCD,WXYZ" NO-UNDO.

IF LOOKUP (OrderHed.ShipViaCode, shipcode) > 0 AND OrderHed.Character01
= ""
THEN DO:

Thanks,
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of RICH WAGNER
Sent: Wednesday, January 25, 2006 5:12 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM Procedure


I am trying to write an alert that will pop up a box when we enter a
sales order with a ShipVia that requires a third party shipper number
and the character01 field is blank. I have it working with one of our
ShipVia using the statement below, but would like to add other
ShipViacodes and do not know the correct syntax in progress. Can anyone
help, Thanks



IF OrderHed.Character01 = "" and OrderHed.ShipViaCode = "UPST"



Rich Wagner

BAW Plastics

Phone: (412)384-3100

E-Mail: rwagner@...





[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/.
<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 Links









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




SPONSORED LINKS

Manufacturing software
<http://groups.yahoo.com/gads?t=ms&k=Manufacturing+software&w1=Manufactu
ring+software&w2=Membership+database+software&w3=Database+mortgage+softw
are&w4=Pda+database+software&w5=Database+management+software&w6=Database
+marketing+software&c=6&s=188&.sig=OG5F3819UOUOg63i0bu6kA>

Membership database software
<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=N5BGdur84p-jyuOomcQdbQ>

Database mortgage software
<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Manuf
acturing+software&w2=Membership+database+software&w3=Database+mortgage+s
oftware&w4=Pda+database+software&w5=Database+management+software&w6=Data
base+marketing+software&c=6&s=188&.sig=8rvcSQnCqJhTCZu-0Si39A>

Pda database software
<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Manufactur
ing+software&w2=Membership+database+software&w3=Database+mortgage+softwa
re&w4=Pda+database+software&w5=Database+management+software&w6=Database+
marketing+software&c=6&s=188&.sig=u3KQrTRPAQfsWIT39aHDkg>

Database management software
<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=R3CF3ODPY4gwjDZjykQYvw>

Database marketing software
<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Manu
facturing+software&w2=Membership+database+software&w3=Database+mortgage+
software&w4=Pda+database+software&w5=Database+management+software&w6=Dat
abase+marketing+software&c=6&s=188&.sig=lmBkRUiBtvHI1u5dkymDcw>



_____

YAHOO! GROUPS LINKS



* Visit your group "vantage
<http://groups.yahoo.com/group/vantage> " on the web.

* 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]