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

SD53248P.m

Go to the documentation of this file.
  1. SD53248P ;ALB-CIOFO/MRY - POST INSTALL SD*5.3*248 ; 28 Aug 01 09:00 AM
  1. ;;5.3;Scheduling;**248**;Aug 13 1993
  1. ;
  1. SEED ;Seed NPCD ENCOUNTER MONTH multiple (#404.9171) of the SCHEDULING
  1. ; PARAMETER file (#404.91) with workload close-out dates for FY2002
  1. ;
  1. ;Declare variables
  1. N XPDIDTOT,LINE,DATES,WLMONTH,DBCLOSE,WLCLOSE,TMP
  1. ;Print header
  1. D BMES^XPDUTL(">>> Storing close-out dates for Fiscal Years 2000, 2001 and 2002")
  1. S TMP=$$INSERT^SCDXUTL1("Workload","",7)
  1. S TMP=$$INSERT^SCDXUTL1("Database",TMP,27)
  1. S TMP=$$INSERT^SCDXUTL1("Workload",TMP,47)
  1. D BMES^XPDUTL(TMP)
  1. S TMP=$$INSERT^SCDXUTL1("Occured In","",6)
  1. S TMP=$$INSERT^SCDXUTL1("Close-Out",TMP,27)
  1. S TMP=$$INSERT^SCDXUTL1("Close-Out",TMP,47)
  1. D MES^XPDUTL(TMP)
  1. S TMP=$$INSERT^SCDXUTL1("------------","",5)
  1. S TMP=$$INSERT^SCDXUTL1("------------",TMP,25)
  1. S TMP=$$INSERT^SCDXUTL1("------------",TMP,45)
  1. D MES^XPDUTL(TMP)
  1. ;Loop through list of dates
  1. S XPDIDTOT=36
  1. F LINE=2:1:37 S TMP=$T(FY02+LINE),DATES=$P(TMP,";",3) Q:(DATES="") D
  1. .;Break out info
  1. .S WLMONTH=$P(DATES,"^",1)
  1. .S DBCLOSE=$P(DATES,"^",2)
  1. .S WLCLOSE=$P(DATES,"^",3)
  1. .;Print close-out info
  1. .S TMP=$$INSERT^SCDXUTL1($$FMTE^XLFDT(WLMONTH,"1D"),"",7)
  1. .S TMP=$$INSERT^SCDXUTL1($$FMTE^XLFDT(DBCLOSE,"1D"),TMP,25)
  1. .S TMP=$$INSERT^SCDXUTL1($$FMTE^XLFDT(WLCLOSE,"1D"),TMP,45)
  1. .D MES^XPDUTL(TMP)
  1. .;Store close-out info
  1. .S TMP=$$AECLOSE^SCDXFU04(WLMONTH,DBCLOSE,WLCLOSE)
  1. .;Write error message if datebase or workload dates not updated
  1. .I TMP<0 D MES^XPDUTL(" >>>>Could not update closeout dates for above month.")
  1. .;If KIDS install, show progress through status bar
  1. .D:($G(XPDNM)'="") UPDATE^XPDID(LINE-1)
  1. D BMES^XPDUTL("")
  1. Q
  1. ;
  1. FY02 ;Revised Close-out dates for fiscal year 2000, 2001 and new 2002 dates
  1. ; Month ^ Database Close-Out ^ Workload Close-Out
  1. ;;2991000^3020930^2991112
  1. ;;2991100^3020930^2991210
  1. ;;2991200^3020930^3000107
  1. ;;3000100^3020930^3000211
  1. ;;3000200^3020930^3000310
  1. ;;3000300^3020930^3000407
  1. ;;3000400^3020930^3000512
  1. ;;3000500^3020930^3000609
  1. ;;3000600^3020930^3000707
  1. ;;3000700^3020930^3000811
  1. ;;3000800^3020930^3000908
  1. ;;3000900^3020930^3001006
  1. ;;3001000^3030930^3001110
  1. ;;3001100^3030930^3001208
  1. ;;3001200^3030930^3010112
  1. ;;3010100^3030930^3010209
  1. ;;3010200^3030930^3010309
  1. ;;3010300^3030930^3010406
  1. ;;3010400^3030930^3010511
  1. ;;3010500^3030930^3010608
  1. ;;3010600^3030930^3010706
  1. ;;3010700^3030930^3010810
  1. ;;3010800^3030930^3010907
  1. ;;3010900^3030930^3011012
  1. ;;3011000^3040930^3011109
  1. ;;3011100^3040930^3011207
  1. ;;3011200^3040930^3020111
  1. ;;3020100^3040930^3020208
  1. ;;3020200^3040930^3020308
  1. ;;3020300^3040930^3020412
  1. ;;3020400^3040930^3020510
  1. ;;3020500^3040930^3020607
  1. ;;3020600^3040930^3020712
  1. ;;3020700^3040930^3020809
  1. ;;3020800^3040930^3020906
  1. ;;3020900^3040930^3021011
  1. ;
  1. Q