Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: APSAPOS

APSAPOS.m

Go to the documentation of this file.
APSAPOS ;IHS/DSD/ENM - NDC FLD 31 PARTIAL FOR ZNDC [ 01/12/2000  10:15 AM ]
 ;;6.1;IHS PHARMACY AWP;**6**;12/02/99
 S APSTEST=0
 S X="APSAWP2" X ^%ZOSF("TEST") I $T S APSTEST=1 D  ;CHECK IF RTN EXIST ON SYS
 .W !!!,?10,">>>>HOLD ON WHILE I RE-INDEX YOUR 'ZNDC' CROSS-REFERENCE<<<<",!!!
 .D ZNDC^APSAWP2
 .W !!!,?10,">>>>NOW, I WILL RE-RUN YOUR AVERAGE WHOLESALE PRICE UPDATE<<<<",!!!
 .D MANU^APSAWP2
 .W !!!,?10,"OK I'M DONE..............",!! H 2 W !,"NOTE: A MAIL MESSAGE WILL BE SENT TO ALL PHARMACY USERS WITH THE 'PSOMCORE' KEY",!,?6,"CONTAINING AWP UPDATE INFORMATION !!!!",!!
 .Q
EMT I APSTEST=0 D  ;IF AWP ROUTINES DON'T EXIST
 .W !!,*7,"YOUR SYSTEM IS NOT RUNNING THE AVERAGE WHOLESALE PRICE PACKAGE!!",!,"THEREFORE, NO UPDATING WILL OCCUR!!",!!
 .W !!,"I'M DONE...............",!
 .Q
 K APSTEST
 Q