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.
  1. APSAPOS ;IHS/DSD/ENM - NDC FLD 31 PARTIAL FOR ZNDC [ 01/12/2000 10:15 AM ]
  1. ;;6.1;IHS PHARMACY AWP;**6**;12/02/99
  1. S APSTEST=0
  1. S X="APSAWP2" X ^%ZOSF("TEST") I $T S APSTEST=1 D ;CHECK IF RTN EXIST ON SYS
  1. .W !!!,?10,">>>>HOLD ON WHILE I RE-INDEX YOUR 'ZNDC' CROSS-REFERENCE<<<<",!!!
  1. .D ZNDC^APSAWP2
  1. .W !!!,?10,">>>>NOW, I WILL RE-RUN YOUR AVERAGE WHOLESALE PRICE UPDATE<<<<",!!!
  1. .D MANU^APSAWP2
  1. .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 !!!!",!!
  1. .Q
  1. EMT I APSTEST=0 D ;IF AWP ROUTINES DON'T EXIST
  1. .W !!,*7,"YOUR SYSTEM IS NOT RUNNING THE AVERAGE WHOLESALE PRICE PACKAGE!!",!,"THEREFORE, NO UPDATING WILL OCCUR!!",!!
  1. .W !!,"I'M DONE...............",!
  1. .Q
  1. K APSTEST
  1. Q