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

PRCFAC32.m

Go to the documentation of this file.
  1. PRCFAC32 ;WISC/SJG-BULLETIN TO SUPPLY FOR FISCAL VENDOR ADD/EDIT ;7/24/00 23:21
  1. V ;;5.1;IFCAP;;Oct 20, 2000
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. BULLET(VEN) ;
  1. K ^UTILITY($J),MSG S DIWL=0,DIWR=79,DIWF=""
  1. S MSG(1,0)="The following Vendor has been added or edited by Fiscal Service."
  1. S MSG(2,0)=" "
  1. S MSG(3,0)=" ",MSG(4,0)="Vendor information is as follows:"
  1. S MSG(5,0)=" ",MSG(6,0)="Vendor Name: "_PRCTMP(440,VEN,.01,"E")
  1. S MSG(7,0)=" ",MSG(8,0)="Please update other information as necessary."
  1. S XMSUB="VENDOR ADD/EDIT BY FISCAL"
  1. D MSG,MSG1
  1. EXIT ;
  1. K DIWF,DIWL,DIWR,X,X1,XMDUZ,XMSUB,XMTEXT,XMY
  1. Q
  1. ;
  1. MSG ; Set Variables and Call XMD
  1. ; Sent to members of mail group SUPPLY NOTIFICATION
  1. S N=$O(^XMB(3.8,"B","SUPPLY NOTIFICATION","")) Q:N=""
  1. S M="" F S M=$O(^XMB(3.8,N,1,"B",M)) Q:M="" S XMY(+M)=""
  1. Q:'$O(XMY("")) S XMDUZ=DUZ,XMTEXT="MSG("
  1. W ! D WAIT^PRCFYN,^XMD
  1. Q
  1. MSG1 ; Message Processing
  1. W !!,"...Vendor payment information has been added or edited, bulletin has been transmitted..."
  1. W !!,"...Supply has been notified...",!!
  1. Q