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

PRCHAMBL.m

Go to the documentation of this file.
  1. PRCHAMBL ;WISC/SJG/AKS-BULLETIN FOR RETURNED PURCHASE ORDER AMENDMENT ;
  1. V ;;5.1;IFCAP;;Oct 20, 2000
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. BULLET(POIEN,AMIEN,AUTODATE) ;
  1. K ^UTILITY($J),MSG S DIWL=0,DIWR=79,DIWF=""
  1. S MSG(1,0)="Fiscal Service has taken no action on the following Purchase Order Amendment."
  1. S MSG(2,0)="The Amendment Status has been Pending Fiscal Action for 4 or more days.!!"
  1. S MSG(3,0)=" ",MSG(4,0)="Purchase Order information is as follows:"
  1. S MSG(5,0)=" ",MSG(6,0)="Purchase Order Number: "_$P(^PRC(443.6,POIEN,0),"^",1)
  1. S MSG(7,0)=" ",MSG(8,0)="Amendment Number: "_AMIEN
  1. S XMSUB="PURCHASE ORDER AMENDMENT NOTIFICATION"
  1. D MSG
  1. EXIT ;
  1. K DIWF,DIWL,DIWR,X,X1,XMDUZ,XMSUB,XMTEXT,XMY,AMIEN,AUTODATE,POIEN
  1. QUIT
  1. ;
  1. MSG ; Set Variables and Call XMD
  1. S XMDUZ=.5,X=$O(^PRC(443.6,POIEN,6,0))
  1. S X1=$P($G(^PRC(443.6,POIEN,6,X,1)),U) I X1]"" S XMY(+X1)=""
  1. S XMY("G.SUPPLY NOTIFICATION")=""
  1. S XMY("G.FISCAL NOTIFICATION")="",XMTEXT="MSG(" D ^XMD
  1. Q