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

EAS1106P.m

Go to the documentation of this file.
EAS1106P ;ALB/PWC - VFA PROJECT POST-INSTALL ; 9/5/12 5:55pm
 ;;1.0;ENROLLMENT APPLICATION SYSTEM;**106**;MAR 15,2001;Build 28
EN ; SET MENU OPTIONS OUT OF ORDER
 D OUT,DEL
 Q
OUT N OPTION,TEXT
 D BMES^XPDUTL("The following menu options for Means Test letters and reports have been placed out of order by this installation.")
 S OPTION="",TEXT="Disabled by the VFA project. Do not use."
 F OPTION="EAS MT AUTO LETTERS MENU","EAS MT LETTERS SEARCH","EAS MT RETURNED","EAS MT PRINT MENU","EAS MT 60 DAY LETTER PRINT","EAS MT 30 DAY LETTER PRINT" D PRINT
 F OPTION="EAS MT 0 DAY LETTER PRINT","EAS MT REPRINT LETTERS","EAS MT REPRINT SINGLE LETTER","EAS MT REPORT OF CONTACT","EAS MT UES OVERRIDE" D PRINT
 F OPTION="EAS MT REPORT MENU","EAS MT PENDING LETTERS","EAS MT SUMMARY REPORT","EAS MT STATISTICS SUMMARY","EAS MT UNRETURNED LETTERS","EAS MT APPT EXPIRATION RPT","EAS MT EXPIRATIONS" D PRINT
 F OPTION="EAS MT UE STATUS","EAS MT SETUP MENU","EAS MT PARAMETERS","EAS MT PROHIBIT EDIT","EAS MT LETTERS EDIT","EAS MT TEST LETTER","EAS MT CLEAR IN USE FLAG" D PRINT
 ; SET BACKGROUND JOBS OUT OF ORDER
 F OPTION="EAS MT LETTERS BG PRINT","EAS MT LETTERS BG SEARCH","EAS MT EXPIRATION BG PRINT" D PRINT
 Q
PRINT ; PRINT OUT OF ORDER MENU OPTIONS
 D OUT^XPDMENU(OPTION,TEXT)
 D BMES^XPDUTL("["_OPTION_"]")
 Q
DEL ; CHECK TO SEE IF EAS MT AUTO LETTERS MENU IS ON ANY SUBMENUS AND DELETE
 N OPIEN,ITEM,OPNM,ITEMNM
 S OPIEN=$O(^DIC(19,"B","EAS MT AUTO LETTERS MENU","")) Q:OPIEN=""
 S ITEM="" F  S ITEM=$O(^DIC(19,"AD",OPIEN,ITEM)) Q:ITEM=""  D
 . S OPNM=$$GET1^DIQ(19,OPIEN,.01),ITEMNM=$$GET1^DIQ(19,ITEM,.01)
 . D DELETE^XPDMENU(ITEMNM,OPNM)
 Q